@evergis/react 2.0.122 → 2.0.124

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
@@ -2794,7 +2794,7 @@ const lineFeature = /*#__PURE__*/new Polyline([[0, -57], [26, -57], [40, -35], [
2794
2794
  const polygonFeature = /*#__PURE__*/new Polygon([[50, -15], [80, -33], [80, -67], [50, -85], [20, -67], [20, -33], [50, -15]], {
2795
2795
  crs: plain
2796
2796
  });
2797
- const h3Feature = /*#__PURE__*/new H3Feature([50, -50], {
2797
+ const h3gridFeature = /*#__PURE__*/new H3Feature([[50, -15], [80, -33], [80, -67], [50, -85], [20, -67], [20, -33], [50, -15]], {
2798
2798
  crs: plain
2799
2799
  });
2800
2800
  const lineLegendFeature = /*#__PURE__*/new Polyline([[0, -50], [100, -50]], {
@@ -2811,13 +2811,14 @@ const MAP_LEGEND_FEATURES = {
2811
2811
  };
2812
2812
  const LEGEND_FEATURES = {
2813
2813
  polyline: lineLegendFeature,
2814
- polygon: polygonLegendFeature
2814
+ polygon: polygonLegendFeature,
2815
+ h3grid: h3gridFeature
2815
2816
  };
2816
2817
  const MOCK_FEATURES = {
2817
2818
  point: pointFeature,
2818
2819
  polyline: lineFeature,
2819
2820
  polygon: polygonFeature,
2820
- h3: h3Feature
2821
+ h3grid: h3gridFeature
2821
2822
  };
2822
2823
 
2823
2824
  function getSymbolRenders(symbol, size, features) {
@@ -2842,7 +2843,7 @@ function getSymbolRenders(symbol, size, features) {
2842
2843
  }
2843
2844
 
2844
2845
  if (isSGisH3Symbol(symbol)) {
2845
- return symbol.renderFunctionAsync(featuresToRender.h3, resolution, plain);
2846
+ return symbol.renderFunctionAsync(featuresToRender.h3grid, resolution, plain);
2846
2847
  }
2847
2848
 
2848
2849
  return symbol.renderFunctionAsync(featuresToRender.point, resolution, plain);