react-leaflet-zoom-indicator
v0.1.2
Published
React component to display and change the current zoom level of a leaflet map.
Downloads
35
Maintainers
Readme
react-leaflet-zoom-indicator
React component to display and change the current zoom level of a leaflet map.
Supports react-leaflet v1 and v2
You can see an example project on react-leaflet-components-examples repository
Usage
install package
npm i react-leaflet-zoom-indicator
import to project
import { ReactLeafletZoomIndicator } from 'react-leaflet-zoom-indicator'
use it in the map
<ReactLeafletZoomIndicator head='zoom:' position='topleft' />