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