@evergis/react 2.0.109 → 2.0.110

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
@@ -3207,7 +3207,9 @@ function useEvergisDynamicLayer(_ref) {
3207
3207
  condition,
3208
3208
  isDisplayed,
3209
3209
  opacity,
3210
- dataFilterId
3210
+ dataFilterId,
3211
+ onLoadStart,
3212
+ onLoadEnd
3211
3213
  } = _ref;
3212
3214
  const api = useEvergisContext();
3213
3215
  const {
@@ -3218,7 +3220,9 @@ function useEvergisDynamicLayer(_ref) {
3218
3220
  name,
3219
3221
  condition,
3220
3222
  style,
3221
- dataFilterId
3223
+ dataFilterId,
3224
+ onLoadStart,
3225
+ onLoadEnd
3222
3226
  }, api),
3223
3227
  destructor: layer => map.indexOf(layer) !== -1 && map.removeLayer(layer),
3224
3228
  update: (layer, _ref2) => {
@@ -3228,7 +3232,7 @@ function useEvergisDynamicLayer(_ref) {
3228
3232
  layer.condition = condition;
3229
3233
  layer.dataFilterId = dataFilterId;
3230
3234
  }
3231
- }, [name, style, condition, dataFilterId]);
3235
+ }, [name, style, condition, dataFilterId, onLoadStart, onLoadEnd]);
3232
3236
  useLayerOrder(layer, zIndex);
3233
3237
  useLayerVisibility(layer, isDisplayed);
3234
3238
  useLayerOpacity(layer, opacity);