init(coordinate:title:subtitle:)
Creates a point annotation displaying a title and subtitle string at the specified coordinate on the map.
Declaration
convenience init(coordinate: CLLocationCoordinate2D, title: String?, subtitle: String?)Parameters
- coordinate:
The coordinate containing the latitude and longitude values for the desired point.
- title:
The string containing the annotation’s title.
- subtitle:
The string containing the annotation’s subtitle.