Skip to end of metadata
Go to start of metadata

Represents a map delegate.

Definition

public class MapDelegate : MKMapViewDelegate

Summary

The following table summarizes the members exposed in this class.

Public Constructors

MapDelegate Constructor(MKMapView) Initializes a new instance of MapDelegate.

Public Methods

GetDirection(object) Gets direction.
GetViewForAnnotation(MKMapView, IMKAnnotation) Gets view for annotation.
OverlayRenderer(MKMapView, IMKOverlay) Gets the overlay renderer.
SetMarkers(IEnumerable<object>) Set markers.
SetSelectedRoute(object) Sets selected route.

Protected Methods

Dispose(bool) Releases the resources used by the NSObject object.

Public Constructors

public MapDelegate(MKMapView mapView)

Initializes a new instance of MapDelegate.

Parameters

mapView

Public Methods

public void GetDirection(object value)

Gets direction.

Parameters

value The directions metadata.

public MKAnnotationView GetViewForAnnotation(MKMapView mapView, IMKAnnotation annotation)

Gets view for annotation.

Parameters

mapView The map view.
annotation The annotation.

Return Types

The annotation view.

public MKOverlayRenderer OverlayRenderer(MKMapView mapView, IMKOverlay overlay)

Gets the overlay renderer.

Parameters

mapView The map view.
overlay The overlay.

Return Types

The overlay renderer.

public void SetMarkers(IEnumerable<object> markers)

Set markers.

Parameters

markers The markers.

public void SetSelectedRoute(object value)

Sets selected route.

Parameters

value The selected route.

Protected Methods

protected void Dispose(bool disposing)

Releases the resources used by the NSObject object.

Parameters

disposing If set to true, the method is invoked directly and will dispose manage and unmanaged resources; If set to false the method is being called by the garbage collector finalizer and should only release unmanaged resources.
  • No labels