@evergis/react 2.0.122 → 2.0.123
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.cjs.development.js +2 -7
- package/dist/react.cjs.development.js.map +1 -1
- package/dist/react.cjs.production.min.js +1 -1
- package/dist/react.cjs.production.min.js.map +1 -1
- package/dist/react.esm.js +2 -7
- package/dist/react.esm.js.map +1 -1
- package/dist/symbols/mockFeatures.d.ts +0 -3
- package/package.json +5 -5
package/dist/react.esm.js
CHANGED
|
@@ -34,7 +34,6 @@ import { StaticImageSymbol } from '@evergis/sgis/es/symbols/point/StaticImageSym
|
|
|
34
34
|
import { SquareSymbol } from '@evergis/sgis/es/symbols/point/Square';
|
|
35
35
|
import { MaskedImage } from '@evergis/sgis/es/symbols/point/MaskedImage';
|
|
36
36
|
import { H3Symbol } from '@evergis/sgis/es/symbols/H3Symbol';
|
|
37
|
-
import { H3Feature } from '@evergis/sgis/es/features/H3Feature';
|
|
38
37
|
import { Canvas } from '@evergis/sgis/es/painters/DomPainter/Canvas';
|
|
39
38
|
import { sGisClickEvent } from '@evergis/sgis/es/commonEvents';
|
|
40
39
|
import { ClusterLayer as ClusterLayer$1 } from '@evergis/sgis/es/layers/ClusterLayer';
|
|
@@ -2794,9 +2793,6 @@ const lineFeature = /*#__PURE__*/new Polyline([[0, -57], [26, -57], [40, -35], [
|
|
|
2794
2793
|
const polygonFeature = /*#__PURE__*/new Polygon([[50, -15], [80, -33], [80, -67], [50, -85], [20, -67], [20, -33], [50, -15]], {
|
|
2795
2794
|
crs: plain
|
|
2796
2795
|
});
|
|
2797
|
-
const h3Feature = /*#__PURE__*/new H3Feature([50, -50], {
|
|
2798
|
-
crs: plain
|
|
2799
|
-
});
|
|
2800
2796
|
const lineLegendFeature = /*#__PURE__*/new Polyline([[0, -50], [100, -50]], {
|
|
2801
2797
|
crs: plain
|
|
2802
2798
|
});
|
|
@@ -2816,8 +2812,7 @@ const LEGEND_FEATURES = {
|
|
|
2816
2812
|
const MOCK_FEATURES = {
|
|
2817
2813
|
point: pointFeature,
|
|
2818
2814
|
polyline: lineFeature,
|
|
2819
|
-
polygon: polygonFeature
|
|
2820
|
-
h3: h3Feature
|
|
2815
|
+
polygon: polygonFeature
|
|
2821
2816
|
};
|
|
2822
2817
|
|
|
2823
2818
|
function getSymbolRenders(symbol, size, features) {
|
|
@@ -2842,7 +2837,7 @@ function getSymbolRenders(symbol, size, features) {
|
|
|
2842
2837
|
}
|
|
2843
2838
|
|
|
2844
2839
|
if (isSGisH3Symbol(symbol)) {
|
|
2845
|
-
return symbol.renderFunctionAsync(featuresToRender.
|
|
2840
|
+
return symbol.renderFunctionAsync(featuresToRender.polygon, resolution, plain);
|
|
2846
2841
|
}
|
|
2847
2842
|
|
|
2848
2843
|
return symbol.renderFunctionAsync(featuresToRender.point, resolution, plain);
|