Skip to content

Commit

Permalink
Merge pull request #158 from tangrams/nvkelso/nextzen
Browse files Browse the repository at this point in the history
nextzen resources
  • Loading branch information
nvkelso authored Mar 16, 2018
2 parents f605738 + fa565e6 commit 1ef0aa0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
6.0.0
2 changes: 1 addition & 1 deletion components/globals.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<!-- production -->
<script src="https://www.nextzen.org/tangram/0.14/tangram.min.js"></script>
<!-- production debug -->
<!-- <script src="https://mapzen.com/tangram/0.14/tangram.debug.js"></script> -->
<!-- <script src="https://www.nextzen.org/tangram/0.14/tangram.debug.js"></script> -->
<!-- dev -->
<!-- <script src="https://precog.mapzen.com/tangrams/tangram/master/dist/tangram.debug.js"></script> -->
<!-- dev branch -->
Expand Down Expand Up @@ -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;
}

Expand Down
10 changes: 5 additions & 5 deletions tron-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ import:
sources:
mapzen:
type: MVT
url: https://tile.nextzen.org/tilezen/vector/v1/256/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_api_key
rasters: [normals-elevation]
tile_size: 256
tile_size: 512
max_zoom: 16
normals-elevation:
type: Raster
url: https://tile.nextzen.org/tilezen/terrain/v1/256/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_api_key
tile_size: 256
tile_size: 512
max_zoom: 14

# Only enable this for local debug, should not be enabled for prod (app inserts these at runtime)
Expand Down Expand Up @@ -118,4 +118,4 @@ cameras:
scene:
animated: global.sdk_animated
background:
color: '#364d6d'
color: '#364d6d'

0 comments on commit 1ef0aa0

Please sign in to comment.