/mbtiles-server

A very simple node.js server for mbtiles

Primary LanguageJavaScript

mbtiles-server

Wow. It's really easy to serve mbtiles files without having to host them with Mapbox, just serve them yourself.

First, just create an mbtiles file (via Tilemill probably cause it's freaking amazing), then:

  1. npm install
  2. node server.js TILEFILE [PORT]

Visit http://localhost:3000/3/1/2.png