leaflet-full-map
v1.1.0
Published
A reusable full-screen map component for React with Leaflet.
Downloads
117
Readme
Leaflet-Full_map Map React Component
A reusable full-screen map component for React with Leaflet.
Installation
npm install leaflet-full-map
## How to Use
# import FullScreenWrapper from 'leaflet-full-map'
# <FullScreenWrapper style={{ height: '70vh', width: '100%' }} icon={your icons}>
# <MapContainer center={[currLat, currLong]} zoom={13} style={{ height: '100%', width: '100%' }}>
# <TileLayer url="" />
# # your Marker
# </MapContainer>
# </FullScreenWrapper>