Answer the question
In order to leave comments, you need to log in
Is there an example of rendering OSM data offline directly?
I want to render a map from geodata myself. There is a graphics engine. We need an initial example of how, using data from the database, to draw simple primitives (lines, polygons) in coordinates. Ideally, you need an example of displaying a map in the osm topo map style. Preferably using a minimum of third-party libraries. Offline, without any connection to servers. The base must be in a local file in any convenient format.
Answer the question
In order to leave comments, you need to log in
I would force the browser to render, and give the tiles to GEOjson from the server. So you can do interactive on the client side - after all, he has all the objects.
I made such a solution for an electric grid organization, it even worked on Android 5 phones.
I used the Openlayers 3 engine.
On the postgres server with objects and a backend that selects objects in a tile by coordinates.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question