Skip to content

Commit

Permalink
Fixed a type error
Browse files Browse the repository at this point in the history
  • Loading branch information
n1kPLV committed Sep 26, 2023
1 parent ab7ec3e commit 67064bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Website/src/app/components/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ function Map({
const markerIcon = new RotatingVehicleIcon(iconBase);
// place the marker initially at "null island"
markerRef.current[i] = L.marker([0, 0], {
icon: markerIcon,
rotationOrigin: "center"
icon: markerIcon
}).addTo(mapRef.current);
}
}
Expand Down

0 comments on commit 67064bf

Please sign in to comment.