Skip to end of metadata
Go to start of metadata

Represents an adapter for map marker.

Definition

public class MarkerAdapter : Object, IInfoWindowAdapter

Summary

The following table summarizes the members exposed in this class.

Public Constructors

MarkerAdapter Constructor(MapView) Initializes a new instance of MarkerAdapter.

Public Properties

InfoWindowView Gets or sets the info window.

Public Methods

GetInfoContents(Marker) Gets the info window content.
GetInfoWindow(Marker) Gets the info window.
SetMarkers(IEnumerable<object>) Sets the markers.

Protected Methods

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

Public Constructors

public MarkerAdapter(MapView mapView)

Initializes a new instance of MarkerAdapter.

Parameters

mapView The map view.

Public Properties

public View InfoWindowView { get; set; }

Gets or sets the info window.

Public Methods

public View GetInfoContents(Marker marker)

Gets the info window content.

Parameters

marker The marker

Return Types

The content for info window.

public View GetInfoWindow(Marker marker)

Gets the info window.

Parameters

marker The marker.

Return Types

The info window.

public void SetMarkers(IEnumerable<object> markers)

Sets the markers.

Parameters

markers The markers.

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