From 86dabd23135ba1aa2526041225b2f75b820fd37d Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Wed, 14 Aug 2024 16:06:28 -0400 Subject: [PATCH] Add lean-to icon --- img/map/lean_to.png | Bin 0 -> 1108 bytes js/index.js | 1 + js/mapController.js | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 img/map/lean_to.png diff --git a/img/map/lean_to.png b/img/map/lean_to.png new file mode 100644 index 0000000000000000000000000000000000000000..21f3ca38e664e2a2c7f733accd70dc3cf9e28eb1 GIT binary patch literal 1108 zcmV-a1grarP)Dqmm#J>9Q_JDP0%M?p9h-Y>SAPf#&skvw$XG#E)k53&KtXNfUq?zzv97 zFBX!+LJEoWKp8L!$hF5ICxq+;0A0PB<_H-fWX}ZJq*%Dd$9u0FE$%vrH~WfD;}k*x>Vy?|N-o3NbvDz< zinwUKo_V|BUvoP|o#b#8WXAcqbbc~cEH2_3 zXbhXPwV|&2-sOuqs3)wz0vFOraoORwYc>~UNa(}^hdaP=*arm8{s|Fk!g!O&i1*IF zdZJDz`Ri?ap_AFs(Nee5iX5dN@==saFeO4xti*7uj-dgY#k8B=J5qtUt-fBRP7Z;{ z6M>_|ga~>0wvCx-{HfyjX=l$QHnDE!Z>*mIszJu37|6eY6-ccww@(~{bW#hDP6oM6 zYI|`owSIE@vO%O%ZiAdHQqIWPNGIG_shdD!=_uo`MYDrciqLrO_%S7*; zyg-tP9}*S5{n%p#%5l0srVuiqo|w!QdhY~8L`7n$Er~E}0aoK;GU>6W?<9)FPpTZ? zv6o5|%z7hfs4W=J5cwGCgh;SNO13gfozQfNiBC8ZLi&!N^gD@uSC9J9jDAL%Pt>Gt zWEZ?(gLqmrxd7QZq)CPVgZx*7{_rm@J~4?3Sjd~)34P*czff2IGaRG@U-J0`AnFp# zYxrwn828H&BHK$~RTzkHDH^!}v&ShV0+VJuK literal 0 HcmV?d00001 diff --git a/js/index.js b/js/index.js index 395a122..f9fe402 100644 --- a/js/index.js +++ b/js/index.js @@ -493,6 +493,7 @@ window.onload = function(event) { 'disallowed-stripes', 'ferry', 'guidepost', + 'lean_to', 'lock', 'lock-canoeable', 'lock-hazard', diff --git a/js/mapController.js b/js/mapController.js index bc6f4aa..f97d493 100644 --- a/js/mapController.js +++ b/js/mapController.js @@ -1059,8 +1059,8 @@ function poiIconImageExpression(travelMode) { ['==', ["get", "tourism"], "camp_site"], ["image", "campground"], ['==', ["get", "tourism"], "caravan_site"], ["image", "campground"], ['==', ["get", "tourism"], "camp_pitch"], ["image", "campsite"], - ['==', ["get", "shelter_type"], "lean_to"], ["image", "campsite"], - ['==', ["get", "tourism"], "wilderness_hut"], ["image", "campsite"], + ['==', ["get", "shelter_type"], "lean_to"], ["image", "lean_to"], + ['==', ["get", "tourism"], "wilderness_hut"], ["image", "lean_to"], ['==', ["get", "tourism"], "viewpoint"], ["image", "viewpoint"], [ "any",