fence: [0.827,0.808,0.780]
#
#landuse
- scene1: '#eee' # map background, water
water1: [0.83, 0.83, 0.83] # water
water2: [.75,.75,.75] # playa
water1_o: '#9dc3de' # water stroke
water2_o: '#9dc3de' # water stroke 2
- earth1: '#666' # land color
+ earth1: [0.870,0.870,0.870] # land color, used to set scene background color
earth1_r: '#666' # land color road
earth2: '#e9e4e0' # urban
earth2_v: false # urban
sources:
mapzen:
- # EraserMaps the app only supports MVT format tiles
- type: MVT #TopoJSONTiles topojson
- #url: http://vector.dev.mapzen.com/osm/all/{z}/{x}/{y}.mvt
- #enforce_winding: true #because Tangram v0.4 and tiles v0.5-pre don't play nice
- #url: //localhost:8080/osm/all/{z}/{x}/{y}.mvt
- url: https://vector.mapzen.com/osm/all/{z}/{x}/{y}.mvt?api_key=vector-tiles-P6dkVl4
- # road labels in Tangram JS are broken when overzooming, set max_zoom: 18 to preview fix
+ type: MVT
+ url: https://vector.mapzen.com/osm/all/{z}/{x}/{y}.mvt
+ # url: http://vector.dev.mapzen.com/osm/all/{z}/{x}/{y}.mvt
+ url_params:
+ api_key: vector-tiles-P6dkVl4
max_zoom: 16
# # Only enable this for local debug, should not be enabled for prod (app inserts these at runtime)
scene:
background:
- color: global.scene1
+ color: global.earth1
layers:
# Map overlays for styling the server response (using special source layer names) for route line, current location, and search result pins
width: 0px
# Basemap styling
- earth:
- data: { source: mapzen, layer: earth }
- draw:
- polygons:
- order: global.feature_order
- color: [0.870,0.870,0.870]
-
water:
data: { source: mapzen, layer: water }
draw: