Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
add working satellite map
Browse files Browse the repository at this point in the history
fixes #72 and it is one of steps toward streetcomplete/StreetComplete#56
  • Loading branch information
matkoniecz committed Aug 21, 2019
1 parent 613ce55 commit 04745b6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions streetcomplete-satellite-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@ import:
# - global.yaml
# - layers/labels.yaml

# layer docs: https://raw.githubusercontent.com/osmlab/editor-layer-index/74501812b31cca1c3505d7e942c5188c63adf5b2/sources/world/EsriImagery.geojson

sources:
mapbox-satellite:
raster:
type: Raster
url: https://api.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.png
url_params:
access_token: pk.eyJ1IjoiZW50OHIiLCJhIjoiY2o5aXBvZGI1MGMyZzJxbjJtNGxzZzllYiJ9.7vUh6rE_BUG1RdfEqQdtCg

url: https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
layers:
terrain:
data: { source: mapbox-satellite }
raster:
data: { source: raster }
draw:
raster:
order: 0

0 comments on commit 04745b6

Please sign in to comment.