New to Telerik UI for WPFStart a free 30-day trial

Represents the MapShapeReaderBase class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public abstract class MapShapeReaderBase : Freezable

Inheritance: objectMapShapeReaderBase

Derived Classes: MapShapeReaderSqlGeospatialDataReader

Constructors

C#
protected MapShapeReaderBase()

Fields

ClearLayerProperty

DependencyProperty

Identifies the ClearLayer dependency property.

C#
public static readonly DependencyProperty ClearLayerProperty

CoordinateConverterProperty

DependencyProperty

Identifies the CoordinateConverter dependency property.

C#
public static readonly DependencyProperty CoordinateConverterProperty

ExtendedPropertySetProperty

DependencyProperty

Identifies the ExtendedPropertySet dependency property.

C#
public static readonly DependencyProperty ExtendedPropertySetProperty

PointTemplateProperty

DependencyProperty

Identifies the PointTemplateProperty dependency property.

C#
public static readonly DependencyProperty PointTemplateProperty

ToolTipFormatProperty

DependencyProperty

Identifies the ToolTipFormat dependency property.

C#
public static readonly DependencyProperty ToolTipFormatProperty

ToolTipStyleProperty

DependencyProperty

Identifies the ToolTipStyle dependency property.

C#
public static readonly DependencyProperty ToolTipStyleProperty

ToolTipTemplateProperty

DependencyProperty

Identifies the ToolTipTemplate dependency property.

C#
public static readonly DependencyProperty ToolTipTemplateProperty

Properties

Gets or sets the ClearLayer property. If it is set to true, then the reader clears its information layer after reading.

C#
public bool ClearLayer { get; set; }

Gets or sets the CoordinateConverter applied to the reader.

C#
public ICoordinateConverter CoordinateConverter { get; set; }

Gets or sets extended property set which will be used during shape file (KML or ESRI) reading.

C#
public ExtendedPropertySet ExtendedPropertySet { get; set; }
Remarks:

Can be null. In this case extended property set will be created depends on the extended data available in the KML file or in the attributes file (DBF).

Target information layer.

C#
public InformationLayer Layer { get; set; }

PointTemplate

DataTemplate

Gets or sets content template for the point (reader uses the MapContentControl to represent a point).

C#
public DataTemplate PointTemplate { get; set; }

Gets or sets tooltip format. Either ToolTipFormat or ToolTipTemplate should be specified. If both properties are set, then ToolTipTemplate will be used.

C#
public string ToolTipFormat { get; set; }

Gets or sets the style applied to the toolTip.

C#
public Style ToolTipStyle { get; set; }

ToolTipTemplate

DataTemplate

Gets or sets tooltip content template. Either ToolTipFormat or ToolTipTemplate should be specified. If both properties are set, then ToolTipTemplate will be used. You can bind elements in the tooltip template to extended properties using ExtendedDataConverter and Data property of the ExtendedData object.

C#
public DataTemplate ToolTipTemplate { get; set; }

Methods

Adds items to the referenced layer.

C#
protected void AddItemsToLayer(Exception error, List<FrameworkElement> shapeList)
Parameters:errorException

Exception.

shapeListList<FrameworkElement>

List of shapes.

When implemented in a derived class, creates a new instance of the Freezable derived class.

C#
protected override Freezable CreateInstanceCore()
Returns:

Freezable

Null.

Raises the event.

C#
protected virtual void OnPreviewReadCompleted(PreviewReadShapesCompletedEventArgs previewReadCompletedArgs)
Parameters:previewReadCompletedArgsPreviewReadShapesCompletedEventArgs

The PreviewReadShapesCompletedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnReadCompleted(ReadShapesCompletedEventArgs eventArgs)
Parameters:eventArgsReadShapesCompletedEventArgs

The ReadShapesCompletedEventArgs instance containing the event data.

Events

Occurs when the reader completes to read shapes.

C#
public event PreviewReadShapesCompletedEventHandler PreviewReadCompleted

Occurs when the reader completes to read shapes and pass them to target information layer.

C#
public event ReadShapesCompletedEventHandler ReadCompleted