@mapbox/mbview

Watch mbtiles in your localhost

Usage no npm install needed!

<script type="module">
  import mapboxMbview from 'https://cdn.skypack.dev/@mapbox/mbview';
</script>

README

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 @mapbox/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