Add support for OSM vector tiles

This commit is contained in:
Andreas Hocevar
2015-12-04 16:46:44 +01:00
parent 952a282756
commit a940cdd6a7
10 changed files with 229 additions and 17 deletions

View File

@@ -0,0 +1,9 @@
---
layout: example.html
title: OSM Vector Tiles
shortdesc: Using OpenStreetMap vector tiles.
docs: >
A simple vector tiles map with OpenStreetMap vector tiles. **Note**: The tiles used in this example are not optimized for rendering - they clip tiles exactly at the tile boundary instead of adding a buffer, and use geographic coordinates instead of tile relative pixel coordinates in view projection.
tags: "vector, tiles, osm"
---
<div id="map" class="map"></div>