mirror of
https://github.com/sstent/aicyclingcoach-go.git
synced 2026-01-29 10:31:43 +00:00
sync
This commit is contained in:
8
node_modules/@react-leaflet/core/lib/circle.js
generated
vendored
Normal file
8
node_modules/@react-leaflet/core/lib/circle.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export function updateCircle(layer, props, prevProps) {
|
||||
if (props.center !== prevProps.center) {
|
||||
layer.setLatLng(props.center);
|
||||
}
|
||||
if (props.radius != null && props.radius !== prevProps.radius) {
|
||||
layer.setRadius(props.radius);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user