From b0399d8edf26b19d5165a41d38e2f4aca504c234 Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Thu, 8 Aug 2024 10:40:24 -0400 Subject: [PATCH] Fix POI sort order --- js/mapController.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/js/mapController.js b/js/mapController.js index b71c111..da920ab 100644 --- a/js/mapController.js +++ b/js/mapController.js @@ -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,