@evergis/react 2.0.134 → 2.0.135

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.
@@ -2793,7 +2793,7 @@ const pointFeature = /*#__PURE__*/new PointFeature.PointFeature([50, -50], {
2793
2793
  const lineFeature = /*#__PURE__*/new Polyline.Polyline([[0, -57], [26, -57], [40, -35], [60, -65], [74, -43], [100, -43]], {
2794
2794
  crs: Crs.plain
2795
2795
  });
2796
- const polygonFeature = /*#__PURE__*/new Polygon.Polygon([[50, -15], [80, -33], [80, -67], [50, -85], [20, -67], [20, -33], [50, -15]], {
2796
+ const polygonFeature = /*#__PURE__*/new Polygon.Polygon([[20, -20], [80, -20], [80, -80], [20, -80]], {
2797
2797
  crs: Crs.plain
2798
2798
  });
2799
2799
  const h3gridFeature = /*#__PURE__*/new H3Feature.H3Feature([[50, -15], [80, -33], [80, -67], [50, -85], [20, -67], [20, -33], [50, -15]], {
@@ -2837,7 +2837,7 @@ function getSymbolRenders(symbol, size, features) {
2837
2837
  const featuresToRender = _extends({}, MOCK_FEATURES, features);
2838
2838
 
2839
2839
  if (isSGisPolygonSymbol(symbol)) {
2840
- return symbol.renderFunctionAsync(featuresToRender.h3grid, resolution, Crs.plain);
2840
+ return symbol.renderFunctionAsync(featuresToRender.polygon, resolution, Crs.plain);
2841
2841
  }
2842
2842
 
2843
2843
  if (isSGisPolylineSymbol(symbol)) {
@@ -2845,7 +2845,7 @@ function getSymbolRenders(symbol, size, features) {
2845
2845
  }
2846
2846
 
2847
2847
  if (isSGisH3Symbol(symbol)) {
2848
- return symbol.renderFunctionAsync(featuresToRender.polygon, resolution, Crs.plain);
2848
+ return symbol.renderFunctionAsync(featuresToRender.h3grid, resolution, Crs.plain);
2849
2849
  }
2850
2850
 
2851
2851
  return symbol.renderFunctionAsync(featuresToRender.point, resolution, Crs.plain);
@@ -4940,8 +4940,8 @@ const Fullscreen = () => {
4940
4940
 
4941
4941
  var _templateObject$6, _templateObject2$5, _templateObject3$5, _templateObject4$4, _templateObject5$4, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject10$1, _templateObject11$1;
4942
4942
  const MapLegendControl = /*#__PURE__*/styled__default(MapControl)(_templateObject$6 || (_templateObject$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: default;\n"])));
4943
- const MapLegendContainer = /*#__PURE__*/styled__default.div(_templateObject2$5 || (_templateObject2$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n box-sizing: border-box;\n\n canvas {\n height: 1rem;\n width: 1rem;\n }\n"])));
4944
- const MapLegendHeader = /*#__PURE__*/styled__default(LegendSectionHeader)(_templateObject3$5 || (_templateObject3$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 0.25rem;\n font-weight: 500;\n"])));
4943
+ const MapLegendContainer = /*#__PURE__*/styled__default.div(_templateObject2$5 || (_templateObject2$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 12.5rem;\n box-sizing: border-box;\n\n canvas {\n height: 1rem;\n width: 1rem;\n }\n"])));
4944
+ const MapLegendHeader = /*#__PURE__*/styled__default(LegendSectionHeader)(_templateObject3$5 || (_templateObject3$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0.25rem 0;\n font-weight: 500;\n"])));
4945
4945
  const MapLegendValueDescr = /*#__PURE__*/styled__default.div(_templateObject4$4 || (_templateObject4$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 500;\n"])));
4946
4946
  const MapLegendItems = /*#__PURE__*/styled__default.div(_templateObject5$4 || (_templateObject5$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n border-radius: 0.125rem;\n overflow: hidden;\n"])));
4947
4947
  const MapLegendItem = /*#__PURE__*/styled__default.div(_templateObject6$2 || (_templateObject6$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: 1rem;\n background-color: ", ";\n border: 1px rgba(48, 69, 79, 0.1) solid;\n"])), _ref => {
@@ -5503,7 +5503,6 @@ exports.getDashStylePreset = getDashStylePreset;
5503
5503
  exports.getFeatureSymbol = getFeatureSymbol;
5504
5504
  exports.getLegendSymbolRenders = getLegendSymbolRenders;
5505
5505
  exports.getLineDash = getLineDash;
5506
- exports.getLineMiterRender = getLineMiterRender;
5507
5506
  exports.getMapLegendSymbolRenders = getMapLegendSymbolRenders;
5508
5507
  exports.getMapState = getMapState;
5509
5508
  exports.getParameterValue = getParameterValue;