ItemizedOverlay or OverlayItem with Buttons

Tutorials that use the MapActivity. Many using GPS functionality.

ItemizedOverlay or OverlayItem with Buttons

Postby Manifaust » Wed Sep 02, 2009 3:47 am

I posted a similar question on the Android mailing list but couldn't get the right answer. Hopefully, someone here can point me to the right direction.

In Google Maps, when you complete a search and go to map mode browsing, you see two types of overlay objects. The overlay I'm interested in contains a title, description, and left and right arrow buttons. The buttons have different states (normal, disabled, pressed down) so the overlay must be more complex than the default one. When the user scrolls around the map, the next and previous buttons are anchored to a specific OverlayItem. Can anyone suggest how I can implement this functionality? The only point of entry I can see from searching for examples is draw() in ItemizedOverlay, but is that a point where I can add buttons?
Manifaust
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Sep 02, 2009 3:25 am

Top

Return to Map Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests