viewRectangle property
The view rectangle for camera updates.
Defines a sub-space of the screen that the behavior should consider
for camera updates.
Defaults to null. If not set, it uses the viewport bounds of the underlying map view.
Gets the current view rectangle, if it's set.
Implementation
Rectangle2D? get viewRectangle;
The view rectangle for camera updates.
Defines a sub-space of the screen that the behavior should consider
for camera updates.
Defaults to null. If not set, it uses the viewport bounds of the underlying map view.
Sets view rectangle.
Implementation
set viewRectangle(Rectangle2D? value);