Download tmp-demo-frontend/node_modules/react-leaflet/lib/CircleMarker.js from LarryD123/OurData: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/datasets/LarryD123/OurData/resolve/main/tmp-demo-frontend/node_modules/react-leaflet/lib/CircleMarker.js
- Command line
-
hf download hf://datasets/LarryD123/OurData/tmp-demo-frontend/node_modules/react-leaflet/lib/CircleMarker.js
-
curl -L -o CircleMarker.js https://huggingface.co/datasets/LarryD123/OurData/resolve/main/tmp-demo-frontend/node_modules/react-leaflet/lib/CircleMarker.js
474 Bytes
| import { createElementObject, createPathComponent, extendContext, updateCircle } from '@react-leaflet/core'; | |
| import { CircleMarker as LeafletCircleMarker } from 'leaflet'; | |
| export const CircleMarker = createPathComponent(function createCircleMarker({ center, children: _c, ...options }, ctx) { | |
| const marker = new LeafletCircleMarker(center, options); | |
| return createElementObject(marker, extendContext(ctx, { | |
| overlayContainer: marker | |
| })); | |
| }, updateCircle); | |