I want to show marker name without clicking on the marker.
How can i do that one?
mMap.addMarker(new MarkerOptions().position(name1).title("bangalore"));
you can use showInfoWindow() after creating marker. official document
static final LatLng MELBOURNE = new LatLng(-37.81319, 144.96298);
Marker melbourne = mMap.addMarker(new MarkerOptions()
.position(MELBOURNE)
.title("Melbourne"));
melbourne.showInfoWindow();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With