Android Google Maps Custom Marker From Path -
i trying add custom marker map in android. trying add custom marker path using frompath(string mybus). map crashes after build it. ideas problem is?
public void onmapready(googlemap googlemap) { mmap = googlemap; string mybus = "https://maps.google.com/mapfiles/kml/shapes/parking_lot_maps.png"; mmap.setmaptype(googlemap.map_type_hybrid); // add marker in sydney , move camera 93 latlng sydney = new latlng(41, -90); mmap.addmarker(new markeroptions().position(sydney).title("marker in sydney").icon(bitmapdescriptorfactory.frompath(mybus)));
Comments
Post a Comment