agcII / mbtiles-server

A very simple node.js server for mbtiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A very simple node.js server for mbtiles


Languages

Language:JavaScript 100.0%