2.0.0 • Published 2 years ago
react-leaflet-cursor-coordinates v2.0.0
react-leaflet-cursor-coordinates
To install, run:
npm install --save react-leaflet-cursor-coordinates
Then in your working file, use the package as shown below
import CursorCoordinates from 'react-leaflet-cursor-coordinates'
<MapContainer
{/*more code here */}
>
CursorCoordinates />
</MapContainer>
The package depends on react and react-leaflet and thus assumes that you have already installed the pacakges
2.0.0
2 years ago