Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Touchable labels for google maps

Touchable labels for google maps

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

Touchable labels for google maps

Postby Lurv » Wed Jun 02, 2010 12:46 pm

I have populated the map with some icons from GeoPoints but now I'd like to make a popup apear right above them when the user touches the icon, and when he/she clicks on the popup I'd like to switch to another activity.

Can this be done?
Lurv
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Jun 02, 2010 12:41 pm

Top

Re: Touchable labels for google maps

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

HI,

The answer is yes.

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 perform any task(use of dialog, toast,anyother) inside the onTap as per your requirement.

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 4 guests