react-leaflet-zoom-indicator

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i react-leaflet-zoom-indicator

Weekly Downloads

2

Version

0.1.2

License

MIT

Unpacked Size

14.2 kB

Total Files

10

Last publish

Collaborators

  • tumerorkun