Skip to main content

MapBounds.Intersect(MapBounds, MapBounds) Method

Returns the map bounds that represent the intersection of two map bounds.

Namespace: DevExpress.Map

Assembly: DevExpress.Map.v24.1.Core.dll

NuGet Package: DevExpress.Map.Core

Declaration

public static MapBounds Intersect(
    MapBounds rect1,
    MapBounds rect2
)

Parameters

Name Type Description
rect1 MapBounds

The first map bounds.

rect2 MapBounds

The second map bounds.

Returns

Type Description
MapBounds

The map bounds that represent the intersection of two map bounds.

Remarks

If there is no intersection, empty map bounds are returned.

See Also