12 lines
550 B
HTML
12 lines
550 B
HTML
---
|
|
layout: example.html
|
|
title: OSM Vector Tiles
|
|
shortdesc: Using OpenStreetMap vector tiles.
|
|
docs: >
|
|
A simple vector tiles map with Mapzen vector tiles. This example uses the TopoJSON format's `layerName` option to determine the layer ("water", "roads", "buildings") for styling. **Note**: [`ol.format.MVT`](../apidoc/ol.format.MVT.html) is an even more efficient format for vector tiles.
|
|
tags: "vector, tiles, osm, mapzen"
|
|
cloak:
|
|
vector-tiles-5eJz6JX: Your Mapzen API key from https://mapzen.com/developers
|
|
---
|
|
<div id="map" class="map"></div>
|