Skip to content

Downloads mbtiles from a source such as MapBox (or similar) and serves them on localhost

License

Notifications You must be signed in to change notification settings

petterbergman/mbtiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MBTiles

Downloads mbtiles from a source such as MapBox (or similar) and serves them on localhost

Install

Use npm install to install dependencies as well as mbutil (postinstall)

Configuration

Configure settings in .env

Download tiles

npm download.js Files will be downloaded in tiles folder according to configuration in .env. Files already downloaded, will be skipped. To redownload, delete tiles folder.

Server mbtiles file

npm server.js Will server mbtiles file on localhost. File name and port specified in .env

About

Downloads mbtiles from a source such as MapBox (or similar) and serves them on localhost

Topics

Resources

License

Stars

Watchers

Forks