POIKit

public struct POIKit

Undocumented

Public Classes

  • This class can be used for :

    • Encoding an [CLLocation] or a [CLLocationCoordinate2D] to a polyline String
    • Decoding a polyline String to an [CLLocation] or a [CLLocationCoordinate2D]
    • Encoding / Decoding associated levels

    it is aims to produce the same results as google’s iOS sdk not as the online tool which is fuzzy when it comes to rounding values

    it is based on google’s algorithm that can be found here :

    :see: https://developers.google.com/maps/documentation/utilities/polylinealgorithm

    See more

    Declaration

    Swift

    struct Polyline