Creates map visuals for parsed geospatial data; assign a subclass to VisualElementFactory to customize the generated elements.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public class MapVisualElementFactory
Inheritance: objectMapVisualElementFactory
Constructors
public MapVisualElementFactory()
Methods
Creates an empty MapCluster that can hold clusterable map elements.
Creates a multi-part MapPath with one path component for each point collection.
public virtual MapVisualElement CreatePath(Collection<Collection<PointG>> points)
The ordered geographic points for each path component.
Returns:The path visual element.
Creates a filled MapPolygon whose inner boundaries represent holes in the outer boundary.
public virtual MapVisualElement CreatePolygon(Collection<PointG> outerBoundary, Collection<Collection<PointG>> innerBoundaries)
The geographic points that define the polygon's outer boundary.
innerBoundariesCollection<Collection<PointG>>The geographic point collections that define holes inside the polygon.
Returns:The polygon visual element.
Creates a filled MapPolygon with the supplied outer boundary and no inner boundaries.
public virtual MapVisualElement CreatePolygon(Collection<PointG> outerBoundary)
The geographic points that define the polygon boundary.
Returns:The polygon visual element.
Creates an open MapPolyline through the supplied points in order.
public virtual MapVisualElement CreatePolyline(Collection<PointG> points)
The geographic points that define the line.
Returns:The polyline visual element.