@opengeoweb/webmap-react 20.0.1-nightly-20261004 → 20.0.1-nightly-20261006
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/dist/index.esm.js +3 -2
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -11528,8 +11528,9 @@ var OpenLayersMapDraw = function OpenLayersMapDraw(_ref) {
|
|
|
11528
11528
|
}
|
|
11529
11529
|
// Transform back to orig
|
|
11530
11530
|
var splitResultAsGeoJson = geojsonFormatter.writeFeaturesObject(geojsonFormatterNoTransform.readFeatures(splitResult));
|
|
11531
|
-
//
|
|
11532
|
-
|
|
11531
|
+
// Round like updateFeature does, so a later edit of one part does not
|
|
11532
|
+
// move the shared edge away from the other part.
|
|
11533
|
+
var splitFeatures = keepIdentityOnFirstSplitFeature(splitResultAsGeoJson.features.map(roundFeatureCoordinates), selectedFeature);
|
|
11533
11534
|
// Assemble the result.
|
|
11534
11535
|
var newGeoJson = _objectSpread2(_objectSpread2({}, geojson), {}, {
|
|
11535
11536
|
features: [].concat(_toConsumableArray(geojson.features.slice(0, selectedFeatureIndex)), _toConsumableArray(splitFeatures), _toConsumableArray(geojson.features.slice(selectedFeatureIndex + 1)))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/webmap-react",
|
|
3
|
-
"version": "20.0.1-nightly-
|
|
3
|
+
"version": "20.0.1-nightly-20261006",
|
|
4
4
|
"description": "GeoWeb react wrapper for webmap",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@opengeoweb/webmap": "20.0.1-nightly-
|
|
24
|
-
"@opengeoweb/theme": "20.0.1-nightly-
|
|
25
|
-
"@opengeoweb/shared": "20.0.1-nightly-
|
|
23
|
+
"@opengeoweb/webmap": "20.0.1-nightly-20261006",
|
|
24
|
+
"@opengeoweb/theme": "20.0.1-nightly-20261006",
|
|
25
|
+
"@opengeoweb/shared": "20.0.1-nightly-20261006",
|
|
26
26
|
"lodash": "^4.18.1",
|
|
27
27
|
"ol": "^10.4.0",
|
|
28
28
|
"proj4": "^2.9.2",
|