I need to create some custom polygon overlays on my map and by custom I mean I need to add more information to the overlay so that when it gets clicked I can show a dialog or something with information about the overlay.
I have done a little reading and it looks like the Overlay
and ItemizedOverlay
classes were removed from the API v2 in the form of Polygons
,Polylines
etc...
In order to create a custom overlay it looks like I have to create a View
on top of the map and just draw on the view but some of my polygons might not be visible for the current map projection
Is there anyway to assign an id to the polygon class or something so that I know what was clicked so I can get the information?