diff --git a/index.html b/index.html
index b5428e7..9ef4401 100644
--- a/index.html
+++ b/index.html
@@ -22,7 +22,7 @@
-
+
@@ -225,13 +225,13 @@
var dev_or_prod = 'prod';
// prod
- var mapzen_api_key = 'vector-tiles-h6AbVZA';
+ var sdk_api_key = '8HNQZsjzTJyNhnoyr_7yrQ';
if( dev_or_prod == 'dev' ) {
- mapzen_api_key = 'mapzen-iP15tWp';
+ sdk_api_key = '8HNQZsjzTJyNhnoyr_7yrQ';
}
- var tg_global = { sdk_mapzen_api_key: mapzen_api_key };
+ var tg_global = { sdk_api_key: sdk_api_key };
var layer = Tangram.leafletLayer({
// more: 'mapzen-n22UFkv'
diff --git a/tron-style.yaml b/tron-style.yaml
index e81b3bf..038f547 100644
--- a/tron-style.yaml
+++ b/tron-style.yaml
@@ -37,18 +37,18 @@ 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/256/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
+ tile_size: 256
max_zoom: 16
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/256/normal/{z}/{x}/{y}.png
url_params:
- api_key: global.sdk_mapzen_api_key
- tile_size: 512
+ api_key: global.sdk_api_key
+ tile_size: 256
max_zoom: 14
# Only enable this for local debug, should not be enabled for prod (app inserts these at runtime)