User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.pointmarkerstyle

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.PointMarkerStyle

<!– Class –> Represents the ordinary marker style.

Remarks

The <strong>PointMarkerStyle</strong> contains the basic style for creating a marker such as a web image, popup and context menu. Use this style to create a batch of markers that all have the same appearance.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodPointMarkerStyle Initialize an instance of the PointMarkerStyle class.
Public MethodPointMarkerStyle WebImage Initialize an instance of the PointMarkerStyle class.
Public MethodPointMarkerStyle WebImage, CustomPopup Initialize an instance of the PointMarkerStyle class.
Public MethodPointMarkerStyle WebImage, CustomPopup, ContextMenu Initialize an instance of the PointMarkerStyle class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetMarkers IEnumerable<Feature> MarkerStyle(overriden) Returns a collection of markers that are created with specific styles from the features passed in.
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodGetContextMenusCore MarkerStyle(overriden) Gets a collection of context menus that are associated with the MarkerStyle.
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyContextMenu ContextMenu Gets or sets a context menu object that displays when you right-click on the 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 popup object that displays when the mouse pointer is over a 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 PropertyWebImage WebImage Gets or sets the small image that the marker displays as its icon.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

PointMarkerStyle()

Initialize an instance of the PointMarkerStyle class.

Overloads

Initialize an instance of the PointMarkerStyle class.

Parameters

Name Type Description

Go Back

PointMarkerStyle(WebImage)

Initialize an instance of the PointMarkerStyle class.

Overloads

Initialize an instance of the PointMarkerStyle class.

Parameters

Name Type Description
webImage WebImage<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> The small image that the marker displays.

Go Back

PointMarkerStyle(WebImage, CustomPopup)

Initialize an instance of the PointMarkerStyle class.

Overloads

Initialize an instance of the PointMarkerStyle class.

Parameters

Name Type Description
webImage WebImage<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> The small image that the marker displays.
popup CustomPopup<!– ThinkGeo.MapSuite.MvcEdition.CustomPopup –> The popup window that appears when the mouse pointer is over the marker.

Go Back

PointMarkerStyle(WebImage, CustomPopup, ContextMenu)

Initialize an instance of the PointMarkerStyle class.

Overloads

Initialize an instance of the PointMarkerStyle class.

Parameters

Name Type Description
webImage WebImage<!– ThinkGeo.MapSuite.MvcEdition.WebImage –> The small image that the marker displays.
popup CustomPopup<!– ThinkGeo.MapSuite.MvcEdition.CustomPopup –> The popup window that appears when the mouse pointer is over the marker.
contextMenu ContextMenu<!– ThinkGeo.MapSuite.MvcEdition.ContextMenu –> The context menu that appears when you right-click on 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

GetHashCode()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetMarkers(IEnumerable<Feature>)

Returns a collection of markers that are created with specific styles from the features passed in.

Return Value

Return Type Description
Collection<Marker><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.MvcEdition.Marker} –>

Parameters

Name Type Description
features IEnumerable<Feature><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.Feature} –> A collection of features that the markers are created from.

<!– ThinkGeo.MapSuite.MvcEdition.MarkerStyle(overriden) –> Go Back

GetType()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> 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

GetContextMenusCore()

Gets a collection of context menus that are associated with the MarkerStyle.

Return Value

Return Type Description
GeoKeyedCollection<ContextMenu><!– ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.ContextMenu} –> A collection of context menus that are associated with the MarkerStyle.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.MarkerStyle(overriden) –> 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 a context menu object that displays when you right-click on the marker.

Return Value

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

<!– ThinkGeo.MapSuite.MvcEdition.PointMarkerStyle –> 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.PointMarkerStyle –> Go Back

Gets or sets the popup object that displays when the mouse pointer is over a marker.

Return Value

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

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

Remarks

The <strong>PopupDelay</strong> value is counted in milliseconds. If it is set to 500, the popup will display 500ms after the mouse pointer hovers over the marker.

Return Value

Return Type
Int32<!– System.Int32 –>

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

WebImage

Gets or sets the small image that the marker displays as its icon.

Return Value

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

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

Protected Properties

Public Events

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