The requested page is not available for the requested platform. You are viewing the content for Default platform.

VectorLayer Members

The base class for layers that contain various vector elements (e.g., lines, circles, polygons, or elements loaded from shape data files).

Constructors

Name Description
VectorLayer()

Initializes a new instance of the VectorLayer class with default settings.

Fields

Name Description
InitialMapSizeProperty static

Identifies the MapItemsLayerBase.InitialMapSize dependency property.

(Inherited from MapItemsLayerBase)
MapProjectionProperty static

Identifies the MapItemsLayerBase.MapProjection dependency property.

(Inherited from MapItemsLayerBase)
MaxZoomLevelProperty static

Identifies the LayerBase.MaxZoomLevel dependency property.

(Inherited from LayerBase)
MinZoomLevelProperty static

Identifies the LayerBase.MinZoomLevel dependency property.

(Inherited from LayerBase)
SelectedItemBrushProperty static

Identifies the MapItemsLayerBase.SelectedItemBrush dependency property.

(Inherited from MapItemsLayerBase)
SelectedItemProperty static

Identifies the MapItemsLayerBase.SelectedItem dependency property.

(Inherited from MapItemsLayerBase)
SelectedItemsProperty static

Identifies the MapItemsLayerBase.SelectedItems dependency property.

(Inherited from MapItemsLayerBase)
ShapeFillProperty static

Identifies the VectorLayer.ShapeFill dependency property.

ShapeStrokeProperty static

Identifies the VectorLayer.ShapeStroke dependency property.

ShapeStrokeStyleProperty static

Identifies the VectorLayer.ShapeStrokeStyle dependency property.

ToolTipPatternProperty static

Identifies the MapItemsLayerBase.ToolTipPattern dependency property.

(Inherited from MapItemsLayerBase)

Properties

Name Description
InitialMapSize

Gets or sets the size of a map shape tile to provide a map projection.

(Inherited from MapItemsLayerBase)
Items

Provides access to the list of vector elements that are painted in this VectorLayer.

MapProjection

Gets or sets the current projection used by this MapItemsLayerBase object.

(Inherited from MapItemsLayerBase)
MaxZoomLevel

Gets or sets the maximum zoom level at which this layer should be visible.

(Inherited from LayerBase)
MinZoomLevel

Gets or sets the minimum zoom level at which this layer should be visible.

(Inherited from LayerBase)
SelectedItem

Gets or sets the currently selected item on a layer.

(Inherited from MapItemsLayerBase)
SelectedItemBrush

Gets or sets the brush that specifies how the selected item outline is painted.

(Inherited from MapItemsLayerBase)
SelectedItems

Gets or sets the collection of selected items on this layer.

(Inherited from MapItemsLayerBase)
ShapeFill

Gets or sets the brush that specifies how the shape's interior is painted.

ShapeStroke

Gets or sets the brush that specifies how the shape outline is painted.

ShapeStrokeStyle

Gets or sets the settings of the shape outline.

ToolTipPattern

Gets or sets a string that is the pattern specifying the text to be displayed within a tooltip.

(Inherited from MapItemsLayerBase)

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
GeoPointToMapUnit(GeoPoint)

Converts the specified geographical point into internal map units.

(Inherited from LayerBase)
GeoToKilometersSize(GeoPoint, Size)

Converts the specified size in geographical points into the corresponding size in kilometers for the specified anchor point.

(Inherited from LayerBase)
GeoToScreenPoint(GeoPoint)

Converts the specified geographical point into a point on the screen.

(Inherited from LayerBase)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
KilometersToGeoSize(GeoPoint, Size)

Converts the specified size in kilometers into the corresponding size in geographical points for the specified anchor point.

(Inherited from LayerBase)
MapUnitToGeoPoint(MapUnit)

Converts the specified map unit into the corresponding geographical point.

(Inherited from LayerBase)
MapUnitToScreenPoint(MapUnit)

Converts the specified map unit into the point on a screen.

(Inherited from LayerBase)
MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
ScreenPointToMapUnit(Point)

Converts the specified screen point into internal map units.

(Inherited from LayerBase)
ScreenToGeoPoint(Point)

Converts the specified screen point into the corresponding geographical point.

(Inherited from LayerBase)
ToString() Returns a string that represents the current object.
(Inherited from Object)

Events

Name Description
PropertyChanged

Occurs every time any of the MapElement class properties has changed its value.

(Inherited from MapElement)
ViewportChanged

Occurs every time the current viewport is changed.

(Inherited from LayerBase)
See Also