refresh google map in android -


i created simple android application in used google maps.

now in map activity created option menu , in when 1 particular item selected opened activity.

now problem activity containing 1 list view , when particular list item selected again starting map activity using intent.

now according item selected changes must me reflected, mean want clear particular googel map , again load it.

should use recreate method refresh or there other option available?

you have clear() method can use:

from docs:

removes markers, polylines, polygons, overlays, etc map.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -