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 - get the current zoom level

get the current zoom level

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

get the current zoom level

Postby pedroteixeira07 » Wed Jun 23, 2010 4:54 pm

Hi,

I'm trying to show some map overlays depending on the zoom level in the current situation.
But I can't find any documentation to get the Zoom Level..
Just that it goes from 1 to 21 and can be set with setZoom.. but I can't find nothing about getting the current Zoom state... Any help?
pedroteixeira07
Experienced Developer
Experienced Developer
 
Posts: 74
Joined: Sun Oct 18, 2009 6:06 pm
Location: Funchal

Top

Re: get the current zoom level

Postby bikeroute » Sat Jun 26, 2010 3:06 pm

Perhaps you've already solved this one, but the MapView class provides a getZoomLevel() method which returns the current zoom level -
http://code.google.com/android/add-ons/ ... ZoomLevel()
User avatar
bikeroute
Freshman
Freshman
 
Posts: 4
Joined: Sat Jun 26, 2010 2:51 pm
Location: UK

Re: get the current zoom level

Postby pedroteixeira07 » Sat Jun 26, 2010 3:14 pm

Hi, thank you . I had found it evenually. I was just searching on the wrong place from the zoom.
Was trying to get it from the MAp Controller.

Thanks Anyway ;)
pedroteixeira07
Experienced Developer
Experienced Developer
 
Posts: 74
Joined: Sun Oct 18, 2009 6:06 pm
Location: Funchal

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 6 guests