---
title: strokeEnd
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/style/strokeend
---

# strokeEnd

The unit distance along the line where a stroke ends.

## Declaration

```data
get strokeEnd(): number;
set strokeEnd(strokeEnd: number);
```

## Mentioned in

MapKit JS 5

## Discussion

Discussion The value of this property must be a number between 0 and 1. A value of 0 represents the beginning of the polyline, and a value of 1, the default, represents the end. MapKit JS interprets values between 0 and 1 linearly along the length of the polyline. The stroke is only visible for the overlay when strokeStart is less than strokeEnd.

## See Also

### Styling strokes

- [strokeColor](mapkitjs/style/strokecolor.md)
- [strokeOpacity](mapkitjs/style/strokeopacity.md)
- [strokeStart](mapkitjs/style/strokestart.md)
