Function buildSnaplinesProtected

  • Protected

    Creates a $|GeoJSON LineString Features array where each feature represents a line connecting a waypoint with its respective snappoint and the hoverpoint with its respective snappoints.

    Parameters

    • waypointsCoordinates: [number, number][]
    • snappointsCoordinates: [number, number][]
    • hoverpointCoordinates: undefined | [number, number]
    • departSnappointIndex: number
    • showHoverpointSnaplines: boolean = false

    Returns Feature<LineString>[]

Generated using TypeDoc