I'm looking for an offline map API for web like Google maps (because I know I can't use this offline). I currently have a program (using js and node.js) that uses the google maps api and google roads api to produce a map, and given a set of points, returns another set of points containing roads nearest to the given points, and plots this. I need to make all of this work offline.

I've been looking at offline solutions like Open Street Maps (which a lot of people suggest), but I can't seem to figure out how to plot things. I've also looked at JOSM, but is it possible to plot on JOSM using a program rather than directly on the interface?

I'm currently working on plotting roads in Taipei, so I've already downloaded MBTiles for this city, as per some suggestions I've looked at online. I'm not sure what to do with these tiles however. Is it possible to plot points/lines on these tiles, and is there a built in function (like google roads snap to roads) that finds the nearest road?

What I've tried: I have tried Open Street Maps, JOSM, Leaflet, OpenLayers, but I can't seem to be getting the hang of any of these. Which makes me think, what if these tools aren't what I'm looking for?

Question: How do I go about plotting lines on the above listed tools? What do I do with the tiles I've already downloaded? If there simply is no hope for me to do what I want to with the above listed tools, is it possible to use something else, or is my project a lost cause?

closed as too broad by PolyGeo Mar 1 '18 at 8:43

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • hi, if you have mbtiles data then you can display them directly in QGIS or on a mobile device - for Android there are apps like: play.google.com/store/apps/… – Juhele Feb 28 '18 at 15:50
  • but if you need to create new vector data then why not to use the Shapefiles here: download.geofabrik.de/asia/taiwan.html and work with the roads vector layer directly in a desktop GIS application like QGIS? – Juhele Feb 28 '18 at 15:55

Please take a look at MapBox. works for Android and iOS https://www.mapbox.com/help/mobile-offline/

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • does this work for web apps as well? I see you've linked the mobile offline site. – rohi101 Jun 14 '17 at 22:55

Have you looked at other data collection solutions that allow offline maps? I've tested Collector for ArcGIS using offline maps on iOS. This does require an ArcGIS Online/ESRI account to serve your data and basemap. There is also IntraMaps Roam which I have not tested yet.

You can find a solution to work with some of the tools you listed. It just depends on how much time and programming experience you have.

  • thanks for responding! do you know where I can find additional help for the resources I've listed? I have programming experience in js, but not with map APIs. How can I get started? – rohi101 Jun 14 '17 at 22:57
  • @rohi101 If you want to stay on the Google platform you'll have to use their SDK for iOS or Android SDK. The best place to start is Google Maps API for Developers which you've likely been to for documentation for the maps API. I also found this interesting blog with a solution. geospatialscott.blogspot.ca/2012/04/… You'll have to do some more web sleuthing for 'offline maps' and see what you come up with. – danagerous Jun 14 '17 at 23:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.