Skip to content

Commit

Permalink
Add aerial imagery layer
Browse files Browse the repository at this point in the history
  • Loading branch information
russss committed Mar 22, 2024
1 parent 4e66715 commit 8bece2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class EventMap {
Background: 'background_',
Slope: 'slope',
Hillshade: 'hillshade',
'Aerial Imagery': 'ortho',
Structures: 'structures_',
Paths: 'paths_',
'Buried Services': 'services_',
Expand Down
10 changes: 10 additions & 0 deletions web/src/map_style.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"type": "raster",
"tiles": ["https://map.emfcamp.org/data/hillshade/{z}/{x}/{y}"],
"attribution": "Elevation data © Environment Agency 2022. All rights reserved."
},
"ortho": {
"type": "raster",
"tiles": ["https://map.emfcamp.org/data/ortho/{z}/{x}/{y}"]
}
},
"sprite": "https://openmaptiles.github.io/positron-gl-style/sprite",
Expand Down Expand Up @@ -1270,6 +1274,12 @@
"source": "hillshade",
"minzoom": 5
},
{
"id": "ortho",
"type": "raster",
"source": "ortho",
"minzoom": 15
},
{
"id": "background_areas_backstage",
"type": "fill",
Expand Down

0 comments on commit 8bece2c

Please sign in to comment.