Hi,
my app is supposed to display about 7000 items on a mapview (distributed
over a whole country), but I have serious performance issues with this.
Currently I only display the items that are in an 15km radius of the center
of the map (user has to press a button for this) and everything works fine.
I would prefer to show all items at start, though. That is possible, but
moving the map around becomes very slow (guess I need that new LG phone
after all :-).
I extend ItemizedOverlay and the problem seems to be in
public void draw(Canvas canvas, MapView mapView, boolean shadow) {
if (canvas != null && mapView != null) {
super.draw(canvas, mapView, false);
}
}
if I comment out the call to super, the moving of the map is smooth (but of
course nothing is displayed).
Any hints?
Thanks,
Stephan
--
Interessiert an Android?
http://android-schweiz.blogspot.com/
Whant to learn German?
http://german-podcast.blogspot.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en