Six directions in WebGL

(click to dismiss)

This example displays a directional reference frame around the camera in Cartesian coordinates, using the EastUpSouth orientation for positive (x, y, z). A userLocation geospatial entity is created and positioned at the position of the user, and updated when the user's position changes. It uses WebGL to put a sphere at 200 meters and a text label at 100 meters in each of the negative/positive directions: x is west/east; y is down/up; z is north/south.