diff --git a/img/map/lean_to.png b/img/map/lean_to.png new file mode 100644 index 0000000..21f3ca3 Binary files /dev/null and b/img/map/lean_to.png differ 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",