Static ReadonlyADD_The add-view error when a photo could not be found
Static ReadonlyADD_The add-view error when the requested render mode was not available
Static ReadonlyADD_The add-view error when a slice could not be created because the parameters were invalid or incomplete.
Static ReadonlyADD_The add-view error when the maximum number of view is already open
Static ReadonlyCRS_A value for the Constants.STARTUP_CRS startup option.
Use this value to define that the communication CRS should be set to the CRS of the first opened resource.
The Viewer3DM.onSettingChanged signal will fire an event when the value for Constants.STARTUP_CRS is set. The updated value can be retrieved using the Viewer3DM.getSetting function.
Static ReadonlyCRS_A value for the Constants.STARTUP_CRS startup option.
Use this value to define that there is no communication CRS and objects should keep their original CRS.
The Viewer3DM.onSettingChanged signal will fire an event when the value for Constants.STARTUP_CRS is set. The updated value can be retrieved using the Viewer3DM.getSetting function.
Static ReadonlyCRS_The EPSG code of the well-known WGS84 coordinate reference system.
Static ReadonlyERROR_The generic 'photo-not-found' error.
Static ReadonlyERROR_The generic 'photo-not-found' error.
Static ReadonlyFOCUS_Focus option: Limit focusing to one specific view instead of all views.
Note that the workspace focus position is still updated when using this focus option.
Static ReadonlyLOGIN_Login option: The login access provider to use.
When not provided, the Publisher's internal user database is used.
When a code is provided (String) then the login takes place in the context of an Access Provider with that code, that is known by the Publisher installation.
Example: "bi" is the default code to make use of the Bentley IMS (providing the Publisher Installation is properly configured).
Static ReadonlyLOGIN_Login option: The bookmark public identifier.
Use in combination with login mode Constants.LOGINMODE_CLOUD_GUEST to specify the bookmark to open.
Static ReadonlyLOGIN_Login option: The login host URL.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER to specify the host to connect to.
Static ReadonlyLOGIN_Login option: The login mode to use.
Values for this option are provided as constants with a 'LOGINMODE' prefix : Constants.LOGINMODE_PUBLISHER, Constants.LOGINMODE_GUEST_CLOUD, ...
Static ReadonlyLOGIN_Login option: The login password.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER to specify the password to use.
Static ReadonlyLOGIN_Login option: The optional login path prefix.
This parameter should be used when the publisher is hosted behind a proxy path.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER to specify the path prefix to use.
Static ReadonlyLOGIN_A value for the Constants.LOGIN_ACCESS_PROVIDER login option.
Use this value to specify using Bentley IMS for login (could be not supported).
Static ReadonlyLOGIN_Login option: The login publication name.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER to specity the name of the publication to open.
Static ReadonlyLOGIN_Login option: The publication public identifier.
Use in combination with login mode Constants.LOGINMODE_CLOUD_GUEST to specify the publication to open.
Static ReadonlyLOGIN_Login option: The login publisher api version.
Use number '2' as a value to force a login to the flash publisher.
Use number '3' as a value to force a login to the html5 publisher.
Lease unspecified to try html5 first with a fallback on flash.
Static ReadonlyLOGIN_Login option: The login username.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER to specify the username to use.
Static ReadonlyLOGINMODE_A value of the Constants.LOGIN_MODE login option.
Use this value to specify a login (using Bentley IMS) to 3DM Cloud.
*
Static ReadonlyLOGINMODE_A value of the Constants.LOGIN_MODE login option.
Use this value to specify a login (using Bentley IMS) to the 3DM Publisher.
This login mode requires 2 extra options: LOGIN_HOST and LOGIN_PUBLICATION_NAME.
*
Static ReadonlyLOGINMODE_A value of the Constants.LOGIN_MODE login option.
Use this value to specify a login to the 3DM Cloud..
Static ReadonlyLOGINMODE_A value of the Constants.LOGIN_MODE login option.
Use this value to specify a guest login to the 3DM Cloud.
Static ReadonlyLOGINMODE_A value for the Constants.LOGIN_MODE login option.
Use this value to specify a guest login to the 3DM Publisher.
This login mode requires 2 extra options: LOGIN_HOST and LOGIN_PUBLICATION_NAME.
Static ReadonlyLOGINMODE_A value of the Constants.LOGIN_MODE login option.
Use this value to specify a login to the 3DM Publisher.
Static ReadonlyNOTIFICATION_Identifies the 'error' notification type.
Used by the Notification class.
Static ReadonlyNOTIFICATION_Identifies the 'info' notification type.
Used by the Notification class.
Static ReadonlyNOTIFICATION_Identifies the 'warning' notification type.
Used by the Notification class.
Static ReadonlyRENDER_The 2D render mode
Static ReadonlyRENDER_The 3D render mode
Static ReadonlyRENDER_The oblique photo render mode
Static ReadonlyRENDER_The planar/nadir photo render mode
Static ReadonlyRENDER_The spherical photo render mode
Static ReadonlyRENDER_The oblique photo render mode
Static ReadonlySDK_The build date of the SDK
Static ReadonlySDK_The version of the SDK
Static ReadonlySET_The set-focus error when a view failed to find a photo for the given focus coordinate.
Static ReadonlySETTING_Identifies the setting to apply a gesture preset. Possible values are : 'google', 'orbit', 'ocp' or 'itwin'.
Static ReadonlySETTING_Identifies the setting for overriding ground height
Static ReadonlySETTING_Identifies the setting to synchronize the reference view when one of the views changes.
Static ReadonlySETTING_Identifies the setting to synchronize views.
Static ReadonlySETTING_Identifies the setting to synchronize the views when the reference view changes.
Static ReadonlySLICE_The mode for creating a slice with 3 clicks
This slice mode requires you to also specify Constants.STARTUP_SLICE_POINT1, Constants.STARTUP_SLICE_POINT2 and Constants.STARTUP_SLICE_POINT3.
Static ReadonlySLICE_The mode for creating a horizontal slice with 1 click
This slice mode requires you to also specify Constants.STARTUP_SLICE_POINT1.
Static ReadonlySLICE_The mode for creating a horizontal slice with 3 clicks
This slice mode requires you to also specify Constants.STARTUP_SLICE_POINT1, Constants.STARTUP_SLICE_POINT2 and Constants.STARTUP_SLICE_POINT3.
Static ReadonlySLICE_The mode for creating a vertical slice with 2 clicks
This slice mode requires you to also specify Constants.STARTUP_SLICE_POINT1 and Constants.STARTUP_SLICE_POINT2.
Static ReadonlySTARTUP_Startup option: Add extra camera properties to resource-related MapObject instances (field-of-view or footprints).
The value for this startup option should be boolean.
Static ReadonlySTARTUP_Startup option: Add extra resource properties to resource-related MapObject instances (field-of-view or footprints).
The value for this startup option should be boolean.
Static ReadonlySTARTUP_Startup option: Sets whether API requests will be requested to include credentials (cookies) when making cross-domain requests.
The value for this startup option should be a boolean instance (default is false).
Static ReadonlySTARTUP_Startup option: The initial state of the application at startup.
The value for this startup option should be a serialized state string, previously provided by the Viewer3DM.onAppStateChanged signal.
Static ReadonlySTARTUP_Startup option: Automatically login using a set of login credentials.
Setting this startup option disables the login panel and only allows the user to retry the autologin credentials.
The value for this startup option should be an AMap instance containing the various LOGIN_xxx settings.
Static ReadonlySTARTUP_Startup option: The Bentley IMS ClientID to use.
Static ReadonlySTARTUP_Startup option: Flag to enable Bentley IMS Login. When provided BENTLEY_IMS_REDIRECT_URL is also expected to be provided.
The value for this startup option should be a boolean.
Static ReadonlySTARTUP_Startup option: The Bentley IMS Redirect URL to use.
Static ReadonlySTARTUP_Startup option: Set the EPSG code of the SDK Communication CRS.
This CRS is used by the SDK when returning geometry data (default is Constants.CRS_WGS84)
Static ReadonlySTARTUP_Startup option: Startup camera direction when opening an Oblique photo by position.
Values for this option are : N, E, S or W.
Static ReadonlySTARTUP_Startup option: Disable the workspace notifications appearing on the viewer?
Use this setting if you use the onNotification Signal to present the notifications in the host environment.
The value for this startup option should be a boolean.
Static ReadonlySTARTUP_Startup option: Startup focus position for a view.
Override the focus position on all views, when opening a workspace.
The value for this startup option should be a Coordinate instance.
Every view will bring this position into view (opening the closest or best photo as needed).
Static ReadonlySTARTUP_Startup option: Startup horizontal field-of-view for Spherical Views.
The value for this startup option should be an number.
Static ReadonlySTARTUP_Startup option: Startup pan angle for Spherical and 3D Views.
This overrides the workspace configuration or pan angle derived from STARTUP_FOCUS_POSITION.
The value for this startup option should be :
driving direction : This will be applied on all Spherical Views and reset the heading to driving direction.Static ReadonlySTARTUP_Startup option: Startup photo position for a photo view.
The value for this startup option should be a string.
This option can only be used as an option for addViewWithOptions.
Static ReadonlySTARTUP_Startup option: Startup pixelsize for Slice Views (expressed in meter/pixel).
The value for this startup option should be an number.
Static ReadonlySTARTUP_Startup option: Preset a set of login credentials.
Presets the login panel fields with the credentials provided.
The value for this startup option should be an AMap instance containing the various LOGIN_xxx settings.
Static ReadonlySTARTUP_Startup option: Startup roll angle for Slice Views.
The value for this startup option should be an number.
Static ReadonlySTARTUP_Startup option: Skip focusing views on viewer startup.
The value for this startup option should be a boolean.
Use this option if you want to focus the viewer on a specific coordinate, but also want to know if all views were successfully focused.
To do that, first set this option, then wait for the onWorkspaceOpened signal to dispatch. After that, call the setFocusPosition() function and use the returned promise.
Static ReadonlySTARTUP_Startup option: Startup slice mode for Slice Views.
If this mode is specified, a slice is constructed using 1 to 3 points, to be specified using Constants.STARTUP_SLICE_POINT1, etc...
Values for this option are provided as constants with a 'SLICE_MODE_' prefix : Constants.SLICE_MODE_HORIZONTAL_1POINT, Constants.SLICE_MODE_VERTICAL_2POINTS, ...
Static ReadonlySTARTUP_Startup option: First point for creating a slice view.
The value for this startup option should be a Coordinate.
Static ReadonlySTARTUP_Startup option: Second point for creating a slice view.
The value for this startup option should be a Coordinate.
Static ReadonlySTARTUP_Startup option: Third point for creating a slice view.
The value for this startup option should be a Coordinate.
Static ReadonlySTARTUP_Startup option: Startup slice thickness for Slice Views (expressed in cm).
The value for this startup option should be an number.
Static ReadonlySTARTUP_Startup option: Controls whether signal dispatches are throttled during animations.
This option limits the maximum frequency of dispatches of the onFieldOfViewsChanged signal to one per 100ms.
The value for this startup option should be a boolean instance (default is false).
Static ReadonlySTARTUP_Startup option: Startup tilt angle for Spherical and 3D Views.
The value for this startup option should be an number.
Static ReadonlySTARTUP_Startup option: Force use of the shadow dom (enabled by default if the browser supports it)
Static ReadonlySTARTUP_Startup option: Startup view position for a view.
The value for this startup option should be a Coordinate instance.
This option can only be used as an option for the addViewWithOptions() and setFocusWithOptions() functions and only affects 3D or UAV views.
Static ReadonlySTARTUP_Startup option: The initial state of the workspace at startup.
The value for this startup option should be a serialized state string, previously provided by the Viewer3DM.onWorkspaceStateChanged signal.
Class Constants holds some predefined values for use in the SDK.
All options with a 'LOGIN_' prefix