This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Is there any way to download maps and use it offline in a web application.

0

Is there any way to download maps and use it offline in a web application. i am trying to use it in an angular application . is there any option to download the maps and use it locally rather then loading it every time with the help of internet

asked 13 Nov '19, 05:28

sbharathcoc's gravatar image

sbharathcoc
11112
accept rate: 0%


One Answer:

1

There are many ways to skin a cat.

Limiting this to a web app boils down to either using raster tiles (as on openstreetmap.org) or vector tiles (which contain geometry information that is locally used to produce an imager in your browser).

There are no really supported ways to "just download" a bunch of image tiles (it can be done, but ...) so I would suggest first seeing if vector tiles will work for you, see for example https://openmaptiles.org/

answered 13 Nov '19, 22:26

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .