Function encode

  • Encodes the given [latitude, longitude] coordinates array.

    Returns

    encoded polyline

    Parameters

    • coordinates: number[][]

      Coordinates, in longitude, latitude order

    • precision: number = 5

    Returns string

Generated using TypeDoc