react-leaflet-cursor-coordinates
v2.0.0
Published
A simple react-leaflet package that renders cursor coordinates on mouse move
Maintainers
Readme
react-leaflet-cursor-coordinates
To install, run:
npm install --save react-leaflet-cursor-coordinatesThen 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
