@opengeoweb/webmap-react 20.0.0-nightly-20260923 → 20.0.0-nightly-20260925
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
CHANGED
|
@@ -6276,7 +6276,7 @@ var createInterSections = function createInterSections(geojson, otherGeoJSON) {
|
|
|
6276
6276
|
return intersections;
|
|
6277
6277
|
};
|
|
6278
6278
|
// Feature properties which should never be persisted
|
|
6279
|
-
var TRANSIENT_FEATURE_PROPERTIES = ['isSelected', 'highlightSelectedFeature', 'highlightNearbyFeature', 'hover', 'boxSelectPreview', 'isReadonly'];
|
|
6279
|
+
var TRANSIENT_FEATURE_PROPERTIES = ['isSelected', 'highlightSelectedFeature', 'highlightNearbyFeature', 'hover', 'boxSelectPreview', 'isReadonly', 'isHoverDisabled'];
|
|
6280
6280
|
/**
|
|
6281
6281
|
* Removes the passed properties from the features of a feature collection
|
|
6282
6282
|
* @param geoJSON feature collection
|
|
@@ -7943,7 +7943,7 @@ var FeatureLayer = function FeatureLayer(_ref) {
|
|
|
7943
7943
|
return;
|
|
7944
7944
|
}
|
|
7945
7945
|
var hoveredFeature = map.forEachFeatureAtPixel(evt.pixel, function (feature, layer) {
|
|
7946
|
-
if (!layer || (layer === null || layer === void 0 ? void 0 : layer.getSource()) !== source) {
|
|
7946
|
+
if (!layer || (layer === null || layer === void 0 ? void 0 : layer.getSource()) !== source || feature.get('isHoverDisabled')) {
|
|
7947
7947
|
return false;
|
|
7948
7948
|
}
|
|
7949
7949
|
return feature;
|
|
@@ -73,7 +73,7 @@ export declare const isPointFeatureCollection: (geojson: GeoJSON.FeatureCollecti
|
|
|
73
73
|
* @returns GeoJSONS extend with intersections
|
|
74
74
|
*/
|
|
75
75
|
export declare const createInterSections: (geojson: GeoJSON.FeatureCollection, otherGeoJSON: GeoJSON.FeatureCollection, geoJSONproperties?: GeoJSON.GeoJsonProperties, proj?: string) => GeoJSON.FeatureCollection;
|
|
76
|
-
export declare const TRANSIENT_FEATURE_PROPERTIES: readonly ["isSelected", "highlightSelectedFeature", "highlightNearbyFeature", "hover", "boxSelectPreview", "isReadonly"];
|
|
76
|
+
export declare const TRANSIENT_FEATURE_PROPERTIES: readonly ["isSelected", "highlightSelectedFeature", "highlightNearbyFeature", "hover", "boxSelectPreview", "isReadonly", "isHoverDisabled"];
|
|
77
77
|
/**
|
|
78
78
|
* Removes the passed properties from the features of a feature collection
|
|
79
79
|
* @param geoJSON feature collection
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/webmap-react",
|
|
3
|
-
"version": "20.0.0-nightly-
|
|
3
|
+
"version": "20.0.0-nightly-20260925",
|
|
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.0-nightly-
|
|
24
|
-
"@opengeoweb/theme": "20.0.0-nightly-
|
|
25
|
-
"@opengeoweb/shared": "20.0.0-nightly-
|
|
23
|
+
"@opengeoweb/webmap": "20.0.0-nightly-20260925",
|
|
24
|
+
"@opengeoweb/theme": "20.0.0-nightly-20260925",
|
|
25
|
+
"@opengeoweb/shared": "20.0.0-nightly-20260925",
|
|
26
26
|
"lodash": "^4.18.1",
|
|
27
27
|
"ol": "^10.4.0",
|
|
28
28
|
"proj4": "^2.9.2",
|