Contents

cameraBoundary

A constraint of the location of the center of the map.

Declaration

get cameraBoundary(): CameraBoundaryDescription | null;
set cameraBoundary(cameraBoundary: null | CoordinateRegion | MapRect);

Mentioned in

Return Value

An object containing both CoordinateRegion and MapRect instances.

Discussion

Setting this property requires either a CoordinateRegion or a MapRect instance as a value. Getting the property returns an object containing both CoordinateRegion and MapRect instances.

Topics

Defining a Camera Boundary

See Also

Manipulating the visible portion of the map