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

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 - overlay problems

overlay problems

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

overlay problems

Postby musicwithme » Sun Sep 05, 2010 4:46 am

i have multiple overlays now. how can i remove the "A" balloon and the rute to A?

i tried

Code: Select all
List<Overlay> mapOverlays = Mapview.getOverlays();

mapOverlays.clear();


but,it remove all the overlay on map.

anyone have a good ideal?
Image
Image
musicwithme
Freshman
Freshman
 
Posts: 3
Joined: Sun Sep 05, 2010 3:42 am

Top

Re: overlay problems

Postby kyosen » Tue Sep 21, 2010 9:41 pm

Usually you have a List<OverlayItem> object so you can remove the especific overlay of your balloon and call map.invalidate() if you want to force the draw method to refresh your map. I don't know if the route will be automatically refresh.

List<OverlayItem> items = new ArrayList<OverlayItem>();
...
items.remove(yourOverlayItem);
...
mapView.invalidate();

This an idea. If you post some piece of your code we could help you a little more.
kyosen
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Apr 22, 2010 9:02 am

Re: overlay problems

Postby musicwithme » Mon Oct 04, 2010 4:10 pm

thanks a lot. the problem have been solved.
musicwithme
Freshman
Freshman
 
Posts: 3
Joined: Sun Sep 05, 2010 3:42 am

Re: overlay problems

Postby ozmank » Wed May 04, 2011 7:50 am

And thannks for not sharing the solution
ozmank
Freshman
Freshman
 
Posts: 3
Joined: Tue Nov 30, 2010 8:21 am

Top

Return to Map Problems

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 5 guests