Skip to main content

ViewerClick

wemap-sdk-js


Interface: ViewerClick

A click on the panorama that walked nowhere: what the user pointed at, as a direction from the node on screen. Cast it against your own geometry to pick what is there (a shelf, a door).

Properties​

heading​

heading: number

Compass heading of the direction, degrees (0 = north, 90 = east).


node​

node: ViewerNode

The node the direction starts from.


pitch​

pitch: number

Pitch of the direction, degrees, positive up.