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.
Get share URL containing information about current image, longitude and latitude.
Share URL.
Moves user to a specified dataset. If image file ID is given, move is done to that image in dataset.
Promise that is resolved when the moving transition is completely finished.
Dataset's ID.
Optional
imageFileId: numberID of image file. If not given or not found, first image from dataset is used.
Optional
viewDir: ViewOrientationInterfaceMove 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.
If viewDir is undefined
, the viewing direction is determined automatically.
Promise that is resolved when the moving transition is completely finished.
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.
Moves user to an image's location.
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).
Promise that is resolved when the moving transition is completely finished.
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.
Moves user to an image's location, uses numerical ID of the image object.
Promise that is resolved when the moving transition is completely finished.
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.
Moves user to a location closest to the POI and sets the viewing direction such that the user is looking at the POI.
Promise that is resolved when the moving transition is completely finished.
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.
Similar to moveToPoi, uses numerical ID of POI.
Promise that is resolved when the moving transition is completely finished.
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.
Moves user to the center of a specified site model entity.
Promise that is resolved when the moving transition is completely finished.
Entity to move to.
Whether to open the details panel or not.
Optional
viewDir: ViewOrientationInterfaceView orientation. If undefined
, the direction is not changed.
Moves user to the center of a specified site model entity.
Promise that is resolved when the moving transition is completely finished.
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.
Generated using TypeDoc
Get language (example: returns
en
for English).Returns
Language key. See setLanguage for the list of supported languages.