Skip to main content
A newer version of this page is available. .

MapRectangle Class

The class used to draw a rectangle on a map.

Namespace: DevExpress.Xpf.Map

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Map, DevExpress.Wpf.Map

Declaration

public class MapRectangle :
    MapShape,
    IRectangleCore,
    ISupportRectangle,
    ISupportCoordLocation,
    IPolygonCore,
    IPointContainerCore,
    ISupportCoordPoints

Remarks

The following image shows an example of a map rectangle shape.

MapRectangle

Note

The MapRectangle.Width and MapRectangle.Height properties are measured in kilometers by default.

Example

View Example

<dxm:MapRectangle Location="60, 80" Width="2000" Height="1000"/>

Implements

See Also