Skip to content
James Barrow edited this page Jan 29, 2017 · 3 revisions

Annotation

An annotation object that is to be used with an address object.

address

Declaration

Swift

public var address: Address?

---

<br>

### coordinate
The coordinate of the address.

**Declaration**
> <sub>**Swift**</sub>  
> ```swift  
public var coordinate: CLLocationCoordinate2D


title

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?


containdedAnnotations

Declaration

Swift

public var containdedAnnotations: [Annotation]?

---

<br>

### clusterAnnotation


**Declaration**
> <sub>**Swift**</sub>  
> ```swift  
public var clusterAnnotation: Annotation?


isEqual(_:)

Declaration

Swift

open override func isEqual(_ object: Any?) -> Bool


---

<br>

### hash


**Declaration**
> <sub>**Swift**</sub>  
> ```swift  
open override var hash: Int


init(address:)

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.