Methods
View
lookAtBoundingBox
Adjusts the viewbox to the provided bounding box.
Bounding box to look at.
Options for looking at the bounding box.
Type | Required |
---|---|
Object | No |
Properties
Default value for retainStoreys is false when the bounding box includes a z coordinate and true when a z coordinate isn't included in the bounding box.
Name | Type | Required | Description |
---|---|---|---|
expand | Number or Vector2 | No | Expand the view in meters surrounding the objects |
retainStoreys | Boolean | No | Keep current storeys |