diff --git a/cameras/axis.yaml b/cameras/axis.yaml index 72a6324..b6a7c97 100644 --- a/cameras/axis.yaml +++ b/cameras/axis.yaml @@ -4,17 +4,17 @@ cameras: axis: [1,1] sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -22,7 +22,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -31,7 +31,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -40,7 +40,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [ferry, rail, path]}} draw: @@ -57,7 +57,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/cameras/flat.yaml b/cameras/flat.yaml index 9469696..8305367 100644 --- a/cameras/flat.yaml +++ b/cameras/flat.yaml @@ -3,17 +3,17 @@ cameras: type: flat sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -21,7 +21,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -30,7 +30,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -39,7 +39,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path, minor_road]}} draw: @@ -49,7 +49,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/cameras/focal_length.yaml b/cameras/focal_length.yaml index 7ea88ff..eb29a74 100644 --- a/cameras/focal_length.yaml +++ b/cameras/focal_length.yaml @@ -4,17 +4,17 @@ cameras: focal_length: .5 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -22,7 +22,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -31,7 +31,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -40,7 +40,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/cameras/isometric.yaml b/cameras/isometric.yaml index afcc695..85fb9dc 100644 --- a/cameras/isometric.yaml +++ b/cameras/isometric.yaml @@ -4,17 +4,17 @@ cameras: axis: [0,1] sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -22,7 +22,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -31,7 +31,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -40,7 +40,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path, minor_road]}} draw: @@ -51,7 +51,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/cameras/perspective.yaml b/cameras/perspective.yaml index 51a0c5e..ec29994 100644 --- a/cameras/perspective.yaml +++ b/cameras/perspective.yaml @@ -3,17 +3,17 @@ cameras: type: perspective sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -21,7 +21,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -29,7 +29,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -37,7 +37,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path, minor_road] } } draw: @@ -47,7 +47,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/cameras/vanishing_point.yaml b/cameras/vanishing_point.yaml index 8568d16..287af29 100644 --- a/cameras/vanishing_point.yaml +++ b/cameras/vanishing_point.yaml @@ -5,17 +5,17 @@ cameras: focal_length: 1. sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -23,7 +23,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -32,7 +32,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -41,7 +41,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path, minor_road]}} draw: @@ -52,7 +52,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/index.html b/index.html index 074c8ca..8b8a3c0 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,6 @@ Tangram: real-time WebGL rendering for OpenStreetMap http://github.com/tangrams/tangram - http://mapzen.com --> @@ -39,7 +38,7 @@ - + - - - - diff --git a/lights/ambient.yaml b/lights/ambient.yaml index 46c2921..be9c518 100644 --- a/lights/ambient.yaml +++ b/lights/ambient.yaml @@ -9,17 +9,17 @@ lights: ambient: 1 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -27,7 +27,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -36,7 +36,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -45,7 +45,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path, minor_road]}} draw: @@ -56,7 +56,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/directional.yaml b/lights/directional.yaml index 2eb5269..0f49fe9 100644 --- a/lights/directional.yaml +++ b/lights/directional.yaml @@ -11,17 +11,17 @@ lights: ambient: .3 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -29,7 +29,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -39,7 +39,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -48,7 +48,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path, minor_road]}} draw: @@ -59,7 +59,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/pointlight-00.yaml b/lights/pointlight-00.yaml index 820dccd..7ff93fe 100644 --- a/lights/pointlight-00.yaml +++ b/lights/pointlight-00.yaml @@ -14,17 +14,17 @@ lights: specular: .2 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -32,7 +32,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -40,7 +40,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -48,7 +48,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -58,7 +58,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/pointlight-01.yaml b/lights/pointlight-01.yaml index 676b201..8a408f8 100644 --- a/lights/pointlight-01.yaml +++ b/lights/pointlight-01.yaml @@ -14,17 +14,17 @@ lights: specular: .2 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -32,7 +32,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -42,7 +42,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -51,7 +51,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -62,7 +62,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/pointlight-02.yaml b/lights/pointlight-02.yaml index 5e8f432..1612220 100644 --- a/lights/pointlight-02.yaml +++ b/lights/pointlight-02.yaml @@ -5,17 +5,17 @@ lights: origin: ground sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -23,7 +23,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -33,7 +33,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -42,7 +42,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -52,7 +52,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/pointlight-attenuation-00.yaml b/lights/pointlight-attenuation-00.yaml index 8751073..2354cc4 100644 --- a/lights/pointlight-attenuation-00.yaml +++ b/lights/pointlight-attenuation-00.yaml @@ -14,17 +14,17 @@ lights: specular: .2 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -32,7 +32,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -40,7 +40,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -48,7 +48,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -58,7 +58,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/pointlight-attenuation-01.yaml b/lights/pointlight-attenuation-01.yaml index ad6e70f..14477b1 100644 --- a/lights/pointlight-attenuation-01.yaml +++ b/lights/pointlight-attenuation-01.yaml @@ -19,17 +19,17 @@ scene: color: black sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -37,7 +37,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -45,7 +45,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -53,7 +53,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -63,7 +63,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/pointlight-attenuation-02.yaml b/lights/pointlight-attenuation-02.yaml index a25cd84..26aef4e 100644 --- a/lights/pointlight-attenuation-02.yaml +++ b/lights/pointlight-attenuation-02.yaml @@ -19,17 +19,17 @@ scene: color: black sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -37,7 +37,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -45,7 +45,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -53,7 +53,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -63,7 +63,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/pointlight-radius-00.yaml b/lights/pointlight-radius-00.yaml index 19c7988..66702fd 100644 --- a/lights/pointlight-radius-00.yaml +++ b/lights/pointlight-radius-00.yaml @@ -18,17 +18,17 @@ scene: color: black sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -36,7 +36,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -44,7 +44,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -52,7 +52,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -62,7 +62,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/pointlight-radius-01.yaml b/lights/pointlight-radius-01.yaml index 6bf1a9e..0dd99ef 100644 --- a/lights/pointlight-radius-01.yaml +++ b/lights/pointlight-radius-01.yaml @@ -18,17 +18,17 @@ scene: color: black sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -36,7 +36,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -44,7 +44,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -52,7 +52,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -62,7 +62,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/lights/spotlight.yaml b/lights/spotlight.yaml index d618a7f..ddde8f2 100644 --- a/lights/spotlight.yaml +++ b/lights/spotlight.yaml @@ -19,17 +19,17 @@ scene: color: black sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -37,7 +37,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -45,7 +45,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -53,7 +53,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -63,7 +63,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/material/dynamic-normals.yaml b/material/dynamic-normals.yaml index 9175092..016e587 100644 --- a/material/dynamic-normals.yaml +++ b/material/dynamic-normals.yaml @@ -81,17 +81,17 @@ styles: normal += snoise(vec3(worldPosition().xy*0.08,u_time*.5))*0.02; sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -99,7 +99,7 @@ layers: color: '#abb' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -107,7 +107,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -116,7 +116,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, rail, ferry] } } draw: @@ -126,7 +126,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/material/materials.yaml b/material/materials.yaml index ac910a9..d9e28b5 100644 --- a/material/materials.yaml +++ b/material/materials.yaml @@ -108,17 +108,17 @@ styles: normal += snoise(vec3(worldPosition().xy*0.08,u_time*.5))*0.02; sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -126,7 +126,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -135,7 +135,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -144,7 +144,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path] } } draw: @@ -155,7 +155,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/material/normals.yaml b/material/normals.yaml index 787532a..78cf259 100644 --- a/material/normals.yaml +++ b/material/normals.yaml @@ -71,17 +71,17 @@ styles: normal += snoise(vec3(worldPosition().xy*0.08,u_time*.5))*0.02; sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -89,7 +89,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -97,7 +97,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -105,7 +105,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path] } } draw: @@ -115,7 +115,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/material/planar.yaml b/material/planar.yaml index 1ccf63c..9d939d5 100644 --- a/material/planar.yaml +++ b/material/planar.yaml @@ -27,17 +27,17 @@ lights: attenuation: .5 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -45,7 +45,7 @@ layers: color: '#cdd' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -55,7 +55,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -64,7 +64,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path] } } draw: @@ -75,7 +75,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/material/spheremap.yaml b/material/spheremap.yaml index 3285f3c..1ba8e25 100644 --- a/material/spheremap.yaml +++ b/material/spheremap.yaml @@ -27,17 +27,17 @@ styles: mapping: spheremap sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -45,7 +45,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -53,7 +53,7 @@ layers: color: '#aaffaa' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -63,7 +63,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path] } } draw: @@ -73,7 +73,7 @@ layers: width: 8 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/material/triplanar.yaml b/material/triplanar.yaml index 6f7a31b..a6a3863 100644 --- a/material/triplanar.yaml +++ b/material/triplanar.yaml @@ -27,17 +27,17 @@ lights: attenuation: .5 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -45,7 +45,7 @@ layers: color: '#cdd' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -55,7 +55,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -64,7 +64,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path] } } draw: @@ -75,7 +75,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/material/uv.yaml b/material/uv.yaml index 2ec7b3e..e2d3912 100644 --- a/material/uv.yaml +++ b/material/uv.yaml @@ -27,17 +27,17 @@ lights: attenuation: .5 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -45,7 +45,7 @@ layers: color: '#cdd' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -55,7 +55,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -64,7 +64,7 @@ layers: roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [rail, ferry, path] } } draw: @@ -75,7 +75,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/pages/Filters-Overview.md b/pages/Filters-Overview.md index 84504f0..c98af25 100644 --- a/pages/Filters-Overview.md +++ b/pages/Filters-Overview.md @@ -10,7 +10,7 @@ Vector tiles typically contain top-level structures which can be thought of as " layers: my-roads-layer: data: - source: mapzen + source: nextzen layer: roads draw: ... ``` @@ -33,7 +33,7 @@ If a `layer` filter is not specified, Tangram will attempt to use the _layer nam layers: roads: data: - source: mapzen + source: nextzen draw: ... ``` @@ -44,7 +44,7 @@ Once a top-level `layer` filter has been applied, feature-level [`filter`](layer ```yaml layers: roads: - data: { source: mapzen } + data: { source: nextzen } highway: filter: @@ -187,7 +187,7 @@ The keyword `$layer` matches the feature's layer name, for cases when a data lay ```yaml labels: - data: { source: mapzen, layer: [places, pois] } + data: { source: nextzen, layer: [places, pois] } draw: ... pois-only: @@ -215,14 +215,14 @@ The `label_placement` property is given only to special auto-generated _point_ g ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson generate_label_centroids: true layers: landuse: - data: {source: mapzen} + data: {source: nextzen} points: filter: label_placement: true @@ -332,7 +332,7 @@ In some cases, filters at the same level may return overlapping results: ```yaml roads: - data: { source: mapzen } + data: { source: nextzen } highway: filter: { kind: highway } draw: { lines: { color: red } } diff --git a/pages/Javascript-API.md b/pages/Javascript-API.md index d51f36f..dcdf479 100644 --- a/pages/Javascript-API.md +++ b/pages/Javascript-API.md @@ -337,7 +337,7 @@ Loads a new `source` object (see [`sources`](sources.md)), returning a Promise w If `name` doesn't match an existing source, a new source object will be created. The `source` object must follow the [`sources`](sources.md#sources) specification. ```javascript -scene.setDataSource('osm', { type: 'TopoJSON', url: 'https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson' }); +scene.setDataSource('osm', { type: 'TopoJSON', url: 'https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson' }); ``` This `source` object can be used in situations where the data to be drawn is inside a JavaScript variable, instead of in a separate file: diff --git a/pages/Raster-Overview.md b/pages/Raster-Overview.md index 4979236..c03526e 100644 --- a/pages/Raster-Overview.md +++ b/pages/Raster-Overview.md @@ -57,12 +57,12 @@ sources: url: http://a.tile.stamen.com/terrain-background/{z}/{x}/{y}.jpg mapzen-osm: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson rasters: [stamen-terrain] # attach stamen terrain layers: terrain: - data: { source: mapzen-osm, layer: landuse } # render landuse layer from vector data source + data: { source: nextzen-osm, layer: landuse } # render landuse layer from vector data source draw: raster: order: 0 # draw on bottom @@ -122,11 +122,11 @@ This example loads pre-computed "normal" tiles as a normal map, which can be lit sources: terrain-normals: type: Raster - url: https://tile.mapzen.com/mapzen/terrain/v1/normal/{z}/{x}/{y}.png + url: https://tile.nextzen.org/tilezen/terrain/v1/normal/{z}/{x}/{y}.png mapzen-osm: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson rasters: [terrain-normals] styles: @@ -140,7 +140,7 @@ lights: layers: earth: - data: { source: mapzen-osm } + data: { source: nextzen-osm } draw: normals: color: white diff --git a/pages/Scene-file.md b/pages/Scene-file.md index 8e61d11..9fb2d9b 100644 --- a/pages/Scene-file.md +++ b/pages/Scene-file.md @@ -61,26 +61,26 @@ Here's a simple scene file: ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson layers: earth: - data: { source: mapzen } + data: { source: nextzen } draw: polygons: order: 0 color: darkgreen water: - data: { source: mapzen } + data: { source: nextzen } draw: polygons: order: 1 color: lightblue roads: - data: { source: mapzen } + data: { source: nextzen } draw: lines: order: 2 diff --git a/pages/bundling.md b/pages/bundling.md index baa7b9d..b20d9bf 100644 --- a/pages/bundling.md +++ b/pages/bundling.md @@ -54,9 +54,9 @@ npm install --save-dev http-server These requirements will be added to your package.json's "dev-dependencies" section. (There's not really any difference between these two for us now, but it's a nice habit to get into for when you're making your own npm packages.) Now on to the code! -First, you'll need a ticket to ride the Mapzen API train. Use your Mapzen account to pick up a free API key here: https://mapzen.com/dashboard. It'll look like `mapzen-XXXXXXX` but with fewer `X`s. +First, you'll need a ticket to ride the Nextzen API train. Pick up a free API key here: https://developers.nextzen.org. It'll look like `XXXXXXXXXXXXXXX` but with fewer `X`s. -If you don't have a Mapzen account, you'll need to make one to get a key. To do that, you'll need either a [github](http://github.com) account (which is cool and fun) or an email address. If you don't have an email address I salute you, and wish you luck. +If you don't have a Nextzen account, you'll need to make one to get a key. To do that, you'll need either a [github](http://github.com) account (which is cool and fun) or an email address. If you don't have an email address I salute you, and wish you luck. Once you get an API key, write it down on a sticky note and affix it to the bottom of your monitor. If you don't do this the next steps won't make sense. @@ -73,11 +73,11 @@ var Tangram = require('tangram'); var map = L.map('map'); var layer = Tangram.leafletLayer({ scene: { - 'import': 'https://mapzen.com/carto/bubble-wrap-style/8/bubble-wrap-style.zip', - // TODO: get your own API key at https://mapzen.com/dashboard/. It's free! + 'import': 'https://www.nextzen.org/carto/bubble-wrap-style/8/bubble-wrap-style.zip', + // TODO: get your own API key at https://developers.nextzen.org/ 'global': { 'sdk_mapzen_api_key': 'YOUR-KEY-HERE' } }, - attribution: 'Tangram | © OSM contributors | Mapzen' + attribution: 'Tangram | © OSM contributors' }); layer.addTo(map); @@ -160,9 +160,9 @@ npm install --save-dev http-server These requirements will be downloaded and added to your package.json's "dev-dependencies" section. (There's no practical difference between these two for us now, but it's a nice habit to get into for when you're publishing your own npm packages.) Now on to the code! -First, you'll need a free Mapzen API key. They're like Bitcoin, but free. Get yours here: https://mapzen.com/dashboard. It'll look like `mapzen-XXXXXXX`, but different. +First, you'll need a free Nextzen API key. They're like Bitcoin, but free. Get yours here: https://developers.nextzen.org. It'll look like `XXXXXXXXXXXXXXXXXX`, but different. -If you don't have a Mapzen account, you'll need to make one to get a key. To do that, you'll need either a [github](http://github.com) account (which is cool and fun) or an email address. Counseling you on your resistance to either of those technologies is beyond the scope of this guide. +If you don't have a Nextzen account, you'll need to make one to get a key. To do that, you'll need either a [github](http://github.com) account (which is cool and fun) or an email address. Counseling you on your resistance to either of those technologies is beyond the scope of this guide. Once you get an API key, write it down backwards on your forehead, unless you can read backwards writing easier than you can write it. If this is the case, don't worry, it's very common. @@ -179,11 +179,11 @@ import Tangram from 'tangram'; var map = L.map('map'); var layer = Tangram.leafletLayer({ scene: { - 'import': 'https://mapzen.com/carto/bubble-wrap-style/8/bubble-wrap-style.zip', - // TODO: get your own API key at https://mapzen.com/dashboard/. It's free! + 'import': 'https://www.nextzen.org/carto/bubble-wrap-style/8/bubble-wrap-style.zip', + // TODO: get your own API key at https://developers.nextzen.org/ 'global': { 'sdk_mapzen_api_key': 'YOUR-KEY-HERE' } }, - attribution: 'Tangram | © OSM contributors | Mapzen' + attribution: 'Tangram | © OSM contributors' }); layer.addTo(map); diff --git a/pages/index.md b/pages/index.md index c3408a1..9fda603 100644 --- a/pages/index.md +++ b/pages/index.md @@ -1,8 +1,8 @@ -[Tangram](https://mapzen.com/projects/tangram) is a flexible mapping engine, designed for real-time rendering of 2D and 3D maps from vector tiles. Built around [OpenStreetMap](http://www.openstreetmap.org/) data, Tangram provides optional control over almost every aspect of the map-making process, including cartography, lighting, and geometry customization. +[Tangram](https://github.com/tangrams/tangram) is a flexible mapping engine, designed for real-time rendering of 2D and 3D maps from vector tiles. Built around [OpenStreetMap](http://www.openstreetmap.org/) data, Tangram provides optional control over almost every aspect of the map-making process, including cartography, lighting, and geometry customization. Map styles, data filters, labels, and even graphics card code can be defined in a human-readable and -writable plain-text [scene file](Scene-file.md), and APIs permit direct interactive control of the style. Changing the color is just the beginning; every Tangram map is a 3D scene, so you also can modify [lights](Lights-Overview.md) and [cameras](Cameras-Overview.md). -Tangram is designed to use vector data sources such as Mapzen’s free [vector tile service](https://mapzen.com/projects/vector-tiles), which is a tiled, hosted version of the OpenStreetMap database. Besides points and lines, these data sources contain metadata, which Tangram can use to [filter](Filters-Overview.md) the data and change drawing styles in real time. +Tangram is designed to use vector data sources such as Nextzen’s free [vector tile service](https://www.nextzen.org/#vector-tiles), which is a tiled, hosted version of the OpenStreetMap database. Besides points and lines, these data sources contain metadata, which Tangram can use to [filter](Filters-Overview.md) the data and change drawing styles in real time. ![Example Tangram map](images/refill_map.png) diff --git a/pages/sources.md b/pages/sources.md index c3d711c..7178543 100644 --- a/pages/sources.md +++ b/pages/sources.md @@ -5,28 +5,28 @@ The `sources` element is a required top-level element in a Tangram scene file. I ```yaml sources: - # Mapzen tiles in TopoJSON format - mapzen-topojson: + # Nextzen tiles in TopoJSON format + nextzen-topojson: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson - # Mapzen tiles in GeoJSON format - mapzen-geojson: + # Nextzen tiles in GeoJSON format + nextzen-geojson: type: GeoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.json + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.json - # Mapzen tiles in Mapbox Vector Tile format - mapzen-mvt: + # Nextzen tiles in Mapbox Vector Tile format + nextzen-mvt: type: MVT - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.mvt - # Mapzen terrain tiles - mapzen-terrain: + # Nextzen terrain tiles + nextzen-terrain: type: Raster - url: https://tile.mapzen.com/mapzen/terrain/v1/normal/{z}/{x}/{y}.png + url: https://tile.nextzen.org/tilezen/terrain/v1/normal/{z}/{x}/{y}.png ``` -All of our demos were created using the [Mapzen Vector Tiles](https://github.com/mapzen/vector-datasource) service, which hosts tiled [OpenStreetMap](http://openstreetmap.org) data. +All of our demos were created using the [Mapzen Vector Tiles](https://github.com/tilezen/vector-datasource) service, which hosts tiled [OpenStreetMap](http://openstreetmap.org) data. #### source names Required _string_, can be anything. No default. @@ -36,9 +36,9 @@ Specifies the beginning of a source block. The source below is named `mapzen`: ```yaml sources: - mapzen: + nextzen: type: GeoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.json + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.json ``` ### required source parameters @@ -63,9 +63,9 @@ Required _string_. Specifies the source's _URL_. No default. ```yaml sources: - mapzen: + nextzen: type: MVT - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.mvt + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.mvt ``` The URL to a tiled datasource will include special tokens ("{x}", "{z}", etc.) which will be automatically replaced with the appropriate position and zoom coordinates to fetch the correct tile at a given point. Use of `https://` (SSL) is recommended when possible, to avoid browser security warnings: in cases where the page hosting the map is loaded securely via `https://`, most browsers require other resources including tiles to be as well). @@ -95,10 +95,10 @@ Depending on the datasource, you may be able to request specific layers from the ```yaml # all layers -https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.json +https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.json # building layer only -https://tile.mapzen.com/mapzen/vector/v1/buildings/{z}/{x}/{y}.topojson +https://tile.nextzen.org/tilezen/vector/v1/buildings/{z}/{x}/{y}.topojson ``` ##### curly braces @@ -107,12 +107,12 @@ When tiles are requested, Tangram will parse the datasource url and interpret it ```yaml mapzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson ``` In the example above, Tangram will automatically replace `{x}`, `{y}`, and `{z}` with the correct tile coordinates and zoom level for each tile, depending on which tiles are visible in the current scene, and the result will be something like: -`https://tile.mapzen.com/mapzen/vector/v1/all/16/19296/24640.topojson` +`https://tile.nextzen.org/tilezen/vector/v1/all/16/19296/24640.topojson` #### url_subdomains @@ -167,9 +167,9 @@ The `bounds` of a data source are specified as a single, flattened 4-element arr ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson bounds: [-74.1274, 40.5780, -73.8004, 40.8253] # [w, s, e, n] ``` @@ -190,7 +190,7 @@ Setting `tms: true` on the source will enable support for the TMS tile coordinat ```yaml sources: - mapzen: + nextzen: type: TopoJSON url: http://demo.opengeo.org/geoserver/gwc/service/tms/ 1.0.0/ne:ne@EPSG:900913@png/{z}/{x}/{y}.png tms: true @@ -246,7 +246,7 @@ If the feature in question is a multipolygon, the centroid _point_ will be added sources: local: type: GeoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.json + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.json max_zoom: 15 generate_label_centroids: true ``` @@ -260,7 +260,7 @@ Optional _integer_. No default. sources: local: type: GeoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.json + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.json min_display_zoom: 9 max_display_zoom: 18 ``` @@ -276,7 +276,7 @@ There is no corresponding `min_zoom` parameter, for reasons of performance. sources: local: type: GeoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.json + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.json max_zoom: 15 ``` @@ -293,7 +293,7 @@ Attaching a `Raster` to another `source` makes that `Raster` available to any sh sources: terrain-normals: type: Raster - url: https://tile.mapzen.com/mapzen/terrain/v1/normal/{z}/{x}/{y}.png + url: https://tile.nextzen.org/tilezen/terrain/v1/normal/{z}/{x}/{y}.png ``` When a `Raster` source itself has additional raster sources set in the `rasters` property, the "parent" source will be the first raster sampler, and those from `rasters` will be added afterward. (essentially it is as if the parent source was inserted as the first item in the rasters array). @@ -345,7 +345,7 @@ The `url_params` block can contain any number of key-value pairs which will be a ```yaml sources: vector-tiles: - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: vector-tiles-h2UV1dw + api_key: 3XqXMjEdT2StnrIRJ4HYbg ``` diff --git a/pages/tutorials/custom-styles.md b/pages/tutorials/custom-styles.md index a29c854..37a12b4 100644 --- a/pages/tutorials/custom-styles.md +++ b/pages/tutorials/custom-styles.md @@ -16,13 +16,13 @@ Add a datasource to your map with a [`sources`](https://mapzen.com/documentation ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.topojson layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: lines: order: 1 @@ -49,9 +49,9 @@ So far our new style isn't used anywhere, so no dashes will be seen. To fix this ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.topojson styles: _dashes: @@ -60,7 +60,7 @@ styles: layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: _dashes: order: 1 @@ -87,7 +87,7 @@ You can also apply an `outline`: ```yaml layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: _dashes: order: 1 @@ -110,13 +110,13 @@ Start with a buildings data layer drawn with a basic `polygons` style: ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.topojson layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: polygons: order: 1 @@ -134,9 +134,9 @@ The `blend` modes respect alpha, so let's add an alpha value of `.5`, which is 5 ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.topojson styles: _transparent: @@ -145,7 +145,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: _transparent: order: 1 @@ -165,9 +165,9 @@ Then, add a `shaders` block to the style, with a `blocks` block and a `color` bl ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.topojson styles: _custom: @@ -179,7 +179,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: _custom: order: 1 diff --git a/pages/tutorials/editing-basemaps.md b/pages/tutorials/editing-basemaps.md index d6dba77..d009e9d 100644 --- a/pages/tutorials/editing-basemaps.md +++ b/pages/tutorials/editing-basemaps.md @@ -11,7 +11,7 @@ var map = L.Mapzen.map('map', { Or, you can put your own data on top of them with [Tangram](https://mapzen.com/products/tangram/), using the [`import`](https://mapzen.com/documentation/tangram/import/) feature. ```yaml -import: https://mapzen.com/carto/walkabout-style/walkabout-style.yaml +import: https://www.nextzen.org/carto/walkabout-style/walkabout-style.yaml global: sdk_mapzen_api_key: mapzen-xxxxxxx # set this value to your Mapzen API key @@ -47,15 +47,15 @@ Before we start pulling apart a house style, let's start with a simpler example ```yaml sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson?api_key=mapzen-xxxxxxx + url: https://tile.nextzen.org/tilezen/vector/v1/all/{z}/{x}/{y}.topojson?api_key=xxxxxxx scene: background: color: white layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: lines: color: gray @@ -97,7 +97,7 @@ layers: The Mapzen house styles are significantly more complex. Take the case of [Refill](https://github.com/tangrams/refill-style), which is deceptively simple-looking. Though it is monochrome, it includes dozens of places where road color is specified, depending on the classification of road, its datasource, even the zoom level at which it's drawn. This means you'll have to change color values in many places. -So let's try it. First, download the Refill scene file and look it over in the text editor of your choice: https://mapzen.com/carto/refill-style-no-labels/6/refill-style-no-labels.yaml +So let's try it. First, download the Refill scene file and look it over in the text editor of your choice: https://www.nextzen.org/carto/refill-style-no-labels/6/refill-style-no-labels.yaml (We'll be working with version 6 of the Refill style. As Mapzen's basemap styles are still in active development we recommend pegging an import to a specific major version, so you enjoy any minor and patch updates but are ensured of stable named scene elements. See the [cartography docs](https://mapzen.com/documentation/cartography/versioning/) for info and current [major versions](https://mapzen.com/documentation/cartography/styles/).) @@ -105,7 +105,7 @@ Once you have the scene file open, search for the "roads" layer, which can be fo ```yaml roads: - data: { source: mapzen, layer: roads } + data: { source: nextzen, layer: roads } filter: { not: { kind: rail } } draw: lines: diff --git a/procedural/tronish.yaml b/procedural/tronish.yaml index 546a2f4..1c1c818 100644 --- a/procedural/tronish.yaml +++ b/procedural/tronish.yaml @@ -106,31 +106,31 @@ styles: float pct = grid(v_texcoord,10.,0.1)*0.5; color.rgb = mix(vec3(0.051,0.071,0.278)*0.8,vec3(0.239,0.431,0.718)*0.6,pct)*0.5; sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen draw: grid: order: function() { return feature.sort_rank; } color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen draw: grid: order: function() { return feature.sort_rank; } color: '#ff00ff' water: data: - source: mapzen + source: nextzen draw: tiledCross: order: function() { return feature.sort_rank; } @@ -143,7 +143,7 @@ layers: tile_edges: false roads: data: - source: mapzen + source: nextzen draw: roads: order: function() { return feature.sort_rank; } @@ -192,7 +192,7 @@ layers: width: 3 buildings: data: - source: mapzen + source: nextzen draw: walls: order: function() { return feature.sort_rank; } @@ -212,7 +212,7 @@ layers: extrude: function () { return feature.height > 20 || $zoom >= 16; } road_labels: - data: { source: mapzen, layer: roads } + data: { source: nextzen, layer: roads } filter: { name: true, $zoom: { min: 14 } } draw: text: @@ -223,7 +223,7 @@ layers: fill: [.9,.9,1.] stroke: { color: black , width: 3 } places: - data: { source: mapzen } + data: { source: nextzen } filter: { name: true } draw: text: diff --git a/scene.yaml b/scene.yaml index c6f3a8d..f5200e0 100644 --- a/scene.yaml +++ b/scene.yaml @@ -12,50 +12,50 @@ lights: ambient: 1 sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: - order: function() { return feature.sort_rank; } + order: function() { return feature.sort_rank || 0; } color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: - order: function() { return feature.sort_rank; } + order: function() { return feature.sort_rank || 0; } color: '#aaffaa' interactive: true water: data: - source: mapzen + source: nextzen layer: water draw: polygons: - order: function() { return feature.sort_rank; } + order: function() { return feature.sort_rank || 0; } color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: not: {kind: [ferry, rail, path]} draw: lines: - order: function() { return feature.sort_rank; } + order: function() { return feature.sort_rank || 0; } color: gray width: 8 highway: @@ -77,11 +77,11 @@ layers: width: 5 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: - order: function() { return feature.sort_rank; } + order: function() { return feature.sort_rank || 0; } color: | function () { var h = feature.height || 20; diff --git a/shaders/color.yaml b/shaders/color.yaml index 283b3a0..a87587f 100644 --- a/shaders/color.yaml +++ b/shaders/color.yaml @@ -15,17 +15,17 @@ styles: color.b *= sin(pos.x + u_time * 1.5); sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -33,7 +33,7 @@ layers: color: '#ddeeee' water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -41,7 +41,7 @@ layers: color: '#88bbee' roads: data: - source: mapzen + source: nextzen layer: roads filter: { not: { kind: [path, ferry, rail] } } draw: @@ -57,7 +57,7 @@ layers: width: 12 buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/shaders/filter.yaml b/shaders/filter.yaml index 551c4b8..ff1323e 100644 --- a/shaders/filter.yaml +++ b/shaders/filter.yaml @@ -24,17 +24,17 @@ styles: color.rgb += filter; sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 18 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -43,7 +43,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/shaders/normal.yaml b/shaders/normal.yaml index 3c93e4d..7299312 100644 --- a/shaders/normal.yaml +++ b/shaders/normal.yaml @@ -30,17 +30,17 @@ styles: normal.x += sin(pos.x + u_time); sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: earth: data: - source: mapzen + source: nextzen layer: earth draw: polygons: @@ -49,7 +49,7 @@ layers: color: '#ddeeee' landuse: data: - source: mapzen + source: nextzen layer: landuse draw: polygons: @@ -59,7 +59,7 @@ layers: water: data: - source: mapzen + source: nextzen layer: water draw: polygons: @@ -69,7 +69,7 @@ layers: buildings: data: - source: mapzen + source: nextzen layer: buildings draw: polygons: diff --git a/shaders/position.yaml b/shaders/position.yaml index 4256c9a..d52be6c 100644 --- a/shaders/position.yaml +++ b/shaders/position.yaml @@ -24,9 +24,9 @@ styles: sources: osm: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-rtjEFK2 + api_key: 3XqXMjEdT2StnrIRJ4HYbg max_zoom: 16 layers: diff --git a/tutorials/custom/custom1.yaml b/tutorials/custom/custom1.yaml index 0eda2d0..3cfb43d 100644 --- a/tutorials/custom/custom1.yaml +++ b/tutorials/custom/custom1.yaml @@ -1,13 +1,13 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: lines: order: 1 diff --git a/tutorials/custom/custom10.yaml b/tutorials/custom/custom10.yaml index 2366e82..b65743a 100644 --- a/tutorials/custom/custom10.yaml +++ b/tutorials/custom/custom10.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _custom: @@ -11,7 +11,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: _custom: order: 1 diff --git a/tutorials/custom/custom11.yaml b/tutorials/custom/custom11.yaml index 5bb534d..1a6ec76 100644 --- a/tutorials/custom/custom11.yaml +++ b/tutorials/custom/custom11.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _custom: @@ -15,7 +15,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: _custom: order: 1 diff --git a/tutorials/custom/custom12.yaml b/tutorials/custom/custom12.yaml index 2895e08..a274573 100644 --- a/tutorials/custom/custom12.yaml +++ b/tutorials/custom/custom12.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _custom: @@ -15,7 +15,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: _custom: order: 1 diff --git a/tutorials/custom/custom13.yaml b/tutorials/custom/custom13.yaml index 469a8be..9f333b5 100644 --- a/tutorials/custom/custom13.yaml +++ b/tutorials/custom/custom13.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _custom: @@ -17,7 +17,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: _custom: order: 1 diff --git a/tutorials/custom/custom2.yaml b/tutorials/custom/custom2.yaml index e58b9dd..cc5d810 100644 --- a/tutorials/custom/custom2.yaml +++ b/tutorials/custom/custom2.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _dashes: @@ -12,7 +12,7 @@ styles: layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: lines: order: 1 diff --git a/tutorials/custom/custom3.yaml b/tutorials/custom/custom3.yaml index f228201..033161c 100644 --- a/tutorials/custom/custom3.yaml +++ b/tutorials/custom/custom3.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _dashes: @@ -12,7 +12,7 @@ styles: layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: _dashes: order: 1 diff --git a/tutorials/custom/custom4.yaml b/tutorials/custom/custom4.yaml index 9fb9616..dcc6fdd 100644 --- a/tutorials/custom/custom4.yaml +++ b/tutorials/custom/custom4.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _dashes: @@ -13,7 +13,7 @@ styles: layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: _dashes: order: 1 diff --git a/tutorials/custom/custom5.yaml b/tutorials/custom/custom5.yaml index bacd2dd..497113c 100644 --- a/tutorials/custom/custom5.yaml +++ b/tutorials/custom/custom5.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _dashes: @@ -13,7 +13,7 @@ styles: layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: _dashes: order: 1 diff --git a/tutorials/custom/custom6.yaml b/tutorials/custom/custom6.yaml index a7f6ce0..c28c6a7 100644 --- a/tutorials/custom/custom6.yaml +++ b/tutorials/custom/custom6.yaml @@ -1,13 +1,13 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: polygons: order: 1 diff --git a/tutorials/custom/custom7.yaml b/tutorials/custom/custom7.yaml index a9b669d..6d44e3c 100644 --- a/tutorials/custom/custom7.yaml +++ b/tutorials/custom/custom7.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _transparent: @@ -12,7 +12,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: polygons: order: 1 diff --git a/tutorials/custom/custom8.yaml b/tutorials/custom/custom8.yaml index e3545fd..08c5261 100644 --- a/tutorials/custom/custom8.yaml +++ b/tutorials/custom/custom8.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _transparent: @@ -12,7 +12,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: _transparent: order: 1 diff --git a/tutorials/custom/custom9.yaml b/tutorials/custom/custom9.yaml index de39601..432b51c 100644 --- a/tutorials/custom/custom9.yaml +++ b/tutorials/custom/custom9.yaml @@ -1,9 +1,9 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg styles: _transparent: @@ -12,7 +12,7 @@ styles: layers: buildings: - data: { source: mapzen } + data: { source: nextzen } draw: _transparent: order: 1 diff --git a/tutorials/editing-basemaps/editing-basemaps1.yaml b/tutorials/editing-basemaps/editing-basemaps1.yaml index 4046e0b..a2a7d3a 100644 --- a/tutorials/editing-basemaps/editing-basemaps1.yaml +++ b/tutorials/editing-basemaps/editing-basemaps1.yaml @@ -1,9 +1,9 @@ -import: https://mapzen.com/carto/walkabout-style/walkabout-style.yaml +import: https://www.nextzen.org/carto/walkabout-style/walkabout-style.yaml global: - # Sign up for a Mapzen API key to use the Mapzen basemaps - # https://mapzen.com/documentation/overview/#developer-accounts-and-api-keys - sdk_mapzen_api_key: mapzen-AvWa8DQ # set this value to your Mapzen API key + # Sign up for a Nextzen API key to use the Nextzen basemaps + # https://developers.nextzen.org + sdk_mapzen_api_key: 3XqXMjEdT2StnrIRJ4HYbg # set this value to your Nextzen API key sources: _mine: diff --git a/tutorials/editing-basemaps/editing-basemaps4.yaml b/tutorials/editing-basemaps/editing-basemaps4.yaml index 9f5424b..7381cda 100644 --- a/tutorials/editing-basemaps/editing-basemaps4.yaml +++ b/tutorials/editing-basemaps/editing-basemaps4.yaml @@ -1,9 +1,9 @@ -import: https://mapzen.com/carto/refill-style-no-labels/6/refill-style-no-labels.yaml +import: https://www.nextzen.org/carto/refill-style-no-labels/6/refill-style-no-labels.yaml 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: mapzen-AvWa8DQ # set this value to your Mapzen API key + # Sign up for a Nextzen API key to use these tilesets + # https://developers.nextzen.org + sdk_mapzen_api_key: 3XqXMjEdT2StnrIRJ4HYbg # set this value to your Nextzen API key layers: roads: diff --git a/tutorials/editing-basemaps/simple-basemap.yaml b/tutorials/editing-basemaps/simple-basemap.yaml index b71b50c..1917b6e 100644 --- a/tutorials/editing-basemaps/simple-basemap.yaml +++ b/tutorials/editing-basemaps/simple-basemap.yaml @@ -1,15 +1,15 @@ sources: - mapzen: + nextzen: type: TopoJSON - url: https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson + url: https://tile.nextzen.org/tilezen/vector/v1/256/all/{z}/{x}/{y}.topojson url_params: - api_key: mapzen-AvWa8DQ + api_key: 3XqXMjEdT2StnrIRJ4HYbg scene: background: color: white layers: roads: - data: { source: mapzen } + data: { source: nextzen } draw: lines: order: 0