@evergis/react 2.0.178 → 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.
|
@@ -46,7 +46,6 @@ 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
48
|
var H3Feature = require('@evergis/sgis/es/features/H3Feature');
|
|
49
|
-
var CombinedPolylineSymbol = require('@evergis/sgis/es/symbols/CombinedPolylineSymbol');
|
|
50
49
|
var Canvas = require('@evergis/sgis/es/painters/DomPainter/Canvas');
|
|
51
50
|
var commonEvents = require('@evergis/sgis/es/commonEvents');
|
|
52
51
|
var ClusterLayer$1 = require('@evergis/sgis/es/layers/ClusterLayer');
|
|
@@ -1662,14 +1661,11 @@ let EvergisFeature = /*#__PURE__*/function () {
|
|
|
1662
1661
|
this.layerName = feature.layer;
|
|
1663
1662
|
this.layerAlias = feature.layer;
|
|
1664
1663
|
this.attributes = getFeatureAttributes(feature.attributes);
|
|
1665
|
-
console.info("EvergisFeature-0", this);
|
|
1666
1664
|
}
|
|
1667
1665
|
|
|
1668
1666
|
_createClass(EvergisFeature, [{
|
|
1669
1667
|
key: "sGisFeature",
|
|
1670
1668
|
value: function sGisFeature() {
|
|
1671
|
-
console.info("EvergisFeature-1", this);
|
|
1672
|
-
|
|
1673
1669
|
if (!this.geometry || !this.symbol) {
|
|
1674
1670
|
return null;
|
|
1675
1671
|
} // @ts-ignore
|
|
@@ -1681,7 +1677,6 @@ let EvergisFeature = /*#__PURE__*/function () {
|
|
|
1681
1677
|
sr
|
|
1682
1678
|
} = this.geometry;
|
|
1683
1679
|
const crs = CRS_MAP[sr];
|
|
1684
|
-
console.info("EvergisFeature-2", crs, type);
|
|
1685
1680
|
|
|
1686
1681
|
if (!crs) {
|
|
1687
1682
|
return null;
|
|
@@ -4235,8 +4230,6 @@ function getSymbolRenders(symbol, size, features) {
|
|
|
4235
4230
|
return symbol.renderFunctionAsync(featuresToRender.h3grid, resolution, Crs.plain);
|
|
4236
4231
|
}
|
|
4237
4232
|
|
|
4238
|
-
console.info("symbol", symbol, symbol instanceof CombinedPolylineSymbol.CombinedPolylineSymbol, isSGisCombinedPolylineSymbol(symbol));
|
|
4239
|
-
|
|
4240
4233
|
if (isSGisCombinedPolylineSymbol(symbol)) {
|
|
4241
4234
|
return symbol.renderFunctionAsync(featuresToRender.combinedPolyline, resolution, Crs.plain);
|
|
4242
4235
|
}
|
|
@@ -4248,7 +4241,6 @@ const getMapLegendSymbolRenders = function getMapLegendSymbolRenders(symbol, siz
|
|
|
4248
4241
|
size = viewBoxSize;
|
|
4249
4242
|
}
|
|
4250
4243
|
|
|
4251
|
-
console.info("getMapLegendSymbolRenders", symbol);
|
|
4252
4244
|
return getSymbolRenders(symbol, size, MAP_LEGEND_FEATURES);
|
|
4253
4245
|
};
|
|
4254
4246
|
const getLegendSymbolRenders = function getLegendSymbolRenders(symbol, size) {
|
|
@@ -4256,7 +4248,6 @@ const getLegendSymbolRenders = function getLegendSymbolRenders(symbol, size) {
|
|
|
4256
4248
|
size = viewBoxSize;
|
|
4257
4249
|
}
|
|
4258
4250
|
|
|
4259
|
-
console.info("getLegendSymbolRenders", symbol);
|
|
4260
4251
|
return getSymbolRenders(symbol, size, LEGEND_FEATURES);
|
|
4261
4252
|
};
|
|
4262
4253
|
|
|
@@ -4477,7 +4468,6 @@ function useSymbol(_ref, canvasRef) {
|
|
|
4477
4468
|
if (canvasRef.current !== null && symbol !== undefined) {
|
|
4478
4469
|
const canvas = canvasRef.current;
|
|
4479
4470
|
setCanvasSize(canvas, size, maxWidth);
|
|
4480
|
-
console.info("useSymbol", symbol, size, render);
|
|
4481
4471
|
render(symbol, size).then(renders => {
|
|
4482
4472
|
renderSymbolToCanvas(renders, canvas);
|
|
4483
4473
|
});
|