Skip to content

Commit

Permalink
Specific icon for nature reserves
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jul 30, 2024
1 parent aa21270 commit 3bc1f18
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file added img/map/nature_reserve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ window.onload = function(event) {
'guidepost',
'lock',
'lock-canoeable',
'nature_reserve',
'oneway-arrow-right',
'oneway-arrow-left',
'question',
Expand Down
1 change: 1 addition & 0 deletions js/mapController.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ function loadTrailLayers(name) {
"icon-image": [
"case",
['in', ["get", "boundary"], ["literal", ["protected_area", "national_park"]]], ["image", "protected_area"],
['==', ["get", "leisure"], "nature_reserve"], ["image", "nature_reserve"],
["image", "park"],
],
"icon-size": [
Expand Down

0 comments on commit 3bc1f18

Please sign in to comment.