[]
        
(Showing Draft Content)

C1.WPF.Maps.VectorLayer

VectorLayer Class

Represents map layer with the shapes, vectors or geometries in geographical coordinates.

Inheritance
VectorLayer
Namespace: C1.WPF.Maps
Assembly: C1.WPF.Maps.dll
Syntax
[StyleTypedProperty(Property = "ItemStyle", StyleTargetType = typeof(VectorItemBase))]
public class VectorLayer : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IMapLayer, IDisposable

Constructors

Name Description
VectorLayer()

Creates an instance of C1VectorLayer object.

Fields

Name Description
ItemStyleProperty

Identifies the ItemStyle dependency property.

ItemTemplateProperty

Identifies the ItemTemplate dependency property.

ItemsSourceProperty

Identifies the ItemSource dependency property.

UriSourceProperty

Identifies the UriSource dependency property.

Properties

Name Description
Children

Gets the collection of child elements.

ItemStyle

Gets or sets the item style.

ItemTemplate

Gets or sets the item template. Item template should define C1VectorItemBase object.

ItemsSource

Gets or sets the items source. The items should be collection of C1VectorItemBase objects or ItemTemplate should define C1VectorItemBase object.

LabelVisibility

Gets or sets the label visibility.

MinSize

Specifies minimal size at which element becomes visible.

UriSource

Gets or sets the Uri of geographic data that would be shown.

Methods

Name Description
BeginUpdate()

Starts batch update.

Dispose()

Relesed unmanaged resources.

EndUpdate()

Finishes batch update.

OnApplyTemplate()

The method is invoked during ApplyTemplate() call.

Events

Name Description
UriSourceFailed

Fires when the loading of UriSource failed.

UriSourceLoaded

Fires when data from UriSource was loaded.