Language key. See setLanguage for the list of supported languages.
Get the main view.
Main view.
Get the map view.
Map view.
Menu items organized in a tree structure with an array on the root level.
Supported actions that can be performed on the retrieved items structure:
Menu items
Gets the POI Repository object.
Gets the POI Type Repository object.
Moves user to a specified dataset. If image file ID is given, move is done to that image in dataset.
Dataset's ID.
Optional
imageFileId: numberID of image file. If not given or not found, first image from dataset is used.
Optional
viewDir: ViewOrientationInterfacePromise that is resolved when the moving transition is completely finished.
Move to specified geographic location by locating the closest image floor location
and moving the view there.
Images without geo-registration (i.e. where location is null
) are ignored.
If no image is found nearby but the location is still contained in a dataset, the view will
be moved to the exact location and the point cloud will be activated.
Geographic location in WGS-84 or local
If false, coordinate is transformed from WGS-84 to local
View orientation. If undefined
, camera is oriented to view the location.
If is not undefined
then this value will override the viewing direction's latitude value.
Field of view as number. If undefined
, the FOV is left unchanged.
Normal vector of the destination. Used to determine if destination is floor/wall/ceiling.
Flag to force movement to specified location even if an image is found nearby.
Optional
sameFloor: booleanIf true
, only images of the current floor are considered as destination.
Promise that is resolved when the moving transition is completely finished.
If viewDir is undefined
, the viewing direction is determined automatically.
Moves user to an image's location.
Image object.
Optional
viewDir: ViewOrientationInterfaceView orientation. If undefined
, current view direction is left unchanged.
Optional
viewDistance: numberRadius parameter. Image meshes are scaled to this radius before animation starts.
Optional
fov: numberField of view as float. If undefined
, the FOV is left unchanged.
Promise that is resolved when the moving transition is completely finished.
If viewDistance
is not specified, a server-side raycast query for the center of the screen is performed
in order to find the scene depth (assuming the user is focusing on the screen center).
Moves user to an image's location, uses numerical ID of the image object.
Image's ID. If not provided or undefined
, defaults to first image.
View orientation. If undefined
, current view direction is left unchanged.
Field of view as float. If undefined
, the FOV is left unchanged.
Promise that is resolved when the moving transition is completely finished.
Moves user to a location closest to the POI and sets the viewing direction such that the user is looking at the POI.
The POI object.
By default NavVis IVION auto opens POI details panel, If true then that action is prevented.
View orientation. If undefined
, the default direction is used.
Field of view as float. If undefined
, the FOV is left unchanged.
Promise that is resolved when the moving transition is completely finished.
Similar to moveToPoi, uses numerical ID of POI.
The POI's ID.
By default NavVis IVION auto opens POI details panel, If true
then that action is prevented.
View orientation. If undefined
, the default direction is used.
Field of view as float. If undefined
, the FOV is left unchanged.
Promise that is resolved when the moving transition is completely finished.
Moves user to the center of a specified site model entity.
Entity to move to.
Whether to open the details panel or not.
Optional
viewDir: ViewOrientationInterfaceView orientation. If undefined
, the direction is not changed.
Promise that is resolved when the moving transition is completely finished.
Moves user to the center of a specified site model entity.
ID of the entity to move to.
Whether to open the details panel or not.
Optional
viewDir: ViewOrientationInterfaceView orientation. If undefined
, the direction is not changed.
Promise that is resolved when the moving transition is completely finished.
Generated using TypeDoc
Get language (example: returns
en
for English).