Contents

MapFeatureAnnotation

An object that represents a map feature that the user selects.

Declaration

class MapFeatureAnnotation extends PlaceAnnotation

Overview

MapKit JS creates a MapFeatureAnnotation when you set selectableMapFeatures, and when a person taps a map feature. The instance is available from the selectedAnnotation property when a person selects a map feature and MapKit JS passes it to the annotationForMapFeature delegate method.

MapKit JS removes the annotation as soon as a person deselects the map feature.

Topics

Annotation properties

Fetching places

Instance Properties

See Also

Points of interest