From 2320682276db160f39272db896e2da9b36563e6c Mon Sep 17 00:00:00 2001 From: Nathaniel Kelso Date: Sun, 28 Jan 2018 00:49:52 -0800 Subject: [PATCH 1/4] mapzen > nextzen --- index.html | 6 +++--- tron-style.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index b5428e7..974b3ea 100644 --- a/index.html +++ b/index.html @@ -22,9 +22,9 @@ - + - + @@ -364,7 +364,7 @@ var zoom = max_zoom < map.getZoom() ? max_zoom : Math.floor(map.getZoom()); var tileCoords = { x : long2tile(latlng.lng,zoom), y: lat2tile(latlng.lat,zoom), z: zoom }; - var url = 'http://tile.mapzen.com/mapzen/vector/v1/all/' + zoom + '/' + tileCoords.x + '/' + tileCoords.y + '.topojson'; + var url = 'http://tile.nextzen.org/tilezen/vector/v1/all/' + zoom + '/' + tileCoords.x + '/' + tileCoords.y + '.topojson'; return url; } diff --git a/tron-style.yaml b/tron-style.yaml index e81b3bf..338e542 100644 --- a/tron-style.yaml +++ b/tron-style.yaml @@ -37,15 +37,15 @@ import: sources: mapzen: type: MVT - url: https://tile.mapzen.com/mapzen/vector/v1/512/all/{z}/{x}/{y}.mvt + url: https://tile.nextzen.org/tilezen/vector/v1/512/all/{z}/{x}/{y}.mvt url_params: api_key: global.sdk_mapzen_api_key rasters: [normals-elevation] tile_size: 512 - max_zoom: 16 + max_zoom: 15 normals-elevation: type: Raster - url: https://tile.mapzen.com/mapzen/terrain/v1/512/normal/{z}/{x}/{y}.png + url: https://tile.nextzen.org/tilezen/terrain/v1/512/normal/{z}/{x}/{y}.png url_params: api_key: global.sdk_mapzen_api_key tile_size: 512 From e12e12c9aba3c6981fd1942c3621043d382064b6 Mon Sep 17 00:00:00 2001 From: Nathaniel Kelso Date: Sun, 28 Jan 2018 00:50:33 -0800 Subject: [PATCH 2/4] point at nextzen resources versus mapzen --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 0062ac9..09b254e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.0.0 +6.0.0 From 7b550cd185a2513c978814a6f00eb6b2cca75da8 Mon Sep 17 00:00:00 2001 From: Nathaniel Kelso Date: Wed, 31 Jan 2018 12:35:36 -0800 Subject: [PATCH 3/4] sdk key and max_zoom --- components/globals.yaml | 2 +- tron-style.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/globals.yaml b/components/globals.yaml index 7e94ba6..1d9c59e 100644 --- a/components/globals.yaml +++ b/components/globals.yaml @@ -1,7 +1,7 @@ global: # Sign up for a Mapzen API key to enjoy higher rate limits # https://mapzen.com/documentation/overview/#developer-accounts-and-api-keys - sdk_mapzen_api_key: '' # set this value to your Mapzen API key + sdk_api_key: '' # set this value to your Mapzen API key sdk_animated: true sdk_interactive: true diff --git a/tron-style.yaml b/tron-style.yaml index 338e542..be05ba4 100644 --- a/tron-style.yaml +++ b/tron-style.yaml @@ -39,15 +39,15 @@ sources: type: MVT url: https://tile.nextzen.org/tilezen/vector/v1/512/all/{z}/{x}/{y}.mvt url_params: - api_key: global.sdk_mapzen_api_key + api_key: global.sdk_api_key rasters: [normals-elevation] tile_size: 512 - max_zoom: 15 + max_zoom: 16 normals-elevation: type: Raster url: https://tile.nextzen.org/tilezen/terrain/v1/512/normal/{z}/{x}/{y}.png url_params: - api_key: global.sdk_mapzen_api_key + api_key: global.sdk_api_key tile_size: 512 max_zoom: 14 From fa565e62bdf7ff53b8460e8c0abe050a31e1ecc3 Mon Sep 17 00:00:00 2001 From: "Nathaniel V. KELSO" Date: Fri, 16 Mar 2018 11:56:48 -0700 Subject: [PATCH 4/4] 512 consistency --- tron-style.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tron-style.yaml b/tron-style.yaml index 445a359..7924337 100644 --- a/tron-style.yaml +++ b/tron-style.yaml @@ -41,7 +41,7 @@ sources: url_params: api_key: global.sdk_api_key rasters: [normals-elevation] - tile_size: 256 + tile_size: 512 max_zoom: 16 normals-elevation: type: Raster @@ -118,4 +118,4 @@ cameras: scene: animated: global.sdk_animated background: - color: '#364d6d' \ No newline at end of file + color: '#364d6d'