@placemarkio/polyline
    Preparing search index...

    Function decode

    • Decodes any string into a [longitude, latitude] coordinates array.

      Any string is a valid polyline, but if you provide this with an arbitrary string, it'll produce coordinates well outside of the normal range.

      Parameters

      • str: string
      • precision: number = 5

      Returns Position[]