Level of Detail - Map Rendering for Smartphone Application

Hello together,

i am developing an App (Android) and using OSM as Map Service. My application is drawing several overlays on the map and i am looking for optimization algorithms for the overlays.

Has anyone any experience with a similar problem, to “redraw” the overlays, based on the zoomlevel of the map.

Many thanks and kind regards


Has really noone any experience with caching? Overlays redrawing? Or is my question not specific enough?

Tell us first how your app is displaying the base map.

Is it vector graphic or pre-rendered tiles as bitmap files? Please tell us in detail.

And do you know “Osmand” as android app? There you can enable many different overlays, and it is an opensource app.

What method are you using to do that? As a native Android app (presumably using some Java libraries) or something in JS, or something else?

What does that actually mean? Are you calling an OSM API to obtain data, and if so which one?

It sounds like you’re “rolling your own” map display on an Android Canvas? It might be easier to take a step back and look at one of the existing frameworks - https://wiki.openstreetmap.org/wiki/Android#Libraries_for_developers should be a start (but that page might be a bit out of date - see also https://gis.stackexchange.com/questions/tagged/openstreetmap+android ).