Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 628 Bytes

File metadata and controls

29 lines (19 loc) · 628 Bytes

react-leaflet-fullscreen-control

Plugin for React-Leaflet to display fullscreen control

Thanks to https://github.com/Leaflet/Leaflet.fullscreen on which this react plugin is 100% based on.

Example

Demo MyRoutes.io or in examples folder

Installation

yarn add react-leaflet-fullscreen-control
// Import the package
import 'react-leaflet-fullscreen-control'

// Inside your <Map> component add fullscreenControl
<Map
  fullscreenControl />

Dependencies