Download tmp-demo-frontend/node_modules/react-leaflet/lib/ScaleControl.js from LarryD123/OurData: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/datasets/LarryD123/OurData/resolve/main/tmp-demo-frontend/node_modules/react-leaflet/lib/ScaleControl.js
- Command line
-
hf download hf://datasets/LarryD123/OurData/tmp-demo-frontend/node_modules/react-leaflet/lib/ScaleControl.js
-
curl -L -o ScaleControl.js https://huggingface.co/datasets/LarryD123/OurData/resolve/main/tmp-demo-frontend/node_modules/react-leaflet/lib/ScaleControl.js
226 Bytes
| import { createControlComponent } from '@react-leaflet/core'; | |
| import { Control } from 'leaflet'; | |
| export const ScaleControl = createControlComponent(function createScaleControl(props) { | |
| return new Control.Scale(props); | |
| }); | |