android - How to disable marker click event? -
I am developing a simple app, where I already have In this way I have tried. How do I display that instantly () / title of my marker in my application? You can set markers in the GoogleMap object on List-Listener mrkr.showInfoWindow () but I do not want the user to tap that marker again. How can the specific marker's event be disabled by clicking?
marker marker = gMap.addMarker (new marker option). Position (newlatlag (location .getLatitude), location.getLongitude ()). Title ("I am here"). Icon (BitmapDiscriptor Factor From Resource (R.drawable.mrk1)); marker.showInfoWindow (); // How to use marker.set click here or something here
map.setOnMarkerClickListener (New OnMarkerClickListener) {@Override Public boolean onMarkerClick} {true};}};
Comments
Post a Comment