get-offline-maps
v1.0.21
Published
This will get offline maps cut as raster tile
Downloads
32
Readme
Welcome to Get Offline Maps tiles
This application will download maps as tiles with TMS tile support
Installation
$ npm install get-offline-mapsUsage
copy below code inside index.js
var gom = require('get-offline-maps');
var getAccessUrl = "blah";
var outputDir = "blah";
var port = "3127";
gom.getOfflineMaps(getAccessUrl,outputDir,port);then run
node index.jsPreview at browser
http://localhost:3127/index.htmlNote:
- the downloaded tile will be at png
- at getAccessUrl exclude /z/x/y and pass rest of url prefix
