Table of Contents

ThinkGeo.MapSuite.FormsEdition.MarkerOverlay

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

<!– Class –> This class represents an overlay which maintaining markers.

Inheritance Hierarchy

*System.Object ThinkGeo.MapSuite.FormsEdition.Overlay * PublicKeyToken=null]] * Culture=neutral * Version=9.0.0.0 MapSuiteFormsEdition *ThinkGeo.MapSuite.FormsEdition.Overlay‹T›[[ThinkGeo.MapSuite.FormsEdition.Adapters.MarkerOverlayAdapter **ThinkGeo.MapSuite.FormsEdition.MarkerOverlay

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMarkerOverlay Initializes a new instance of the class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetBoundingBox Overlay Gets the bounding box.
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodRefresh Overlay This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyAdapter MapElementAdapter Overlay Gets the adapter.
Public PropertyIsVisible Boolean Overlay Gets or sets a value indicating whether this instance is visible.
Public PropertyMarkers GeoCollection<Marker> A collection that holds all the marker objects adding in the overlay.
Public PropertyName String Overlay Gets or sets the name.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

MarkerOverlay()

Initializes a new instance of the class.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

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

Parameters

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

<!– System.Object –> Go Back

GetBoundingBox()

Gets the bounding box.

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> RectangleShape.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.Overlay –> Go Back

GetHashCode()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Refresh()

This method refreshes all the content in the OverlayCanvas. For example, LayerOverlay with multiple tiles; when the style of one layer is changed, call Refresh to refresh all the tiles to accept new styles.

Remarks

The difference from Draw() method is that Refresh() method refreshs all the elements while Draw() does not.

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.FormsEdition.Overlay –> Go Back

ToString()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

Adapter

Gets the adapter.

Return Value

Return Type
MapElementAdapter<!– ThinkGeo.MapSuite.FormsEdition.Adapters.MapElementAdapter –>

<!– ThinkGeo.MapSuite.FormsEdition.Overlay –> Go Back

IsVisible

Gets or sets a value indicating whether this instance is visible.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.FormsEdition.Overlay –> Go Back

Markers

A collection that holds all the marker objects adding in the overlay.

Return Value

Return Type
GeoCollection<Marker><!– ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.FormsEdition.Marker} –>

<!– ThinkGeo.MapSuite.FormsEdition.MarkerOverlay –> Go Back

Name

Gets or sets the name.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.FormsEdition.Overlay –> Go Back

Protected Properties

Public Events

NOTOC MapSuiteFormsEdition ThinkGeo.MapSuite.FormsEdition UpdateDocumentation