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