What are MKAnnotation and MKAnnotationView?

What is MKAnnotation? Is it like notes on a map - for example, if you open a Google map and click on the small icons?

+3
source share
1 answer

Yes, an annotation is a pin / note / icon located on a map (MKMapView) in a specific place.

MKAnnotation is a protocol that an annotation object must implement to determine its location and title.

MKAnnotationView is the appearance of annotation. The view is requested by MKMapView when the annotation object falls into the visible area.

. MapKit Framework MapCallouts WeatherMap.

+5

Source: https://habr.com/ru/post/1745795/


All Articles