From 6caf8adc4cc536877e4ae5a561453118fea6ce02 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Mon, 17 Oct 2016 23:08:39 +0200 Subject: [PATCH] Update Mapzen urls to new scheme --- examples/osm-vector-tiles.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/osm-vector-tiles.js b/examples/osm-vector-tiles.js index c3d80c195c..c2fa8a35d2 100644 --- a/examples/osm-vector-tiles.js +++ b/examples/osm-vector-tiles.js @@ -42,7 +42,7 @@ var map = new ol.Map({ attributions: attribution, format: format, tileGrid: tileGrid, - url: 'https://vector.mapzen.com/osm/water/{z}/{x}/{y}.topojson?api_key=' + key + url: 'https://tile.mapzen.com/mapzen/vector/v1/water/{z}/{x}/{y}.topojson?api_key=' + key }), style: new ol.style.Style({ fill: new ol.style.Fill({ @@ -55,7 +55,7 @@ var map = new ol.Map({ attributions: attribution, format: format, tileGrid: tileGrid, - url: 'https://vector.mapzen.com/osm/roads/{z}/{x}/{y}.topojson?api_key=' + key + url: 'https://tile.mapzen.com/mapzen/vector/v1/roads/{z}/{x}/{y}.topojson?api_key=' + key }), style: function(feature) { var kind = feature.get('kind'); @@ -89,7 +89,7 @@ var map = new ol.Map({ attributions: attribution, format: format, tileGrid: tileGrid, - url: 'https://vector.mapzen.com/osm/buildings/{z}/{x}/{y}.topojson?api_key=' + key + url: 'https://tile.mapzen.com/mapzen/vector/v1/buildings/{z}/{x}/{y}.topojson?api_key=' + key }), style: function(f, resolution) { return (resolution < 10) ? buildingStyle : null;