@open-pioneer/feature-editing 1.3.0-dev.20260422120518 → 1.3.0-dev.20260512095810
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +3 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -15,6 +15,7 @@ It supports creating, modifying, and deleting features with declarative form con
|
|
|
15
15
|
- **Undo/redo**: Built-in support for geometry editing history
|
|
16
16
|
|
|
17
17
|
The Editing works with all vector layer sources and can therefore be used with any layer type that supports feature selection, such as `GeoJSON`, `WFS`, or `OGC API Features`.
|
|
18
|
+
To save feature edits, a `FeatureWriter` ([see below](#FeatureWriter)) has to be implemented.
|
|
18
19
|
As the package does not manage feature storage or how changes are applied to the map, it fits a wide range of data management strategies and provides full flexibility to the using app.
|
|
19
20
|
|
|
20
21
|
## Usage
|
|
@@ -261,6 +262,8 @@ function useEditingSetup(map: MapModel) {
|
|
|
261
262
|
The editor does not manage the lifetime of any features in the map, except for the feature currently being edited.
|
|
262
263
|
To persist changes made by the editor, you must implement the `FeatureWriter` interface.
|
|
263
264
|
|
|
265
|
+
Note: there is currently no prepared FeatureWriter implementation for `WFS` or `OGC API Features` services available.
|
|
266
|
+
|
|
264
267
|
The interface is flexible enough to work in many scenarios:
|
|
265
268
|
|
|
266
269
|
- Transient client side state (e.g. an in-memory collection used for a `VectorSource`)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/feature-editing",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.20260512095810",
|
|
5
5
|
"description": "Provides a component to create and edit feature geometries and properties.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"react": "^19.2.5",
|
|
27
27
|
"ol": "^10.9.0",
|
|
28
28
|
"react-icons": "^5.6.0",
|
|
29
|
-
"@open-pioneer/map": "1.3.0-dev.
|
|
29
|
+
"@open-pioneer/map": "1.3.0-dev.20260512095810"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
"./package.json": "./package.json",
|