Framing
Framing objects record the visible plan and rotation in a Viewer. Framing isn’t a snapshot of the camera settings (position, rotation, zoom) but a collection of coordinates that must be visible, such that Framing objects are resistant to changes in aspect ratio and geotags.
Framing objects are versioned and safe to save in 3rd party storage. If the version is changed in newer versions of the SDK, previous versions will continue to be supported by viewer.setFraming().
You can get Framing objects through the following methods:
- Get the current Framing of the viewer: viewer.getFraming()
- Get Framing from an
evacSign
feature: evacSign.getFraming()
You can set the camera from a Framing object using viewer.setFraming().
Format
Version 2
This is the current version.