@evergis/react 2.0.181 → 2.0.182
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
|
@@ -3490,28 +3490,26 @@ let SGisPolylineSymbol = /*#__PURE__*/function (_sPolylineSymbol) {
|
|
|
3490
3490
|
if (!isSimplePolylineSymbol(this.originalSymbol)) return _get(_getPrototypeOf(SGisPolylineSymbol.prototype), "renderFunction", this).call(this, feature, resolution, crs);
|
|
3491
3491
|
const {
|
|
3492
3492
|
ending,
|
|
3493
|
-
|
|
3494
|
-
beginning,
|
|
3495
|
-
endingSize
|
|
3493
|
+
beginning
|
|
3496
3494
|
} = this.originalSymbol;
|
|
3497
3495
|
const renders = [];
|
|
3498
3496
|
const featureCopy = feature.clone();
|
|
3499
3497
|
const beginningMiterRender = getLineMiterRender({
|
|
3500
3498
|
color: this.strokeColor,
|
|
3501
3499
|
// @ts-ignore
|
|
3502
|
-
kind: beginning,
|
|
3500
|
+
kind: beginning.type,
|
|
3503
3501
|
position: 'left',
|
|
3504
3502
|
// @ts-ignore
|
|
3505
|
-
size:
|
|
3503
|
+
size: beginning.size,
|
|
3506
3504
|
strokeWidth: this.strokeWidth
|
|
3507
3505
|
});
|
|
3508
3506
|
const endingMiterRender = getLineMiterRender({
|
|
3509
3507
|
color: this.strokeColor,
|
|
3510
3508
|
// @ts-ignore
|
|
3511
|
-
kind: ending,
|
|
3509
|
+
kind: ending.type,
|
|
3512
3510
|
position: 'right',
|
|
3513
3511
|
// @ts-ignore
|
|
3514
|
-
size:
|
|
3512
|
+
size: ending.size,
|
|
3515
3513
|
strokeWidth: this.strokeWidth
|
|
3516
3514
|
});
|
|
3517
3515
|
|