@evergis/react 2.0.177 → 2.0.179
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 +10 -0
- 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 +10 -1
- package/dist/react.esm.js.map +1 -1
- package/dist/symbols/guards.d.ts +2 -0
- package/dist/symbols/mockFeatures.d.ts +2 -0
- package/package.json +5 -5
|
@@ -4153,6 +4153,9 @@ function isSGisPolylineSymbol(symbol) {
|
|
|
4153
4153
|
function isSGisH3Symbol(symbol) {
|
|
4154
4154
|
return symbol instanceof H3Symbol.H3Symbol;
|
|
4155
4155
|
}
|
|
4156
|
+
function isSGisCombinedPolylineSymbol(symbol) {
|
|
4157
|
+
return symbol.type === "combinedPolylineSymbol";
|
|
4158
|
+
}
|
|
4156
4159
|
function isSGisClusterSymbol(symbol) {
|
|
4157
4160
|
return !!symbol.singleObjectSymbol;
|
|
4158
4161
|
}
|
|
@@ -4190,12 +4193,14 @@ const MAP_LEGEND_FEATURES = {
|
|
|
4190
4193
|
const LEGEND_FEATURES = {
|
|
4191
4194
|
point: pointFeature,
|
|
4192
4195
|
polyline: lineLegendFeature,
|
|
4196
|
+
combinedPolyline: lineLegendFeature,
|
|
4193
4197
|
polygon: polygonLegendFeature,
|
|
4194
4198
|
h3grid: h3gridFeature
|
|
4195
4199
|
};
|
|
4196
4200
|
const MOCK_FEATURES = {
|
|
4197
4201
|
point: pointFeature,
|
|
4198
4202
|
polyline: lineFeature,
|
|
4203
|
+
combinedPolyline: lineFeature,
|
|
4199
4204
|
polygon: polygonFeature,
|
|
4200
4205
|
h3grid: h3gridFeature
|
|
4201
4206
|
};
|
|
@@ -4225,6 +4230,10 @@ function getSymbolRenders(symbol, size, features) {
|
|
|
4225
4230
|
return symbol.renderFunctionAsync(featuresToRender.h3grid, resolution, Crs.plain);
|
|
4226
4231
|
}
|
|
4227
4232
|
|
|
4233
|
+
if (isSGisCombinedPolylineSymbol(symbol)) {
|
|
4234
|
+
return symbol.renderFunctionAsync(featuresToRender.combinedPolyline, resolution, Crs.plain);
|
|
4235
|
+
}
|
|
4236
|
+
|
|
4228
4237
|
return symbol.renderFunctionAsync(featuresToRender.point, resolution, Crs.plain);
|
|
4229
4238
|
}
|
|
4230
4239
|
const getMapLegendSymbolRenders = function getMapLegendSymbolRenders(symbol, size) {
|
|
@@ -7076,6 +7085,7 @@ exports.isRangeCondition = isRangeCondition;
|
|
|
7076
7085
|
exports.isRasterSymbol = isRasterSymbol;
|
|
7077
7086
|
exports.isRequisiteNumbers = isRequisiteNumbers;
|
|
7078
7087
|
exports.isSGisClusterSymbol = isSGisClusterSymbol;
|
|
7088
|
+
exports.isSGisCombinedPolylineSymbol = isSGisCombinedPolylineSymbol;
|
|
7079
7089
|
exports.isSGisH3Symbol = isSGisH3Symbol;
|
|
7080
7090
|
exports.isSGisImageSymbol = isSGisImageSymbol;
|
|
7081
7091
|
exports.isSGisPointSymbol = isSGisPointSymbol;
|