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

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 - Map Application not Reseting

Map Application not Reseting

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

Map Application not Reseting

Postby duo » Fri Apr 18, 2008 2:56 am

This is probably the specified behavior of a MapView, but if I launch an activity with a MapView then return to it later (meaning finish has been called and a new MapView is created in a new Activity), the MapView has the settings of the previous activity that finish was already called on (zoom, location).


Is this the expected behavior of a MapView? Is there some way to make it reset? Or do I need to just set the zoom, location to make it look like a brand new MapView (zoomed out view roughly centered on the United States)?

Thanks
duo
Freshman
Freshman
 
Posts: 2
Joined: Tue Apr 15, 2008 4:24 pm

Top

Postby Bruce.lntu » Fri Apr 18, 2008 6:51 am

Hi duo,
see http://www.anddev.org/basic_map-application-t24.htmlpls

this is a tutorial of map application

Regards
Bruce
User avatar
Bruce.lntu
Developer
Developer
 
Posts: 37
Joined: Thu Jan 03, 2008 11:36 am

Re: Map Application not Reseting

Postby plusminus » Fri May 23, 2008 9:48 am

duo wrote:This is probably the specified behavior of a MapView, but if I launch an activity with a MapView then return to it later (meaning finish has been called and a new MapView is created in a new Activity), the MapView has the settings of the previous activity that finish was already called on (zoom, location).


Is this the expected behavior of a MapView? Is there some way to make it reset? Or do I need to just set the zoom, location to make it look like a brand new MapView (zoomed out view roughly centered on the United States)?

Thanks


Hi duo,

yes with me Zoom and Center also sometimes remain even if finish() is called.
Imo the expected behaviour is a completely clean MapView, but sometimes this "bug" can even tiny bit be helpful. ;)

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 4 guests