Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
fix(CircleMarker): use latitude
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiya10 committed Feb 6, 2024
1 parent 37ec759 commit e5f61e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/component/CircleMarker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const updateCircle = () => {
lnglatInPixel.value = props.map.project([props.lng, props.lat]);
const newValue = kmToPixels(props.radius, 23, props.map.getZoom());
const newValue = kmToPixels(props.radius, props.lat, props.map.getZoom());
if (newValue <= 0) {
radiusInPixel.value = 0;
Expand Down

0 comments on commit e5f61e7

Please sign in to comment.