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