wpf-devexpress-dot-xpf-dot-map-dot-vectorlayerbase-d5ab0ac7.md
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
[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; }
<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
| Type | Description |
|---|---|
| ProjectionBase |
A ProjectionBase class descendant object.
|
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