DTBKitCoordinate2DTransfer

public struct DTBKitCoordinate2DTransfer

Add type mark to reduce conversion frequency.

支持链式转换,并尽量减少转换频率。

  • Declaration

    Swift

    public enum Types
  • Undocumented

    Declaration

    Swift

    public let type: Types
  • Undocumented

    Declaration

    Swift

    public init(wgs coordinate: CLLocationCoordinate2D)
  • Undocumented

    Declaration

    Swift

    public init(gcj coordinate: CLLocationCoordinate2D)
  • Undocumented

    Declaration

    Swift

    public init(bd coordinate: CLLocationCoordinate2D)
  • Declaration

    Swift

    public var toWGS: CLLocationCoordinate2D { get }
  • Declaration

    Swift

    public var toGCJ: CLLocationCoordinate2D { get }
  • Declaration

    Swift

    public var toBD: CLLocationCoordinate2D { get }