MapShapeData
Represents shape data (geographical and logical coordinates).
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public abstract class MapShapeData : ExtendedDataProvider, IExtendedData, INotifyPropertyChanged, IGeoSizeProvider, IColorable
Inheritance: objectExtendedDataProviderMapShapeData
Derived Classes:
Implements:
Inherited Members
Constructors
protected MapShapeData()
Properties
Gets or sets currently applied shape fill properties.
public MapShapeFill ActiveShapeFill { get; set; }
Gets geographical bounds of the shape.
public LocationRect GeoBounds { get; }
Implements:
Geometry
Geometry
Gets on-screen geometry.
public Geometry Geometry { get; }
GeoSize
Size
Gets or sets geographical size of the shape.
public Size GeoSize { get; }
Implements:
Gets or sets the highlight shape fill properties.
public MapShapeFill HighlightFill { get; set; }
Implements:
Gets the value which indicates that the initialization is started.
protected bool InitStarted { get; }
Gets value which indicates what shape filling (regular or highlighted) is used currently.
public bool IsHighlighted { get; }
Gets value which indicates what shape filling (regular or selected) is used currently.
public bool IsSelected { get; }
RenderTransform
Transform
Gets or sets the Transform object applied to the shape.
public Transform RenderTransform { get; set; }
Gets or sets the center point of any possible render transform declared by MapShapeData.RenderTransform, relative to the bounds of the element.
public Point RenderTransformOrigin { get; set; }
Gets or sets the selected shape fill properties.
public MapShapeFill SelectedFill { get; set; }
Gets or sets the highlight shape fill properties as string.
public MapShapeDataFill SerializedHighlightFill { get; set; }
Serialized presentation of the MapShapeFill object.
Gets or sets the selected shape fill properties as string.
public MapShapeDataFill SerializedSelectedFill { get; set; }
Serialized presentation of the MapShapeFill object.
Gets or sets the shape fill properties as string.
public MapShapeDataFill SerializedShapeFill { get; set; }
Serialized presentation of the MapShapeFill object.
Gets or sets the regular shape fill properties.
public MapShapeFill ShapeFill { get; set; }
Implements:
Gets or sets spatial reference.
public ISpatialReference SpatialReference { get; set; }
Gets or sets parameters of the conversion of the logical coordinates to screen coordinates.
public LogicalToScreenParameters ToScreenParameters { get; set; }
Transform
Transform
Gets on-screen transformation.
public Transform Transform { get; }
Gets bindable wrapper for this map shape data.
public MapShapeBindableWrapper Wrapper { get; }
Methods
Arrange item according to its Location.
protected override void Arrange()
Overrides:
Starts the initialization process for the shape.
public void BeginInit()
Calculates logical coordinates for the current projection.
protected virtual void CalculateLogicalCoordinates()
Indicates that the initialization process for the shape is complete.
public void EndInit()
Indicates that the initialization process for the shape is complete.
public void EndInit(bool updateShape)
Indicates whether shape geometry should be updated.
Sets logical width for the specified zoom level.
Updates geographic bounds of the shape.
protected abstract void UpdateGeoBounds()
Update shape.
protected void UpdateShape()
Use highlight fill and stroke settings.
public void UseHighlightFill()
Use regular fill and stroke settings.
public void UseRegularFill()
Use selected fill and stroke settings.
public void UseSelectedFill()