Skip to end of metadata
Go to start of metadata

Represents an adapter for map polyline.

Definition

public class PolylineAdapter : Object

Summary

The following table summarizes the members exposed in this class.

Public Constructors

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

Public Methods

SetPolylines(IEnumerable<RouteData>) Sets the polylines.
SetSelectedRoute(Route) Sets the selected route.

Protected Methods

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

Public Constructors

public PolylineAdapter(MapView mapView)

Initializes a new instance of PolylineAdapter.

Parameters

mapView The map view.

Public Methods

public void SetPolylines(IEnumerable<RouteData> polylines)

Sets the polylines.

Parameters

polylines The map polylines.

public void SetSelectedRoute(Route route)

Sets the selected route.

Parameters

route The 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