Class
MapShapeReaderBase

Represents the MapShapeReaderBase class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public abstract class MapShapeReaderBase : Freezable

Inheritance: objectMapShapeReaderBase

Derived Classes: MapShapeReaderSqlGeospatialDataReader

Constructors

MapShapeReaderBase()

Declaration

cs-api-definition
protected MapShapeReaderBase()

Fields

ClearLayerProperty

Identifies the ClearLayer dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClearLayerProperty

Field Value

DependencyProperty

CoordinateConverterProperty

Identifies the CoordinateConverter dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CoordinateConverterProperty

Field Value

DependencyProperty

ExtendedPropertySetProperty

Identifies the ExtendedPropertySet dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ExtendedPropertySetProperty

Field Value

DependencyProperty

PointTemplateProperty

Identifies the PointTemplateProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PointTemplateProperty

Field Value

DependencyProperty

ToolTipFormatProperty

Identifies the ToolTipFormat dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToolTipFormatProperty

Field Value

DependencyProperty

ToolTipStyleProperty

Identifies the ToolTipStyle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToolTipStyleProperty

Field Value

DependencyProperty

ToolTipTemplateProperty

Identifies the ToolTipTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToolTipTemplateProperty

Field Value

DependencyProperty

Properties

ClearLayer

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

Declaration

cs-api-definition
public bool ClearLayer { get; set; }

Property Value

bool

CoordinateConverter

Gets or sets the CoordinateConverter applied to the reader.

Declaration

cs-api-definition
public ICoordinateConverter CoordinateConverter { get; set; }

Property Value

ICoordinateConverter

ExtendedPropertySet

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

Declaration

cs-api-definition
public ExtendedPropertySet ExtendedPropertySet { get; set; }

Property Value

ExtendedPropertySet

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).

Layer

Target information layer.

Declaration

cs-api-definition
public InformationLayer Layer { get; set; }

Property Value

InformationLayer

PointTemplate

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

Declaration

cs-api-definition
public DataTemplate PointTemplate { get; set; }

Property Value

DataTemplate

ToolTipFormat

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

Declaration

cs-api-definition
public string ToolTipFormat { get; set; }

Property Value

string

ToolTipStyle

Gets or sets the style applied to the toolTip.

Declaration

cs-api-definition
public Style ToolTipStyle { get; set; }

Property Value

Style

ToolTipTemplate

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.

Declaration

cs-api-definition
public DataTemplate ToolTipTemplate { get; set; }

Property Value

DataTemplate

Methods

AddItemsToLayer(Exception, List<FrameworkElement>)

Adds items to the referenced layer.

Declaration

cs-api-definition
protected void AddItemsToLayer(Exception error, List<FrameworkElement> shapeList)

Parameters

error

Exception

Exception.

shapeList

List<FrameworkElement>

List of shapes.

CreateInstanceCore()

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

Declaration

cs-api-definition
protected override Freezable CreateInstanceCore()

Returns

Freezable

Null.

OnPreviewReadCompleted(PreviewReadShapesCompletedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnPreviewReadCompleted(PreviewReadShapesCompletedEventArgs previewReadCompletedArgs)

Parameters

previewReadCompletedArgs

PreviewReadShapesCompletedEventArgs

The PreviewReadShapesCompletedEventArgs instance containing the event data.

OnReadCompleted(ReadShapesCompletedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnReadCompleted(ReadShapesCompletedEventArgs eventArgs)

Parameters

eventArgs

ReadShapesCompletedEventArgs

The ReadShapesCompletedEventArgs instance containing the event data.

Events

PreviewReadCompleted

Occurs when the reader completes to read shapes.

Declaration

cs-api-definition
public event PreviewReadShapesCompletedEventHandler PreviewReadCompleted

Event Value

PreviewReadShapesCompletedEventHandler

ReadCompleted

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

Declaration

cs-api-definition
public event ReadShapesCompletedEventHandler ReadCompleted

Event Value

ReadShapesCompletedEventHandler