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

hello,

i got some issue with finding javascript api for loading maps(marks,layers etc..) that works offline. Therefore i decided to looking for another way to do it. and here comes you help , i need you to help me understands how can i gather maps(somehow). than using a generic js api , that uses online maps but instead of using the online maps , ill use my own maps that i gathered.

i hope you can help me figure it out.

asked 16 Oct '15, 22:35

elad159's gravatar image

elad159
367710
accept rate: 0%

closed 19 Oct '15, 22:30

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273

2

Both Leaflet and OpenLayers can perfectly work offline. Can you explain your problems in more detail? And what are you actually planning to do?

(17 Oct '15, 08:21) scai ♦

well ill try to explain it better,

my big problem is that i need to work offline, it mean no internet connection is on. most of the libraries works online.

i was thinking about some ways to go through this problem. maybe by using an online api, but instead of using the online maps, ill try to find a way to download the maps, and then use them offline.

and that why i need your help , to help me understand how can i do it properly..

(17 Oct '15, 13:45) elad159
2

With regard to tile-based maps, like @scai said the commonly-used libraries can work offline. I did a quick-and-dirty example a couple of years ago over at https://github.com/SomeoneElseOSM/OSMembedded . I'm not sure why you need to "gather" maps - just download the data and create your own. See https://switch2osm.org/serving-tiles/ for more details about that.

Other non-tile-based options include the vector-based OsmAnd maps (download the code and have a look at what it does if you're interested in that). Maps.me (a version of which has been recently open-sourced) also used vector-based maps.

Also see https://github.com/mapbox/mapbox-gl-cocoa/issues/62 for a discussion of Mapbox vector tiles offline.

(17 Oct '15, 20:30) SomeoneElse ♦

well about the gathering, i wanna download a free maps , and not making one by my self. there is a free map providers? with a good tiles in it , like google map ?

(18 Oct '15, 15:04) elad159
2

Currently there are no pre-rendered tiles available for downloading (at least not that I know of) so you have to render them yourself, that's what SomeoneElse was talking about. I think you should start over again and clearly list your requirements and the things you are planning to do. Currently this is all very vague, making it difficult to help you.

(19 Oct '15, 08:31) scai ♦

okay about the offline library i think i will use leaflet very easy api + working very well.

so my new list is:

1)i need pre-rendered tiles available(offline) - maybe pre downloading somehow.

2)if it impossible i need to know how can i render it by my self.

(19 Oct '15, 18:36) elad159

@elad159: just search this help page for your new questions. I am sure you will find old questions (and answers) about this. If you cannot find, then ask new questions please. This makes this help site most efficient for everybody.

(19 Oct '15, 19:08) aseerel4c26 ♦
showing 5 of 7 show 2 more comments

The question has been closed for the following reason "This question is really "where can I download pre-rendered tiles for free" and as such has been discussed here a lot already." by Frederik Ramm 19 Oct '15, 22:30

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
×60
×38

question asked: 16 Oct '15, 22:35

question was seen: 4,466 times

last updated: 19 Oct '15, 22:30

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