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.
Demo MyRoutes.io or in examples folder
yarn add react-leaflet-fullscreen-control
// Import the package
import 'react-leaflet-fullscreen-control'
// Inside your <Map> component add fullscreenControl
<Map
fullscreenControl />