• Builds the MapLibreGlDirections layers with optionally scaled features.

    Parameters

    • pointsScalingFactor: number = 1

      A number to multiply the initial points' dimensions by

    • linesScalingFactor: number = 1

      A number to multiply the initial lines' dimensions by

    • sourceName: string = "maplibre-gl-directions"

      A name of the source used by the instance and layers names' prefix

    Returns LayerSpecification[]

Generated using TypeDoc