1 | ---
|
2 | layout: example.html
|
3 | title: Advanced Mapbox Vector Tiles
|
4 | shortdesc: Example of a Mapbox vector tiles map with custom tile grid.
|
5 | docs: >
|
6 | A vector tiles map which reuses the same source tiles for subsequent zoom levels to save bandwidth on mobile devices. **Note**: No map will be visible when the access token has expired.
|
7 | tags: "mapbox, vector, tiles, mobile"
|
8 | resources:
|
9 | - resources/mapbox-streets-v6-style.js
|
10 | cloak:
|
11 | pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiRk1kMWZaSSJ9.E5BkluenyWQMsBLsuByrmg: Your Mapbox access token from http://mapbox.com/ here
|
12 | ---
|
13 | <div id="map" class="map"></div>
|