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:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Watch MBTiles in your localhost
% 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.
% npm install -g mbview % mbview
Or just try the demo
% cd examples % ./try.sh
mbview --help to see the parameters available.