Skip to content

Commit

Permalink
fix: fix markerIcon size on mobile sizes by adding iconSize and iconA…
Browse files Browse the repository at this point in the history
…nchor
  • Loading branch information
meagharty committed Aug 6, 2024
1 parent 2593fa6 commit a668457
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/src/components/StopViewMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ const markerIcon = icon({
iconUrl: "/images/marker-icon.png",
iconRetinaUrl: "/images/marker-icon-2x.png",
shadowUrl: "/images/marker-shadow.png",
iconSize: [25, 41],
iconAnchor: [12, 41],
})

const StopViewMap = ({ stop }: { stop?: Stop }) => {
Expand Down

0 comments on commit a668457

Please sign in to comment.