Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 422 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 422 Bytes

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) and change line 4 of server.js to match your mbtile filename.

Then:

npm install

node server.js [tilefile]

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