Skip to content

jithintomz/mbtiles-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mbtiles-server

This is a fork of Christopher Helm's awesome mbtiles-server. All credit should be flung at him. The changes in this fork are:

  • The first path argument is the mbtiles file, so multiple mbtiles tile sets can be served with the same service.
  • Vector tiles are supported.
  • Some niceties on the return header (CORS, expiration, etc.).

To get it cranking, drop a mbtiles file in the server folder and:

npm install
node index.js

Requests look like this:

http://localhost:3000/<mbtiles-name>/3/1/2.png.

About

A very simple node.js server for mbtiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.3%
  • Shell 18.7%