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 true left unhandled content type left unhandled content type viewpoint true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type example { direction { x 1, y 1, z 0, }, location { x 1 0, y 50, z 1 0, }, rotation 90, };