Overlay Button

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Overlay Button

Postby pedroteixeira07 » Tue Jun 15, 2010 12:32 pm

Hi, I wonder if it's possible to make the map overlays touchable?

For example to touch a small icon and some pop up menu appearing.

Does anyone have any code on that? Or can redirect me to something relating this topic? I've search but couldn't found much on it. I'm not sure if you can overlay an item on the map on a certain latitude/longitude that has the funcionalities of a button.

Please give me some input on this.

Regards
pedroteixeira07
Experienced Developer
Experienced Developer
 
Posts: 74
Joined: Sun Oct 18, 2009 6:06 pm
Location: Funchal

Top

Re: Overlay Button

Postby JKumar » Wed Jun 16, 2010 5:46 am

HI,

You need to use ItemizedOverlay with OverlayItems which has a method onTap that returns the information of marker put at the time of creation.

You can find a lot of example in this forum and also the developer site has explained the use of ItemizedOverlay
Hope the suggestion helps you
Keep posting .It makes us better to understand Android
User avatar
JKumar
Experienced Developer
Experienced Developer
 
Posts: 52
Joined: Thu May 13, 2010 8:17 am
Location: INDIA

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 2 guests