Skip to content

Commit

Permalink
DBC22-940: re-added alt text for my location pin on map
Browse files Browse the repository at this point in the history
  • Loading branch information
minORC authored and ray-oxd committed Nov 29, 2023
1 parent c4a46d5 commit b24063e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/Components/map/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit b24063e

Please sign in to comment.