Skip to content

PointMarkerStyle

Namespace: ThinkGeo.Core

This class represents the ordinary point marker style.

public class PointMarkerStyle : MarkerStyle

Inheritance ObjectMarkerStylePointMarkerStyle

Remarks:

The PointMarkerStyle contains the basic style for creating a marker such as web image, popup and context menu. Use this style to create a batch of markers with the same appearance.

Properties

ImageSource

Gets or sets the small image that the marker displays.

public ImageSource ImageSource { get; set; }

Property Value

ImageSource
A small image that the marker displays.

Remarks:

Gets or sets the small image that the marker displays.

Width

Gets or sets the width in pixel of the web image.

public double Width { get; set; }

Property Value

Double
A double value indicating the width in pixel of the image file.

Remarks:

Gets or sets the width in pixel of the web image.

Height

Gets or sets the height in pixel of the web image.

public double Height { get; set; }

Property Value

Double
A double value indicating the height in pixel of the image file.

Remarks:

Gets or sets the height in pixel of the web image.

XOffset

Gets or sets the image's X offset in pixel.

public double XOffset { get; set; }

Property Value

Double
A double value indicating the image's X offset in pixel.

Remarks:

Gets or sets the image's X offset in pixel.

YOffset

Gets or sets the image's Y offset in pixel.

public double YOffset { get; set; }

Property Value

Double
A double value indicating the image's Y offset in pixel.

Remarks:

Gets or sets the image's Y offset in pixel.

ToolTip

Gets or sets a tooltip for marker.

public string ToolTip { get; set; }

Property Value

String

ToolTipDelay

Gets or sets an interval in milliseconds.

public int ToolTipDelay { get; set; }

Property Value

Int32

Constructors

PointMarkerStyle()

Constructor of the PointMarkerStyle class.

public PointMarkerStyle()

Remarks:

This is constructor of the PointMarkerStyle class.

PointMarkerStyle(ImageSource)

Constructor of the PointMarkerStyle class.

public PointMarkerStyle(ImageSource imageSource)

Parameters

imageSource ImageSource
An ImageSource value indicating the icon source for the marker.

Remarks:

This is constructor of the PointMarkerStyle class.

Methods

GetMarkersCore(IEnumerable<Feature>, MapArguments)

This method returns a collection of markers that created with specific styles from the features passed in.

protected GeoCollection<Marker> GetMarkersCore(IEnumerable<Feature> features, MapArguments mapArguments)

Parameters

features IEnumerable<Feature>
A collection of features that the markers are created from.

mapArguments MapArguments

Returns

GeoCollection<Marker>
A collection of markers that create from the features.

Remarks:

This method returns a collection of markers that created with specific styles from the features passed in.