NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am trying to dynamically add and update overlays on a map. Currently I am using mapping API's and javascript to accomplish this. However, I want a way to still do this even without internet access. Is there a way to use the API's offline? Or is there a suitable program I can use to accomplish the same dynamic structure be serving up my own tiles offline?

Thank you for any advice

asked 11 Jul '12, 22:51

d_norm's gravatar image

d_norm
11112
accept rate: 0%


What you (and google) call an "api" is probably nothing more then a javascript library (probably OpenLayers or Leaflet). You can download these libraries and host them yourself if you want.

However the tile layers you use is tiled images that are hosted by other services. Theese might not be available for offline use. It is possible to install a service to render the tiles on the local machine, or you could use the Kothic JS plugin for Leaflet to render the tiles in the browser.

In both cases you need to download the vector data before you can use it offline and that will require some space and bandwidth and for your users to select areas to be available for offline use.

permanent link

answered 11 Jul '12, 23:20

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

edited 11 Jul '12, 23:25

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×290
×106

question asked: 11 Jul '12, 22:51

question was seen: 3,497 times

last updated: 11 Jul '12, 23:25

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum