Skip to content

MarkerStyle

Namespace: ThinkGeo.UI.Wpf

This class represents the base class for all classes that defines the styles applied to the markers.

public abstract class MarkerStyle

Inheritance ObjectMarkerStyle

Remarks:

The MarkerStyle class is the base class for all style classed that contains the style definition of markers. When dynamically creating the markers, these style classes apply their styles to markers. The MarkerStyle class has an abstract GetMarkers method which accepts a collection of features. It creates a collection of markers with the styles specified from these features. Inherit from this class and implements the GetMarkers method if you want to create your own MarkerStyle.

Methods

GetMarkers(IEnumerable<Feature>, IMapArguments)

The abstract method returns a collection of markers from the features that passed in.

public GeoCollection<Marker> GetMarkers(IEnumerable<Feature> features, IMapArguments mapArguments)

Parameters

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

mapArguments IMapArguments

Returns

GeoCollection<Marker>
A collection of marker controls that will be overlap on the map control.

GetMarkersCore(IEnumerable<Feature>, IMapArguments)

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

Parameters

features IEnumerable<Feature>

mapArguments IMapArguments

Returns

GeoCollection<Marker>