TKNamedCoordinate

open class TKNamedCoordinate : NSObject, NSSecureCoding, Codable, TKClusterable
extension TKNamedCoordinate: TKSortableAnnotation
extension TKNamedCoordinate: TKGeocodable

Undocumented

  • Undocumented

    Declaration

    Swift

    public fileprivate(set) var coordinate: CLLocationCoordinate2D { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var clusterIdentifier: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var name: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var _address: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var address: String? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var data: [String : Any]
  • Undocumented

    Declaration

    Swift

    @objc
    public var placemark: CLPlacemark? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public var locationID: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var timeZoneID: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var timeZone: TimeZone? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public var isDraggable: Bool
  • Undocumented

    Declaration

    Swift

    @objc
    public var isSuburb: Bool
  • Undocumented

    Declaration

    Swift

    public var klass: String?
  • Undocumented

    Declaration

    Swift

    public var modeIdentifiers: [String]?
  • Undocumented

    Declaration

    Swift

    public var priority: Float?
  • Undocumented

    Declaration

    Swift

    @objc(namedCoordinateForAnnotation:)
    public static func namedCoordinate(for annotation: MKAnnotation) -> TKNamedCoordinate
  • Undocumented

    Declaration

    Swift

    @objc
    public init(latitude: CLLocationDegrees, longitude: CLLocationDegrees, name: String? = nil, address: String? = nil)
  • Undocumented

    Declaration

    Swift

    @objc
    public init(placemark: CLPlacemark)
  • Undocumented

    Declaration

    Swift

    @objc
    public init(coordinate: CLLocationCoordinate2D)
  • Undocumented

    Declaration

    Swift

    @objc
    public init(name: String?, address: String?)

Codable

  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

NSSecureCoding

  • Undocumented

    Declaration

    Swift

    public class var supportsSecureCoding: Bool { get }
  • Undocumented

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    @objc(encodeWithCoder:)
    open func encode(with aCoder: NSCoder)

Helpers

  • New named coordinate configured with the structured location information of the provided event. Returns nil if there’s no structured location information - meaning, a location string alone is not enough.

    Declaration

    Swift

    @objc(initWithEvent:)
    public convenience init?(_ event: EKEvent)

    Parameters

    event

    Event

  • Undocumented

    Declaration

    Swift

    @objc
    public var eventStartTime: Date? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var eventEndTime: Date? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var phone: String? { get set }
  • url

    Undocumented

    Declaration

    Swift

    @objc
    public var url: URL? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var isDropped: Bool { get set }

TKSortableAnnotation & MKAnnotation

  • Undocumented

    Declaration

    Swift

    public var title: String? { get set }
  • Undocumented

    Declaration

    Swift

    public var subtitle: String? { get set }
  • Undocumented

    Declaration

    Swift

    public var sortScore: Int { get set }
  • Undocumented

    Declaration

    Swift

    public var addressForGeocoding: String? { get }
  • Undocumented

    Declaration

    Swift

    public var needsForwardGeocoding: Bool { get }
  • Undocumented

    Declaration

    Swift

    public func assign(_ coordinate: CLLocationCoordinate2D, forAddress address: String)
  • Undocumented

    Declaration

    Swift

    @objc
    var attributionIsVerified: NSNumber? { get set }
  • Undocumented

    Declaration

    Swift

    var dataSources: [TKAPI.DataAttribution] { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    var what3words: String? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    var what3wordsInfoURL: String? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var regions: Set<TKRegion> { get }