Partager via


MKMapViewDelegate_Extensions Classe

Définition

Méthodes d’extension à l’interface IMKMapViewDelegate pour prendre en charge toutes les méthodes du MKMapViewDelegate protocole.

public static class MKMapViewDelegate_Extensions
type MKMapViewDelegate_Extensions = class
Héritage
MKMapViewDelegate_Extensions

Remarques

Les méthodes d’extension pour IMKMapViewDelegate permettre aux développeurs de traiter les instances de l’interface comme ayant toutes les méthodes facultatives du protocole d’origine MKMapViewDelegate . Étant donné que l’interface contient uniquement les membres requis, ces méthodes d’extension permettent aux développeurs d’appeler les membres facultatifs du protocole.

Méthodes

CalloutAccessoryControlTapped(IMKMapViewDelegate, MKMapView, MKAnnotationView, UIControl)

Appelé lorsque l’accessoire control de légende a été appuyé.

ChangedDragState(IMKMapViewDelegate, MKMapView, MKAnnotationView, MKAnnotationViewDragState, MKAnnotationViewDragState)

Appelé lorsque l’état de glissement est passé de oldState à newState.

CreateClusterAnnotation(IMKMapViewDelegate, MKMapView, IMKAnnotation[])

Méthodes d’extension à l’interface IMKMapViewDelegate pour prendre en charge toutes les méthodes du MKMapViewDelegate protocole.

DidAddAnnotationViews(IMKMapViewDelegate, MKMapView, MKAnnotationView[])

Appelée lorsqu’une vue d’annotation (ou des vues) ont été ajoutées à mapView.

DidAddOverlayRenderers(IMKMapViewDelegate, MKMapView, MKOverlayRenderer[])

Appelé lorsqu’un convertisseur de superposition (ou des renderers) a été ajouté à mapView.

DidAddOverlayViews(IMKMapViewDelegate, MKMapView, MKOverlayView)

Les développeurs ne doivent pas utiliser cette méthode dépréciée. Les développeurs doivent utiliser « DidAddOverlayRenderers » à la place.

DidChangeUserTrackingMode(IMKMapViewDelegate, MKMapView, MKUserTrackingMode, Boolean)

Indique une modification dans le actif MKUserTrackingMode.

DidChangeVisibleRegion(IMKMapViewDelegate, MKMapView)

Méthodes d’extension à l’interface IMKMapViewDelegate pour prendre en charge toutes les méthodes du MKMapViewDelegate protocole.

DidDeselectAnnotationView(IMKMapViewDelegate, MKMapView, MKAnnotationView)

Indique que view a été désélectionné.

DidFailToLocateUser(IMKMapViewDelegate, MKMapView, NSError)

Indique que la tentative de localisation de l’utilisateur actuel a échoué en raison de error.

DidFinishRenderingMap(IMKMapViewDelegate, MKMapView, Boolean)

Indique que le rendu de mapView est terminé.

DidSelectAnnotationView(IMKMapViewDelegate, MKMapView, MKAnnotationView)

Indique que le spécifié MKAnnotationView a été sélectionné.

DidStopLocatingUser(IMKMapViewDelegate, MKMapView)

Indique que le système a cessé de tenter de localiser l’utilisateur.

DidUpdateUserLocation(IMKMapViewDelegate, MKMapView, MKUserLocation)

Indique que le système a fourni une mise à jour de l’emplacement de l’utilisateur.

GetViewForAnnotation(IMKMapViewDelegate, MKMapView, IMKAnnotation)

Retourne le MKAnnotationView associé à .annotation

GetViewForOverlay(IMKMapViewDelegate, MKMapView, IMKOverlay)

Utilisez MKOverlayRenderer.RendererForOverlay à la place

LoadingMapFailed(IMKMapViewDelegate, MKMapView, NSError)

Indique l’échec d’un error chargement provoqué.

MapLoaded(IMKMapViewDelegate, MKMapView)

Indique que le chargement des données de carte est terminé.

OverlayRenderer(IMKMapViewDelegate, MKMapView, IMKOverlay)

Calcule qu’il MKOverlayRenderer convient à .overlay

RegionChanged(IMKMapViewDelegate, MKMapView, Boolean)

Indique que la région affichée par mapView a changé.

RegionWillChange(IMKMapViewDelegate, MKMapView, Boolean)

Indique que la région affichée par mapView est sur le point de changer.

WillStartLoadingMap(IMKMapViewDelegate, MKMapView)

Indique que le chargement des données de carte est sur le point de commencer.

WillStartLocatingUser(IMKMapViewDelegate, MKMapView)

Indique que le système va commencer à tenter de localiser l’utilisateur.

WillStartRenderingMap(IMKMapViewDelegate, MKMapView)

Indique que le rendu de mapView est sur le point de commencer.

S’applique à