@evergis/react 2.0.179 → 2.0.180
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 +8 -3
- 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 +8 -3
- package/dist/react.esm.js.map +1 -1
- package/dist/symbols/mockFeatures.d.ts +4 -2
- package/dist/symbols/types.d.ts +2 -1
- package/package.json +5 -5
package/dist/react.esm.js
CHANGED
|
@@ -38,7 +38,9 @@ import { StaticImageSymbol } from '@evergis/sgis/es/symbols/point/StaticImageSym
|
|
|
38
38
|
import { SquareSymbol } from '@evergis/sgis/es/symbols/point/Square';
|
|
39
39
|
import { MaskedImage } from '@evergis/sgis/es/symbols/point/MaskedImage';
|
|
40
40
|
import { H3Symbol } from '@evergis/sgis/es/symbols/H3Symbol';
|
|
41
|
+
import { CombinedPolylineSymbol } from '@evergis/sgis/es/symbols/CombinedPolylineSymbol';
|
|
41
42
|
import { H3Feature } from '@evergis/sgis/es/features/H3Feature';
|
|
43
|
+
import { CombinedPolyline } from '@evergis/sgis/es/features/CombinedPolyline';
|
|
42
44
|
import { Canvas } from '@evergis/sgis/es/painters/DomPainter/Canvas';
|
|
43
45
|
import { sGisClickEvent } from '@evergis/sgis/es/commonEvents';
|
|
44
46
|
import { ClusterLayer as ClusterLayer$1 } from '@evergis/sgis/es/layers/ClusterLayer';
|
|
@@ -4159,7 +4161,7 @@ function isSGisH3Symbol(symbol) {
|
|
|
4159
4161
|
return symbol instanceof H3Symbol;
|
|
4160
4162
|
}
|
|
4161
4163
|
function isSGisCombinedPolylineSymbol(symbol) {
|
|
4162
|
-
return symbol
|
|
4164
|
+
return symbol instanceof CombinedPolylineSymbol;
|
|
4163
4165
|
}
|
|
4164
4166
|
function isSGisClusterSymbol(symbol) {
|
|
4165
4167
|
return !!symbol.singleObjectSymbol;
|
|
@@ -4177,6 +4179,9 @@ const pointFeature = /*#__PURE__*/new PointFeature([50, -50], {
|
|
|
4177
4179
|
const lineFeature = /*#__PURE__*/new Polyline([[0, -57], [26, -57], [40, -35], [60, -65], [74, -43], [100, -43]], {
|
|
4178
4180
|
crs: plain
|
|
4179
4181
|
});
|
|
4182
|
+
const combinedLineFeature = /*#__PURE__*/new CombinedPolyline([[0, -57], [26, -57], [40, -35], [60, -65], [74, -43], [100, -43]], {
|
|
4183
|
+
crs: plain
|
|
4184
|
+
});
|
|
4180
4185
|
const polygonFeature = /*#__PURE__*/new Polygon([[20, -20], [80, -20], [80, -80], [20, -80]], {
|
|
4181
4186
|
crs: plain
|
|
4182
4187
|
});
|
|
@@ -4198,14 +4203,14 @@ const MAP_LEGEND_FEATURES = {
|
|
|
4198
4203
|
const LEGEND_FEATURES = {
|
|
4199
4204
|
point: pointFeature,
|
|
4200
4205
|
polyline: lineLegendFeature,
|
|
4201
|
-
combinedPolyline:
|
|
4206
|
+
combinedPolyline: combinedLineFeature,
|
|
4202
4207
|
polygon: polygonLegendFeature,
|
|
4203
4208
|
h3grid: h3gridFeature
|
|
4204
4209
|
};
|
|
4205
4210
|
const MOCK_FEATURES = {
|
|
4206
4211
|
point: pointFeature,
|
|
4207
4212
|
polyline: lineFeature,
|
|
4208
|
-
combinedPolyline:
|
|
4213
|
+
combinedPolyline: combinedLineFeature,
|
|
4209
4214
|
polygon: polygonFeature,
|
|
4210
4215
|
h3grid: h3gridFeature
|
|
4211
4216
|
};
|