Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 682 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 682 Bytes

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

working demo page

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' />