Skip to content

PointMarkerStyle

Namespace: ThinkGeo.UI.Blazor

Represents a point style for Marker.

public class PointMarkerStyle : MarkerStyle

Inheritance ObjectMarkerStylePointMarkerStyle

Properties

VirtualPath

Gets or sets the virtual path of the icon.

public string VirtualPath { get; set; }

Property Value

String

OffsetX

Gets or sets the offsetX of the icon.

public double OffsetX { get; set; }

Property Value

Double

OffsetY

Gets or sets the offsetY of the icon.

public double OffsetY { get; set; }

Property Value

Double

Scale

Gets or sets the Scale of the icon.

public double Scale { get; set; }

Property Value

Double

IsActive

This property gets and sets the active status of the style.

public bool IsActive { get; set; }

Property Value

Boolean
This property gets the active status of the style.

Remarks:

If the style is not active then it will not draw.

RequiredColumnNames

This property gets the collection of fields that are required for the style.

public Collection<string> RequiredColumnNames { get; }

Property Value

Collection<String>

        This property gets the collection of fields that are required for the
        style.

Remarks:

This property gets the collection of fields that are required for the style. These are in addition to any other columns you specify in styles that inherit from this one. For example, if you have use a ValueStyle and it requires a column name for the value comparison, then that column does not need to be in this collection. You only use the RequiredColumnNames for columns you need beyond those required by specific inherited styles.

Constructors

PointMarkerStyle()

Initializes a new instance of PointMarkerStyle.

public PointMarkerStyle()

PointMarkerStyle(String)

Initializes a new instance of PointMarkerStyle.

public PointMarkerStyle(string virtualPath)

Parameters

virtualPath String
The virtual path of the marker icon.

PointMarkerStyle(String, Double, Double, Double)

Initializes a new instance of PointMarkerStyle.

public PointMarkerStyle(string virtualPath, double offsetX, double offsetY, double scale)

Parameters

virtualPath String
The virtual path of the marker icon.

offsetX Double
The offsetX of icon. The value should be in [0,1].

offsetY Double
The offsetY of icon. The value should be in [0,1].

scale Double

Methods

GetMarkers(IEnumerable<Feature>)

public Collection<Marker> GetMarkers(IEnumerable<Feature> features)

Parameters

features IEnumerable<Feature>

Returns

Collection<Marker>