Back to Devexpress

VectorLayerBase.MapProjection Property

wpf-devexpress-dot-xpf-dot-map-dot-vectorlayerbase-d5ab0ac7.md

latest2.2 KB
Original Source

VectorLayerBase.MapProjection Property

OBSOLETE

The VectorLayerBase.MapProjection property is obsolete now. Use the ((GeoMapCoordinateSystem)MapControl.CoordinateSystem).Projection property instead.

Gets or sets the projection used by a VectorLayerBase class descendant.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
[Obsolete("The VectorLayerBase.MapProjection property is obsolete now. Use the ((GeoMapCoordinateSystem)MapControl.CoordinateSystem).Projection property instead.")]
[PreferableMember("GeoMapCoordinateSystem", "Projection", "ProjectionBase")]
[Browsable(false)]
public ProjectionBase MapProjection { get; set; }
vb
<Obsolete("The VectorLayerBase.MapProjection property is obsolete now. Use the ((GeoMapCoordinateSystem)MapControl.CoordinateSystem).Projection property instead.")>
<PreferableMember("GeoMapCoordinateSystem", "Projection", "ProjectionBase")>
<Browsable(False)>
Public Property MapProjection As ProjectionBase

Property Value

TypeDescription
ProjectionBase

A ProjectionBase class descendant object.

|

Remarks

This API is now obsolete. The VectorLayerBase.MapProjection property is now obsolete. Use the GeoMapCoordinateSystem.Projection property of the GeoMapCoordinateSystem object assigned to the MapControl.CoordinateSystem property instead.

See Also

VectorLayerBase Class

VectorLayerBase Members

DevExpress.Xpf.Map Namespace