I'm going to put flag on my image like google map in android app. when user Click on the flags display comment that points. and When the image is zoomed the location of flags does not change But did not know how to do it, Please guide me in this regard.
thanks
Posts
Sounds like what you want is an
ItemizedOverlay
for your Maps control.This can then be used in your MapActivity to add elements to the map like so:
Given that your icons for the overlay items are saved as
Drawable
s in your app.To add an action when one of the items are tapped override
OnTap
in theItemizedOverlay