OptionalallowAllow overlapping of ranges on the desired side(s).
OptionaldragSet an event listener that will be called when a range is dragged.
The respective event. The Range is provided in the detail property of the event. (event.detail.range)
OptionaldragSet an event listener that will be called when a range drag starts.
The respective event. The Range is provided in the detail property of the event. (event.detail.range)
OptionaldragSet an event listener that will be called when a range drag has been finished.
The respective event. The Range is provided in the detail property of the event. (event.detail.range)
OptionalfromRelative start position on the line geometry. 0 -> 0% -> start, 0.5 -> 50% -> middle, 1 -> 100% -> end
OptionalidOptional identifier of the Range
Optionallockedlock the range and prevent dragging/editing of the Range.
Optional ReadonlysegmentsA range can consist of several segments. A Segment provides detailed information on the affected GeoJSONFeatures/Navlinks:
OptionalsideSide of the Range. Relative to the direction of travel of the line geometry. "L" | "R" | "B" -> Left, Right or Both sides.
OptionalsnapAutomatically snap to Markers of Ranges on the desired side(s) within a given threshold.
OptionalsnapThe threshold in meters for automatic range snapping.
OptionalstyleApply custom styling of Range. Objects of key value pairs.
OptionaltoRelative end position on the line geometry. 0.5 -> 50% -> middle, 1 -> 100% -> end
A Range represents a part/subsegment on a line geometry or multiple line geometries. It's used by the RangeSelector utility. RangeSelector