tomchavakis / TMS-Nodejs

Reads MBtiles with NodeJS and provides them as TMS Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 server.js

Requests look like this:

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

About

Reads MBtiles with NodeJS and provides them as TMS Service


Languages

Language:JavaScript 100.0%