This repository is a fork of
mapbox/mbview
, but for CGCS2000.
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.
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