diff --git a/src/frontend/src/Components/map/helper.js b/src/frontend/src/Components/map/helper.js index 2a0b9db5a..22fbc5b28 100644 --- a/src/frontend/src/Components/map/helper.js +++ b/src/frontend/src/Components/map/helper.js @@ -208,6 +208,7 @@ export const setLocationPin = (coordinates, svgMarkup, mapRef, pinRef) => { const svgImage = new Image(); svgImage.src = 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svgMarkup); + svgImage.alt = 'my location pin'; // Create an overlay for the marker const pinOverlay = new Overlay({