OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-01-11 12:08:37

WorldWide2018
Member
Registered: 2018-01-23
Posts: 29

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

---

Update:

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

Last edited by WorldWide2018 (2019-01-16 14:01:20)

Offline

#2 2019-01-29 21:36:22

stephan75
Member
Registered: 2008-05-28
Posts: 2,727

Re: Level of Detail - Map Rendering for Smartphone Application

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.

Offline

#3 2019-01-30 01:15:35

SomeoneElse
Member
Registered: 2010-10-13
Posts: 991

Re: Level of Detail - Map Rendering for Smartphone Application

WorldWide2018 wrote:

i am developing an App (Android)

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?

WorldWide2018 wrote:

and using OSM as Map Service

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

WorldWide2018 wrote:

My application is drawing several overlays on the map and i am looking for optimization algorithms for the overlays.

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/And … developers should be a start (but that page might be a bit out of date - see also https://gis.stackexchange.com/questions … ap+android ).

Offline

Board footer

Powered by FluxBB