In the olden days (API v1) I used to add views to maps, and tag the views with their ids (from my database). Then I could find them on the map via their tag.
Now in the v2 API there seems no way to add views. The closest I can see is to use groundoverlays. The documentation says they have an ID that I can fetch via getId(). But I can't find anywhere how to SET the id. The same applies to markers too. The reason for tagging markers/overlays is to be able to avoid adding them again if they are already on the map, and to have the option to remove them again later. I cannot keep individual assignments as I have thousands of markers that could be placed on the maps (I do database queries depending on the camera position and span etc) So how can I set the id of a marker or ground overlay when adding them to the map? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

