The add-view error when a photo could not be found
The add-view error when the requested render mode was not available
The add-view error when a slice could not be created because the parameters were invalid or incomplete.
The add-view error when the maximum number of view is already open
The EPSG code of the well-known WGS84 coordinate reference system.
A value of the Constants.LOGIN_MODE
login option.
Use this value to specify a guest login to the 3D Mapping Cloud.
A value of 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
.
A value of the Constants.LOGIN_MODE
login option.
Use this value to specify a login to the 3D Mapping Publisher.
Login option: The bookmark public identifier.
Use in combination with login mode Constants.LOGINMODE_CLOUD_GUEST
to specify the bookmark to open.
Login option: The login host URL.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER
to specify the host to connect to.
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
, ...
Login option: The login password.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER
to specify the password to use.
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.
Login option: The login publication name.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER
to specity the name of the publication to open.
Login option: The publication public identifier.
Use in combination with login mode Constants.LOGINMODE_CLOUD_GUEST
to specify the publication to open.
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.
Login option: The login username.
Use in combination with login mode Constants.LOGINMODE_PUBLISHER
to specify the username to use.
The 2D render mode
The 3D render mode
The oblique photo render mode
The planar/nadir photo render mode
The spherical photo render mode
The oblique photo render mode
The build date of the SDK
The version of the SDK
Identifies the setting to apply a gesture preset. Possible values are : 'google', 'orbit', 'ocp' or 'itwin'.
Identifies the setting for overriding ground height
Identifies the setting to synchronize the reference view when one of the views changes.
Identifies the setting to synchronize views.
Identifies the setting to synchronize the views when the reference view changes.
The set-focus error when a view failed to find a photo for the given focus coordinate.
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
.
The mode for creating a horizontal slice with 1 click
This slice mode requires you to also specify Constants.STARTUP_SLICE_POINT1
.
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
.
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
.
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.
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.
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.
Startup option: The Bentley IMS ClientID to use.
Startup option: Flag to enable Bentley IMS Login. If provided, BENTLEY_IMS_CLIENT_ID and BENTLEY_IMS_REDIRECT_URL are also expected to be provided.
The value for this startup option should be a boolean.
Startup option: The Bentley IMS Redirect URL to use.
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
)
Startup option: Startup camera direction when opening an Oblique photo by position.
Values for this option are : N
, E
, S
or W
.
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).
Startup option: Startup horizontal field-of-view for Spherical Views.
The value for this startup option should be an number.
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.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.
Startup option: Startup pixelsize for Slice Views (expressed in meter/pixel).
The value for this startup option should be an number.
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.
Startup option: Startup roll angle for Slice Views.
The value for this startup option should be an number.
Startup option: Skip opening 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.
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
, ...
Startup option: First point for creating a slice view.
The value for this startup option should be a Coordinate.
Startup option: Second point for creating a slice view.
The value for this startup option should be a Coordinate.
Startup option: Third point for creating a slice view.
The value for this startup option should be a Coordinate.
Startup option: Startup slice thickness for Slice Views (expressed in cm).
The value for this startup option should be an number.
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
).
Startup option: Startup tilt angle for Spherical and 3D Views.
The value for this startup option should be an number.
Startup option: Force use of the shadow dom (enabled by default if the browser supports it)
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.
Class Constants holds some predefined values for use in the SDK.
All options with a 'LOGIN_' prefix