User Tools

Site Tools


thinkgeo.mapsuite.androidedition.maptools

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.AndroidEdition.MapTools

<!– Class –> Contains the different map tools as properties and acts as an entrance for setting these map controls.

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.

Inheritance Hierarchy

*System.Object

  • PublicKeyToken=0828af5241fb4207]]
    • Culture=neutral
      • Version=8.0.0.0

* AndroidEdition System.Collections.ObjectModel.Collection‹T›[[ThinkGeo.MapSuite.AndroidEdition.MapTool * PublicKeyToken=0828af5241fb4207]] Culture=neutral * Version=8.0.0.0 AndroidEdition *ThinkGeo.MapSuite.Core.GeoCollection‹T›[[ThinkGeo.MapSuite.AndroidEdition.MapTool ThinkGeo.MapSuite.AndroidEdition.MapTools

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMapTools Context, MapView Initializes a new instance of the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Protected Methods

Public Properties

Name Return DeclaringType Summary
Public PropertyCenterCoordinate CenterCoordinateMapTool Gets the center coordinate.
Public PropertyCount Int32 Collection<MapTool>
Public PropertyItem MapTool GeoCollection<MapTool>
Public PropertyItem MapTool Collection<MapTool>
Public PropertyZoomMapTool ZoomMapTool Gets the zoom map tool.

Protected Properties

Name Return DeclaringType Summary
Protected PropertyItems IList<MapTool> Collection<MapTool>

Public Events

Public Constructors

MapTools(Context, MapView)

Initializes a new instance of the class.

Parameters

Name Type Description
context Context<!– Android.Content.Context –> Interface to global information about an application environment.
currentMap MapView<!– ThinkGeo.MapSuite.AndroidEdition.MapView –> A mapView object that all map tools in this object is based on.

Go Back

Protected Constructors

Public Methods

Add(MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Add(String, MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Add(MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Clear()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Contains(String)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Contains(MapTool)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

CopyTo(MapTool[], Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
array MapTool[]<!– ThinkGeo.MapSuite.AndroidEdition.MapToolthinkgeo.mapsuite.androidedition.maptools –>
index Int32<!– System.Int32 –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetEnumerator()

Return Value

Return Type Description
IEnumerator<MapTool><!– System.Collections.Generic.IEnumerator{ThinkGeo.MapSuite.AndroidEdition.MapTool} –>

Parameters

Name Type Description

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetKeys()

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

IndexOf(MapTool)

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Insert(Int32, MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Insert(Int32, MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Insert(Int32, String, MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>
key String<!– System.String –>
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveDown(Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveDown(String)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveDown(MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveTo(String, Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>
toIndex Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveTo(Int32, Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
fromIndex Int32<!– System.Int32 –>
toIndex Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveTo(MapTool, Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>
toIndex Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveToBottom(String)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveToBottom(Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveToBottom(MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveToTop(MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveToTop(Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveToTop(String)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveUp(MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveUp(String)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

MoveUp(Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Refresh()

Refreshes all the map tools objects maintaining in the MapTools object.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.AndroidEdition.MapTools –> Go Back

Remove(MapTool)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Remove(String)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

RemoveAt(Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

ClearItems()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool}(overriden) –> Go Back

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

InsertItem(Int32, MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool}(overriden) –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OnAdded(AddedGeoCollectionEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e AddedGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.AddedGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnAdding(AddingGeoCollectionEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e AddingGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.AddingGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnClearedItems(ClearedItemsGeoCollectionEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e ClearedItemsGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.ClearedItemsGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnClearingItems(ClearingItemsGeoCollectionEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e ClearingItemsGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.ClearingItemsGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e NotifyCollectionChangedEventArgs<!– System.Collections.Specialized.NotifyCollectionChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnInserted(InsertedGeoCollectionEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e InsertedGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.InsertedGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnInserting(InsertingGeoCollectionEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e InsertingGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.InsertingGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnPropertyChanged(PropertyChangedEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e PropertyChangedEventArgs<!– System.ComponentModel.PropertyChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnRemoved(RemovedGeoCollectionEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e RemovedGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.RemovedGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

OnRemoving(RemovingGeoCollectionEventArgs)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e RemovingGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.RemovingGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

RemoveItem(Int32)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool}(overriden) –> Go Back

SetItem(Int32, MapTool)

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>
item MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool}(overriden) –> Go Back

Public Properties

CenterCoordinate

Gets the center coordinate.

Return Value

Return Type
CenterCoordinateMapTool<!– ThinkGeo.MapSuite.AndroidEdition.CenterCoordinateMapTool –>

<!– ThinkGeo.MapSuite.AndroidEdition.MapTools –> Go Back

Count

Return Value

Return Type
Int32<!– System.Int32 –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Item

Return Value

Return Type
MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Item

Return Value

Return Type
MapTool<!– ThinkGeo.MapSuite.AndroidEdition.MapTool –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

ZoomMapTool

Gets the zoom map tool.

Return Value

Return Type
ZoomMapTool<!– ThinkGeo.MapSuite.AndroidEdition.ZoomMapTool –>

<!– ThinkGeo.MapSuite.AndroidEdition.MapTools –> Go Back

Protected Properties

Items

Return Value

Return Type
IList<MapTool><!– System.Collections.Generic.IList{ThinkGeo.MapSuite.AndroidEdition.MapTool} –>

<!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Public Events

Added

Event Arguments

Event Arguments
AddedGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.AddedGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Adding

Event Arguments

Event Arguments
AddingGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.AddingGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

ClearedItems

Event Arguments

Event Arguments
ClearedItemsGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.ClearedItemsGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

ClearingItems

Event Arguments

Event Arguments
ClearingItemsGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.ClearingItemsGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

CollectionChanged

Event Arguments

Event Arguments
NotifyCollectionChangedEventArgs<!– System.Collections.Specialized.NotifyCollectionChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Inserted

Event Arguments

Event Arguments
InsertedGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.InsertedGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Inserting

Event Arguments

Event Arguments
InsertingGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.InsertingGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

PropertyChanged

Event Arguments

Event Arguments
PropertyChangedEventArgs<!– System.ComponentModel.PropertyChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Removed

Event Arguments

Event Arguments
RemovedGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.RemovedGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

Removing

Event Arguments

Event Arguments
RemovingGeoCollectionEventArgs<!– ThinkGeo.MapSuite.Core.RemovingGeoCollectionEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.AndroidEdition.MapTool} –> Go Back

NOTOC AndroidEdition ThinkGeo.MapSuite.AndroidEdition UpdateDocumentation

thinkgeo.mapsuite.androidedition.maptools.1440040127.txt.gz · Last modified: 2015/09/21 10:30 (external edit)