Package apple.mapkit.protocol
Interface MKAnnotation
-
- All Known Subinterfaces:
MKOverlay
- All Known Implementing Classes:
MKCircle,MKClusterAnnotation,MKGeodesicPolyline,MKMultiPoint,MKMultiPolygon,MKMultiPolyline,MKPlacemark,MKPointAnnotation,MKPolygon,MKPolyline,MKShape,MKTileOverlay,MKUserLocation
public interface MKAnnotation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CLLocationCoordinate2Dcoordinate()Center latitude and longitude of the annotation view.default voidsetCoordinate(CLLocationCoordinate2D newCoordinate)Called as a result of dragging an annotation view.default java.lang.Stringsubtitle()default java.lang.Stringtitle()Title and subtitle for use by selection UI.
-
-
-
Method Detail
-
coordinate
CLLocationCoordinate2D coordinate()
Center latitude and longitude of the annotation view. The implementation of this property must be KVO compliant.
-
setCoordinate
default void setCoordinate(CLLocationCoordinate2D newCoordinate)
Called as a result of dragging an annotation view.
-
subtitle
default java.lang.String subtitle()
-
title
default java.lang.String title()
Title and subtitle for use by selection UI.
-
-