@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.
package/dist/react.esm.js CHANGED
@@ -39,7 +39,6 @@ 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
41
  import { H3Feature } from '@evergis/sgis/es/features/H3Feature';
42
- import { CombinedPolylineSymbol } from '@evergis/sgis/es/symbols/CombinedPolylineSymbol';
43
42
  import { Canvas } from '@evergis/sgis/es/painters/DomPainter/Canvas';
44
43
  import { sGisClickEvent } from '@evergis/sgis/es/commonEvents';
45
44
  import { ClusterLayer as ClusterLayer$1 } from '@evergis/sgis/es/layers/ClusterLayer';
@@ -1661,14 +1660,11 @@ let EvergisFeature = /*#__PURE__*/function () {
1661
1660
  this.layerName = feature.layer;
1662
1661
  this.layerAlias = feature.layer;
1663
1662
  this.attributes = getFeatureAttributes(feature.attributes);
1664
- console.info("EvergisFeature-0", this);
1665
1663
  }
1666
1664
 
1667
1665
  _createClass(EvergisFeature, [{
1668
1666
  key: "sGisFeature",
1669
1667
  value: function sGisFeature() {
1670
- console.info("EvergisFeature-1", this);
1671
-
1672
1668
  if (!this.geometry || !this.symbol) {
1673
1669
  return null;
1674
1670
  } // @ts-ignore
@@ -1680,7 +1676,6 @@ let EvergisFeature = /*#__PURE__*/function () {
1680
1676
  sr
1681
1677
  } = this.geometry;
1682
1678
  const crs = CRS_MAP[sr];
1683
- console.info("EvergisFeature-2", crs, type);
1684
1679
 
1685
1680
  if (!crs) {
1686
1681
  return null;
@@ -4240,8 +4235,6 @@ function getSymbolRenders(symbol, size, features) {
4240
4235
  return symbol.renderFunctionAsync(featuresToRender.h3grid, resolution, plain);
4241
4236
  }
4242
4237
 
4243
- console.info("symbol", symbol, symbol instanceof CombinedPolylineSymbol, isSGisCombinedPolylineSymbol(symbol));
4244
-
4245
4238
  if (isSGisCombinedPolylineSymbol(symbol)) {
4246
4239
  return symbol.renderFunctionAsync(featuresToRender.combinedPolyline, resolution, plain);
4247
4240
  }
@@ -4253,7 +4246,6 @@ const getMapLegendSymbolRenders = function getMapLegendSymbolRenders(symbol, siz
4253
4246
  size = viewBoxSize;
4254
4247
  }
4255
4248
 
4256
- console.info("getMapLegendSymbolRenders", symbol);
4257
4249
  return getSymbolRenders(symbol, size, MAP_LEGEND_FEATURES);
4258
4250
  };
4259
4251
  const getLegendSymbolRenders = function getLegendSymbolRenders(symbol, size) {
@@ -4261,7 +4253,6 @@ const getLegendSymbolRenders = function getLegendSymbolRenders(symbol, size) {
4261
4253
  size = viewBoxSize;
4262
4254
  }
4263
4255
 
4264
- console.info("getLegendSymbolRenders", symbol);
4265
4256
  return getSymbolRenders(symbol, size, LEGEND_FEATURES);
4266
4257
  };
4267
4258
 
@@ -4482,7 +4473,6 @@ function useSymbol(_ref, canvasRef) {
4482
4473
  if (canvasRef.current !== null && symbol !== undefined) {
4483
4474
  const canvas = canvasRef.current;
4484
4475
  setCanvasSize(canvas, size, maxWidth);
4485
- console.info("useSymbol", symbol, size, render);
4486
4476
  render(symbol, size).then(renders => {
4487
4477
  renderSymbolToCanvas(renders, canvas);
4488
4478
  });