Skip to content
A very simple node.js server for mbtiles
JavaScript Shell
Branch: master
Clone or download
Pull request Compare This branch is 17 commits ahead, 3 commits behind tobinbradley:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Procfile
README.md
deployHeroku.sh
index.js
package-lock.json
package.json
parcels.mbtiles
starter.sh

README.md

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.
You can’t perform that action at this time.