@evergis/react 2.0.213 → 2.0.214

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
@@ -2634,6 +2634,7 @@ function useEvergisDynamicLayer(_ref) {
2634
2634
  name,
2635
2635
  zIndex,
2636
2636
  style,
2637
+ crs,
2637
2638
  condition,
2638
2639
  isDisplayed,
2639
2640
  opacity,
@@ -2650,19 +2651,21 @@ function useEvergisDynamicLayer(_ref) {
2650
2651
  name,
2651
2652
  condition,
2652
2653
  style,
2654
+ crs,
2653
2655
  dataFilterId,
2654
2656
  onLoadStart,
2655
2657
  onLoadEnd
2656
2658
  }, api),
2657
2659
  destructor: layer => map.indexOf(layer) !== -1 && map.removeLayer(layer),
2658
2660
  update: (layer, _ref2) => {
2659
- let [name, style, condition, dataFilterId] = _ref2;
2661
+ let [name, style, condition, crs = webMercator, dataFilterId] = _ref2;
2660
2662
  layer.name = name;
2661
2663
  layer.style = style;
2662
2664
  layer.condition = condition;
2663
2665
  layer.dataFilterId = dataFilterId;
2666
+ layer.crs = crs;
2664
2667
  }
2665
- }, [name, style, condition, dataFilterId, onLoadStart, onLoadEnd]);
2668
+ }, [name, style, condition, crs, dataFilterId]);
2666
2669
  useLayerOrder(layer, zIndex);
2667
2670
  useLayerVisibility(layer, isDisplayed);
2668
2671
  useLayerOpacity(layer, opacity);