diff --git a/src/css/map-buttons.css b/src/css/map-buttons.css index 8d9005c5..cc9ab3b4 100644 --- a/src/css/map-buttons.css +++ b/src/css/map-buttons.css @@ -297,7 +297,7 @@ background-position: center; position: fixed; left: calc(50vw - 25px); - top: calc((100vh - 72px - var(--safe-area-inset-bottom))/2 - 25px); + top: calc((100vh - 52px - var(--safe-area-inset-bottom))/2 - 25px); pointer-events: none; } diff --git a/src/js/directions/directions-styles.js b/src/js/directions/directions-styles.js index 24985223..f648eb96 100644 --- a/src/js/directions/directions-styles.js +++ b/src/js/directions/directions-styles.js @@ -150,6 +150,7 @@ const layers = [ type: "symbol", source: "maplibre-gl-directions", layout: { + "icon-allow-overlap": true, "icon-image": "routeDepartureIcon", "icon-size": [ "interpolate", @@ -170,6 +171,7 @@ const layers = [ type: "symbol", source: "maplibre-gl-directions", layout: { + "icon-allow-overlap": true, "icon-image": "routeDestinationIcon", "icon-size": [ "interpolate",