You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more details on how to use this plugin check out the examples [example](examples).
@@ -68,9 +143,13 @@ You can pass more options on draw object, this informations can be found [here](
68
143
This package is specifically designed for React 19 and react-leaflet v5. Key changes from the original react-leaflet-draw:
69
144
70
145
- Uses `MapContainer` instead of `Map`
71
-
- Requires passing the `featureGroup` prop to `EditControl` with the actual Leaflet FeatureGroup instance
146
+
-**Requires passing the `featureGroup` prop to `EditControl` with the actual Leaflet FeatureGroup instance**
72
147
- Compatible with the new hooks-based architecture of react-leaflet v5
73
148
149
+
### Breaking Changes
150
+
151
+
⚠️ **Important**: The `featureGroup` prop is now **required** for proper functionality with react-leaflet v5. This is a breaking change from previous versions.
152
+
74
153
## EditControl API
75
154
76
155
#### Props
@@ -80,7 +159,7 @@ This package is specifically designed for React 19 and react-leaflet v5. Key cha
0 commit comments