2.0.0 • Published 2 years ago

react-leaflet-cursor-coordinates v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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