React components for Leaflet maps
OTHER License
Bot releases are hidden (Show)
LeafletProvider
component from the core package.Published by PaulLeCam almost 2 years ago
Added support for mutable url
prop on TileLayer
(PR #1047 by goto-bus-stop)
Published by PaulLeCam about 2 years ago
eventHandlers
object being injected in WMS request URL.bounds
props on ImageOverlay
.Published by PaulLeCam about 2 years ago
Published by PaulLeCam over 2 years ago
Fix calling map.remove()
on MapContainer
unmounting.
Published by PaulLeCam over 2 years ago
Changes from v3:
useMapElement
hook.MapConsumer
component.whenCreated
property from the MapContainer
component (a ref
callback can be used instead).onOpen
and onClose
properties from Popup
and Tooltip
components.ref
in the MapContainer
and Pane
components.createLeafletContext
function to core.Published by PaulLeCam over 2 years ago
Updated Leaflet dependency to v1.8 beta.
Published by PaulLeCam over 2 years ago
Updated React dependencies to v18 stable.
Published by PaulLeCam over 2 years ago
createLeafletContext
function to core.Published by PaulLeCam over 2 years ago
useMapElement
hook.MapConsumer
component.whenCreated
property from the MapContainer
component.onOpen
and onClose
properties from Popup
and Tooltip
components.ref
in the MapContainer
and Pane
components.Published by PaulLeCam almost 3 years ago
Fix supporting mutable whenCreated
with unmounting MapContainer
.
Published by PaulLeCam almost 3 years ago
Fix removing the map handlers when MapContainer
is unmounted.
Published by PaulLeCam almost 3 years ago
Published by PaulLeCam over 3 years ago
style
prop of GeoJSON
mutable, this prop should be used instead of pathOptions
(pathOptions
can still be used but should be considered deprecated).bounds
prop being an instance of LatLngBounds
.Published by PaulLeCam over 3 years ago
Pane
component compatible with React's StrictMode
(PR #810 by zmbc)Published by PaulLeCam almost 4 years ago
Use useState
hook rather than useMemo
to store immutable values in MapContainer
and Pane
.
Published by PaulLeCam almost 4 years ago