MarkerStyle¶
Namespace: ThinkGeo.Core
This class represents the base class for all classes that defines the styles applied to the markers.
public abstract class MarkerStyle
Inheritance Object → MarkerStyle
Remarks:
The MarkerStyle class is the base class for all style classed that contains the style definition of markers. When dynamicly 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>, MapArguments)¶
The abstract method returns a collection of markers from the features that passed in.
public GeoCollection<Marker> GetMarkers(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 marker controls that will be overlap on the map control.
GetMarkersCore(IEnumerable<Feature>, MapArguments)¶
protected GeoCollection<Marker> GetMarkersCore(IEnumerable<Feature> features, MapArguments mapArguments)
Parameters¶
features
IEnumerable<Feature>
mapArguments
MapArguments
Returns¶
GeoCollection<Marker>