I am trying to change marker icon. I get the image from one server directory.
When I put break point every time the \"bit\" result is null. And when I run t
null
Try this,
BitmapDescriptor icon = BitmapDescriptorFactory.fromResource(R.drawable.location); LatLng bangalore = new LatLng(12.9716, 77.5946); MarkerOptions markerOptions = new MarkerOptions().position(bangalore) .title("Current Location") .snippet("hello").icon(icon); mMap.addMarker(markerOptions);