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.