Methods
Viewpoint

getViewpoint

returns the current positioning of the viewpoint the viewpoint is an optional visual indicator that includes an arrow icon the viewpoint accepts mouse and touch events so that users can move it within the 2d viewer the viewpoint is typically used in conjunction with the 3d viewer to show the location and orientation of the 3d viewer camera within the 2d viewer example usage const viewpoint = viewer2d getviewpoint(); return value current direction, location and rotation of the viewpoint the location height is the height of the last shown storey in meters type viewpoint viewpoint name type description direction vector3 docid\ gqdk6khl9iuzriegxvdd0 orientation of the viewpoint location vector3 docid\ gqdk6khl9iuzriegxvdd0 position of the viewpoint rotation number rotation of the viewpoint in degrees example { direction { x 1, y 1, z 0, }, location { x 1 0, y 50, z 1 0, }, rotation 90, };