[![Build Status](https://travis-ci.org/mapbox/mbview.svg?branch=master)](https://travis-ci.org/mapbox/mbview)

# mbview

Watch MBTiles in your localhost

![demo](https://raw.githubusercontent.com/mapbox/mbview/master/demo.gif)

```bash
% 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](https://www.mapbox.com/signup/).

Global install

```bash
% npm install -g mbview
% mbview
```

Or just try the demo

```bash
% cd examples
% ./try.sh
```

Type `mbview --help` to see the parameters available.

**Awesome stuff**

![awesome 1](https://cloud.githubusercontent.com/assets/58878/15119908/fc49b9b8-15c7-11e6-99b8-8a590df46c37.png)

![awesome 2](https://cloud.githubusercontent.com/assets/58878/15119925/0a974634-15c8-11e6-852b-a7d411cd407f.png)

![awesome 3](https://cloud.githubusercontent.com/assets/58878/15120006/61715756-15c8-11e6-8219-3fb3c8389462.png)
