# 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](https://github.com/tumerorkun/react-leaflet-components-examples.git)

[working demo page](https://tumerorkun.github.io/react-leaflet-components-examples/)


# Usage

### install package
```javascript
npm i react-leaflet-zoom-indicator
```

### import to project
```javascript
import { ReactLeafletZoomIndicator } from 'react-leaflet-zoom-indicator'
```

### use it in the map
```javascript
<ReactLeafletZoomIndicator head='zoom:' position='topleft' />
```
