I created simple android application in which i used google maps.
Now in this Map Activity i created option menu and in this when one particular item is selected i opened another activity.
Now the problem is that activity is containing only one list view and when any particular list item is selected i am again starting the Map activity using intent.
Now according to the item selected the changes must me reflected, i mean to say i want to clear the particular googel map and again load it.
Should i use recreate method to refresh it or there is any other option available?
You have a clear()
method you can use:
From the Docs:
Removes all markers, polylines, polygons, overlays, etc from the map.