User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.marker

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.Marker

<!– Class –> Represents a small icon on the map that is used for marking a point.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMarker Initialize a new instance of the Marker class.
Public MethodMarker WebImage Initialize a new instance of the Marker class.
Public MethodMarker Double, Double Initialize a new instance of the Marker class.
Public MethodMarker Double, Double, WebImage Initialize a new instance of the Marker class.
Public MethodMarker PointShape Initialize a new instance of the Marker class.
Public MethodMarker PointShape, WebImage Initialize a new instance of the Marker class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodFromJson String
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToJson Returns a JSON string that contains the information for creating a marker at the client side.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyContextMenu ContextMenu Gets or sets the shortcut menu associated with the marker.
Public PropertyId String Gets or sets a string that represents the unique identifier for this marker. When you add marker into markers collection, it's also the key to find it back, Marker is a virtual control, and we don't allowed to add the same marker in this collection for many times like normal controls.
Public PropertyIsVisible Boolean This property gets or sets the visibily of marker.
Public PropertyOpacity Single Gets or sets a float value between 0 and 1 that indicates the transparency level of the marker.
Public PropertyPopup CustomPopup Gets or sets the shortcut menu associated with the marker.
Public PropertyPopupDelay Int32 Gets or sets a value indicating the interval that should elapse between when the mouse moves over the marker and when its popup window displays.
Public PropertyPosition PointShape Gets or sets a PointShape object that represents the current location of the marker.
Public PropertyWebImage WebImage Gets or sets a GeoIcon object that determines the appearance of the marker.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

Marker()

Initialize a new instance of the Marker class.

Overloads

Initialize a new instance of the Marker class.

Parameters

Name Type Description

Go Back

Marker(WebImage)

Initialize a new instance of the Marker class.

Parameters

Name Type Description
webImage WebImage<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> The icon for the marker.

Go Back

Marker(Double, Double)

Initialize a new instance of the Marker class.

Parameters

Name Type Description
x Double<!– System.Double –> The X coordinate of the marker.
y Double<!– System.Double –> The Y coordinate of the marker.

Go Back

Marker(Double, Double, WebImage)

Initialize a new instance of the Marker class.

Parameters

Name Type Description
x Double<!– System.Double –> The X coordinate of the marker.
y Double<!– System.Double –> The Y coordinate of the marker.
webImage WebImage<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> The icon for the marker.

Go Back

Marker(PointShape)

Initialize a new instance of the Marker class.

Parameters

Name Type Description
position PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> The position of the marker.

Go Back

Marker(PointShape, WebImage)

Initialize a new instance of the Marker class.

Parameters

Name Type Description
position PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> The position of the marker.
webImage WebImage<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> The icon for the marker.

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

FromJson(String)

Return Value

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

Parameters

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

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> 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

ToJson()

Returns a JSON string that contains the information for creating a marker at the client side.

Return Value

Return Type Description
String<!– System.String –> A JSON string that is used to create a marker at the client side.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> 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

ContextMenu

Gets or sets the shortcut menu associated with the marker.

Return Value

Return Type
ContextMenu<!– ThinkGeo.MapSuite.MvcEdition.ContextMenu –>

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> Go Back

Id

Gets or sets a string that represents the unique identifier for this marker. When you add marker into markers collection, it's also the key to find it back, Marker is a virtual control, and we don't allowed to add the same marker in this collection for many times like normal controls.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> Go Back

IsVisible

This property gets or sets the visibily of marker.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> Go Back

Opacity

Gets or sets a float value between 0 and 1 that indicates the transparency level of the marker.

Remarks

The <strong>Opacity</strong> property enables you to specify a level of transparency for the marker. When this property is set to a value less than 100 percent (1.00), the entire overlay is made more transparent. Setting this property to a value of 0 percent (0.00) makes the marker completely invisible.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> Go Back

Gets or sets the shortcut menu associated with the marker.

Return Value

Return Type
CustomPopup<!– ThinkGeo.MapSuite.MvcEdition.CustomPopup –>

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> Go Back

PopupDelay

Gets or sets a value indicating the interval that should elapse between when the mouse moves over the marker and when its popup window displays.

Return Value

Return Type
Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> Go Back

Position

Gets or sets a PointShape object that represents the current location of the marker.

Return Value

Return Type
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> Go Back

WebImage

Gets or sets a GeoIcon object that determines the appearance of the marker.

Return Value

Return Type
WebImage<!– ThinkGeo.MapSuite.MvcEdition.WebImage –>

<!– ThinkGeo.MapSuite.MvcEdition.Marker –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.marker.1440040131.txt.gz · Last modified: 2015/09/21 03:34 (external edit)