Skip to content
A very simple node.js server for mbtiles
JavaScript
Branch: master
Clone or download
chelm Merge pull request #6 from stevage/patch-1
Send 404s on failure
Latest commit 921c400 Sep 10, 2013
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Fixed filename bug, added port option Jun 24, 2013
package.json Added command line argument for mbtiles file Jan 8, 2013
server.js Send 404s on failure Sep 10, 2013

README.md

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

You can’t perform that action at this time.