Contents

init(mapItem:)

Creates a map item annotation

Declaration

init?(mapItem: MKMapItem)

Parameters

  • mapItem:

    The map item this annotation will represent

Discussion

If the map item does not have valid coordinate data, the result will be nil.