Display simple text shortcut / descriptor bubble when user clicks on OverlayItem in MapView

I would like to further annotate the custom markers that I placed on the MapView (using ItemizedOverlay) by displaying a simple text label that appears for a specific element when the onTap event fires.

This is a trivial exercise in the Google Maps JavaScript API and MapKit on the iPhone, but it’s not clear to me what the best or easiest way to do this on Android.

+5
source share
1 answer

If you want the message to be temporary, use Toast. See here for an example.

, , :

  • MapView , z (, RelativeLayout)
  • MapView, " /", android:visibility="gone"
  • , , , , .
  • -, , GONE
  • №3 №4
+4

All Articles