LarryD123's picture
Upload folder using huggingface_hub
d2efaca verified
import { createElementObject, createPathComponent, extendContext, updateCircle } from '@react-leaflet/core';
import { Circle as LeafletCircle } from 'leaflet';
export const Circle = createPathComponent(function createCircle({ center, children: _c, ...options }, ctx) {
const circle = new LeafletCircle(center, options);
return createElementObject(circle, extendContext(ctx, {
overlayContainer: circle
}));
}, updateCircle);