Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including mbview with all npm packages installed. Try it out:

var mbview = require("mbview")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

mbview v2.0.1

Watch mbtiles in your localhost

Build Status

mbview

Watch MBTiles in your localhost

demo

% npm install
% export MAPBOX_ACCESS_TOKEN='pk.0000.1111' # replace value with your mapbox public access token
% node cli.js --port 9000 ~/roads.mbtiles ~/taco-places.mbtiles

You can obtain a mapbox public token by signing up here.

Global install

% npm install -g mbview
% mbview

Or just try the demo

% cd examples
% ./try.sh

Type mbview --help to see the parameters available.

Awesome stuff

awesome 1

awesome 2

awesome 3

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free