Skip to content
TorbenK edited this page Jan 29, 2016 · 8 revisions

Properties

CustomPins

Lets you bind a collection of TKCustomMapPin. If the collection implements INotifyCollectionChanged adding and removing pins from the collection will automatically update the map. This property is bindable.

Circles

Lets you bind a collection of TKCircle. If the collection implements INotifyCollectionChanged adding and removing circles from the collection will automatically update the map. This property is bindable.

Routes

Lets you bind a collection of TKRoute. If the collection implements INotifyCollectionChanged adding and removing routes from the collection will automatically update the map. This property is bindable.

Polylines

Lets you bind a collection of TKPolyline. If the collection implements INotifyCollectionChanged adding and removing polylines from the collection will automatically update the map. This property is bindable.

Polygons

Lets you bind a collection of TKPolygon. If the collection implements INotifyCollectionChanged adding and removing polygons from the collection will automatically update the map. This property is bindable.

MapCenter

Gets/Sets the current center position of the map. If this gets set, the map will move to the new center position without changing the current zoom level. This property is bindable.

SelectedPin

Gets/Sets the currently selected pin on the map. This property is bindable.

AnimateMapCenterChange

Gets/Sets if a change of MapCenter should be animated. This property is bindable.

MapRegion

Gets/Sets the currently visible region of the map. When this gets set, the map will move to the new MapSpan. This property is bindable.

PinSelectedCommand

Bindable.

MapClickedCommand

Bindable.

MapLongPressCommand

Bindable.

PinDragEndCommand

Bindable.

PinsReadyCommand

Is getting executed when the collection of pins is initially added to the map. Bindable.

CalloutClickedCommand

Is getting executed when the callout of a pin gets tapped. On Android the whole callout is clickable, on iOS there will be a disclosure image visible on the right top.

RouteCalculationFinishedCommand

Bindable.

RouteCalculationFailedCommand

Bindable.

Functions

GetSnapshot

Returns a byte array containing the data of an image with the current state of the map in PNG format.