Watch mbtiles in your localhost

Usage no npm install needed!

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


Build Status


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

awesome 1

awesome 2

awesome 3