User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.marker

ThinkGeo.MapSuite.MvcEdition.Marker

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.

Represents a small icon on the map that is used for marking a point.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.MvcEdition.Marker

Members Summary

Public Constructors

Marker()

  • Initialize a new instance of the Marker class.
Remarks
  • N/A
Parameters

Marker(WebImage)

  • Initialize a new instance of the Marker class.
Remarks
  • N/A
Parameters
  • webImage
    • Type:WebImage
    • Description:The icon for the marker.

Marker(Double,Double)

  • Initialize a new instance of the Marker class.
Remarks
  • N/A
Parameters
  • x
    • Type:Double
    • Description:The X coordinate of the marker.
  • y
    • Type:Double
    • Description:The Y coordinate of the marker.

Marker(Double,Double,WebImage)

  • Initialize a new instance of the Marker class.
Remarks
  • N/A
Parameters
  • x
    • Type:Double
    • Description:The X coordinate of the marker.
  • y
    • Type:Double
    • Description:The Y coordinate of the marker.
  • webImage
    • Type:WebImage
    • Description:The icon for the marker.

Marker(PointShape)

  • Initialize a new instance of the Marker class.
Remarks
  • N/A
Parameters
  • position
    • Description:The position of the marker.

Marker(PointShape,WebImage)

  • Initialize a new instance of the Marker class.
Remarks
  • N/A
Parameters
  • position
    • Description:The position of the marker.
  • webImage
    • Type:WebImage
    • Description:The icon for the marker.

Protected Constructors

Public Methods

ToJson()

  • Returns a JSON string that contains the information for creating a marker at the client side.
Remarks
  • N/A
Return Value
  • Type:String
  • Description:A JSON string that is used to create a marker at the client side.
Parameters

FromJson(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • jsonString
    • Type:String
    • Description:N/A

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

ContextMenu

Gets or sets the shortcut menu associated with the marker.

Remarks

N/A

Return Value

Popup

Gets or sets the shortcut menu associated with the marker.

Remarks

N/A

Return Value

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.

Remarks

N/A

Return Value
  • Type:Int32

Position

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

Remarks

N/A

Return Value

WebImage

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

Remarks

N/A

Return Value

Opacity

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

Remarks

The Opacity 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
  • Type:Single

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.

Remarks

N/A

Return Value
  • Type:String

IsVisible

This property gets or sets the visibily of marker.

Remarks

N/A

Return Value
  • Type:Boolean

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.marker.txt · Last modified: 2017/03/16 21:59 (external edit)