UNPKG

openlayers

Version:

Build tools and sources for developing OpenLayers based mapping applications

12 lines (11 loc) 550 B
--- 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>