Skip to content

Commit

Permalink
Fix POI sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Aug 8, 2024
1 parent 5c9a294 commit b0399d8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions js/mapController.js
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,12 @@ function loadTrailLayers() {
"symbol-sort-key": [
"case",
['==', ["get", "man_made"], "monitoring_station"], 1,
['==', ["get", "amenity"], "ranger_station"], 2,
['==', ["get", "information"], "camp_site"], 3,
['==', ["get", "tourism"], "camp_site"], 2,
['==', ["get", "amenity"], "ranger_station"], 3,
['==', ["get", "highway"], "trailhead"], 4,
['==', ["get", "information"], "camp_pitch"], 5,
['==', ["get", "tourism"], "camp_pitch"], 5,
['==', ["get", "tourism"], "wilderness_hut"], 5,
['==', ["get", "shelter_type"], "lean_to"], 5,
['==', ["get", "information"], "guidepost"], 19,
['==', ["get", "man_made"], "cairn"], 20,
['==', ["get", "information"], "route_marker"], 20,
Expand Down

0 comments on commit b0399d8

Please sign in to comment.