@maplibre/maplibre-gl-directions - v0.10.1
    Preparing search index...

    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: [number, number] | undefined
      • departSnappointIndex: number
      • showHoverpointSnaplines: boolean = false

      Returns Feature<LineString, GeoJsonProperties>[]