XYZ Maps Documentation
    Preparing search index...

    Type Alias RangeSegment

    A RangeSegment is the part of a "Range" that's located at a specific LineString geometry or Navlink feature.

    type RangeSegment = {
        feature: GeoJSONFeature | Navlink;
        from: number;
        reversed: boolean;
        to: number;
    }
    Index

    The GeoJSONFeature or Navlink the RangeSegment is located at.

    from: number

    Relative start position on the geometry of the Navlink. 0 -> 0% -> start, 0.5 -> 50% -> middle, 1 -> 100% -> end

    reversed: boolean

    The indicates if the direction of travel of the Navlink is in reverse order, compared to the direction of travel of the first Navlink that's has been added of the RangeSelector.

    to: number

    Relative end position on the geometry of the Navlink. 0.5 -> 50% -> middle, 1 -> 100% -> end