-
Notifications
You must be signed in to change notification settings - Fork 1
Annotation
James Barrow edited this page Jan 29, 2017
·
3 revisions
An annotation object that is to be used with an address object.
Declaration
Swift
public var address: Address?
---
<br>
### coordinate
The coordinate of the address.
**Declaration**
> <sub>**Swift**</sub>
> ```swift
public var coordinate: CLLocationCoordinate2D
The name of the address.
Declaration
Swift
public var title: String?
---
<br>
### subtitle
The address string of the address.
**Declaration**
> <sub>**Swift**</sub>
> ```swift
public var subtitle: String?
Declaration
Swift
public var containdedAnnotations: [Annotation]?
---
<br>
### clusterAnnotation
**Declaration**
> <sub>**Swift**</sub>
> ```swift
public var clusterAnnotation: Annotation?
Declaration
Swift
open override func isEqual(_ object: Any?) -> Bool
---
<br>
### hash
**Declaration**
> <sub>**Swift**</sub>
> ```swift
open override var hash: Int
A convenience method for making an annotation object from an address object.
Declaration
Swift
public convenience init(address: Address)
**Parameters**
<table>
<tr><td> `address` </td><td> The address object to base the annotation off of. </td></tr>
<table>
---
<br>
### update(address:)
Updates the annotation with an address.
**Declaration**
> <sub>**Swift**</sub>
> ```swift
public func update(address: Address)
Parameters
`address` | The address to update the annotation with. |