Skip to content

Commit

Permalink
Fix async marker icon typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Mar 4, 2024
1 parent fac5648 commit f713ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leaflet/src/utils/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export function getMarkerIcon(colour: string, height: number, symbol?: Symbol, s
const result = new AsyncIcon({
iconUrl: (
isSymbolPreloaded(symbol) ? getMarkerUrlSync(colour, height, symbol, shape, highlight)
: getMarkerUrlSync(colour, height, symbol, shape, highlight)
: getMarkerUrl(colour, height, symbol, shape, highlight)
),
iconSize: [Math.round(shapeObj.width*scale), Math.round(SHAPE_HEIGHT*scale)],
iconAnchor: [Math.round(shapeObj.base[0]*scale), Math.round(shapeObj.base[1]*scale)],
Expand Down

0 comments on commit f713ace

Please sign in to comment.