public interface MKAnnotation
Modifier and Type | Method and Description |
---|---|
CLLocationCoordinate2D |
coordinate()
Define the central point of the annotation.
|
default void |
setCoordinate(CLLocationCoordinate2D newCoordinate)
Sets the annotation center's coordinates on the map view.
|
default String |
subtitle()
Returns the subtitle of the annotation on the map view.
|
default String |
title()
Returns the title of the annotation on the map view.
|
CLLocationCoordinate2D coordinate()
default void setCoordinate(CLLocationCoordinate2D newCoordinate)
newCoordinate
- The annotation center's coordinates on the map view.default String title()
default String subtitle()
Copyright © 2020. All rights reserved.