Skip to content

MapTools

Namespace: ThinkGeo.UI.Maui

Contains the different map tools as properties and acts as an entrance for setting these map controls.

public class MapTools : System.Collections.ObjectModel.Collection`1[[ThinkGeo.UI.Maui.IMapTool, ThinkGeo.UI.Maui, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.IList`1[[ThinkGeo.UI.Maui.IMapTool, ThinkGeo.UI.Maui, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.ICollection`1[[ThinkGeo.UI.Maui.IMapTool, ThinkGeo.UI.Maui, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.IEnumerable`1[[ThinkGeo.UI.Maui.IMapTool, ThinkGeo.UI.Maui, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.IEnumerable, System.Collections.IList, System.Collections.ICollection, System.Collections.Generic.IReadOnlyList`1[[ThinkGeo.UI.Maui.IMapTool, ThinkGeo.UI.Maui, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.IReadOnlyCollection`1[[ThinkGeo.UI.Maui.IMapTool, ThinkGeo.UI.Maui, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectCollection<IMapTool>MapTools
Implements IList<IMapTool>, ICollection<IMapTool>, IEnumerable<IMapTool>, IEnumerable, IList, ICollection, IReadOnlyList<IMapTool>, IReadOnlyCollection<IMapTool>

Remarks:

This class is designed to be easy to use. It contains all the available tools of the map. You can find and set those map tools easily by using this class.

Properties

Count

public int Count { get; }

Property Value

Int32

Item

public IMapTool Item { get; set; }

Property Value

IMapTool

Constructors

MapTools(MapView)

Contains the different map tools as properties and acts as an entrance for setting these map controls.

public MapTools(MapView mapView)

Parameters

mapView MapView
A mapView object that all map tools in this object is based on.

Remarks:

This class is designed to be easy to use. It contains all the available tools of the map. You can find and set those map tools easily by using this class.

Methods

InsertItem(Int32, IMapTool)

protected void InsertItem(int index, IMapTool item)

Parameters

index Int32

item IMapTool

RemoveItem(Int32)

protected void RemoveItem(int index)

Parameters

index Int32