diff --git a/js/mapController.js b/js/mapController.js index decdd6d..d53b96f 100644 --- a/js/mapController.js +++ b/js/mapController.js @@ -989,7 +989,7 @@ function onewayArrowsFilter(travelMode) { } function poiIconImageExpression(travelMode) { - var showHazards = travelMode === "canoe"; + let showHazards = travelMode === "canoe"; return [ "case", ['==', ["get", "amenity"], "ranger_station"], ["image", "ranger_station"],