CompositeMarkerStyle¶
Namespace: ThinkGeo.UI.Blazor
Represents an ordered collection of marker styles that are rendered at the same position.
public class CompositeMarkerStyle : MarkerStyle
Inheritance object → MarkerStyle → CompositeMarkerStyle
Remarks:
Styles are drawn in collection order. For example, a radial-gradient style can be added before a point-marker style to render a glow beneath an icon.
Properties¶
MarkerStyles¶
Gets the styles to render, from bottom to top.
public Collection<MarkerStyle> MarkerStyles { get; }
Property Value¶
IsActive¶
This property gets and sets the active status of the style.
public bool IsActive { get; set; }
Property Value¶
bool
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¶
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¶
CompositeMarkerStyle()¶
Initializes a new instance of the CompositeMarkerStyle class.
public CompositeMarkerStyle()
Methods¶
GetMarkers(IEnumerable<Feature>)¶
Creates markers for point or multipoint features using this composite style.
public Collection<Marker> GetMarkers(IEnumerable<Feature> features)
Parameters¶
features IEnumerable<Feature>
The features to convert into markers.
Returns¶
Collection<Marker>
A collection of markers generated from the supplied features.