@evergis/react 2.0.104 → 2.0.105
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/react.esm.js
CHANGED
|
@@ -3222,12 +3222,13 @@ function useEvergisDynamicLayer(_ref) {
|
|
|
3222
3222
|
}, api),
|
|
3223
3223
|
destructor: layer => map.indexOf(layer) !== -1 && map.removeLayer(layer),
|
|
3224
3224
|
update: (layer, _ref2) => {
|
|
3225
|
-
let [name, style, condition] = _ref2;
|
|
3225
|
+
let [name, style, condition, dataFilterId] = _ref2;
|
|
3226
3226
|
layer.name = name;
|
|
3227
3227
|
layer.style = style;
|
|
3228
3228
|
layer.condition = condition;
|
|
3229
|
+
layer.dataFilterId = dataFilterId;
|
|
3229
3230
|
}
|
|
3230
|
-
}, [name, style, condition]);
|
|
3231
|
+
}, [name, style, condition, dataFilterId]);
|
|
3231
3232
|
useLayerOrder(layer, zIndex);
|
|
3232
3233
|
useLayerVisibility(layer, isDisplayed);
|
|
3233
3234
|
useLayerOpacity(layer, opacity);
|