@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
|
@@ -45,7 +45,9 @@ var StaticImageSymbol = require('@evergis/sgis/es/symbols/point/StaticImageSymbo
|
|
|
45
45
|
var Square = require('@evergis/sgis/es/symbols/point/Square');
|
|
46
46
|
var MaskedImage = require('@evergis/sgis/es/symbols/point/MaskedImage');
|
|
47
47
|
var H3Symbol = require('@evergis/sgis/es/symbols/H3Symbol');
|
|
48
|
+
var CombinedPolylineSymbol = require('@evergis/sgis/es/symbols/CombinedPolylineSymbol');
|
|
48
49
|
var H3Feature = require('@evergis/sgis/es/features/H3Feature');
|
|
50
|
+
var CombinedPolyline = require('@evergis/sgis/es/features/CombinedPolyline');
|
|
49
51
|
var Canvas = require('@evergis/sgis/es/painters/DomPainter/Canvas');
|
|
50
52
|
var commonEvents = require('@evergis/sgis/es/commonEvents');
|
|
51
53
|
var ClusterLayer$1 = require('@evergis/sgis/es/layers/ClusterLayer');
|
|
@@ -4154,7 +4156,7 @@ function isSGisH3Symbol(symbol) {
|
|
|
4154
4156
|
return symbol instanceof H3Symbol.H3Symbol;
|
|
4155
4157
|
}
|
|
4156
4158
|
function isSGisCombinedPolylineSymbol(symbol) {
|
|
4157
|
-
return symbol
|
|
4159
|
+
return symbol instanceof CombinedPolylineSymbol.CombinedPolylineSymbol;
|
|
4158
4160
|
}
|
|
4159
4161
|
function isSGisClusterSymbol(symbol) {
|
|
4160
4162
|
return !!symbol.singleObjectSymbol;
|
|
@@ -4172,6 +4174,9 @@ const pointFeature = /*#__PURE__*/new PointFeature.PointFeature([50, -50], {
|
|
|
4172
4174
|
const lineFeature = /*#__PURE__*/new Polyline.Polyline([[0, -57], [26, -57], [40, -35], [60, -65], [74, -43], [100, -43]], {
|
|
4173
4175
|
crs: Crs.plain
|
|
4174
4176
|
});
|
|
4177
|
+
const combinedLineFeature = /*#__PURE__*/new CombinedPolyline.CombinedPolyline([[0, -57], [26, -57], [40, -35], [60, -65], [74, -43], [100, -43]], {
|
|
4178
|
+
crs: Crs.plain
|
|
4179
|
+
});
|
|
4175
4180
|
const polygonFeature = /*#__PURE__*/new Polygon.Polygon([[20, -20], [80, -20], [80, -80], [20, -80]], {
|
|
4176
4181
|
crs: Crs.plain
|
|
4177
4182
|
});
|
|
@@ -4193,14 +4198,14 @@ const MAP_LEGEND_FEATURES = {
|
|
|
4193
4198
|
const LEGEND_FEATURES = {
|
|
4194
4199
|
point: pointFeature,
|
|
4195
4200
|
polyline: lineLegendFeature,
|
|
4196
|
-
combinedPolyline:
|
|
4201
|
+
combinedPolyline: combinedLineFeature,
|
|
4197
4202
|
polygon: polygonLegendFeature,
|
|
4198
4203
|
h3grid: h3gridFeature
|
|
4199
4204
|
};
|
|
4200
4205
|
const MOCK_FEATURES = {
|
|
4201
4206
|
point: pointFeature,
|
|
4202
4207
|
polyline: lineFeature,
|
|
4203
|
-
combinedPolyline:
|
|
4208
|
+
combinedPolyline: combinedLineFeature,
|
|
4204
4209
|
polygon: polygonFeature,
|
|
4205
4210
|
h3grid: h3gridFeature
|
|
4206
4211
|
};
|