A Simple Geo example

(click to dismiss)

This example takes the current location of the viewer, and positions a cube a small distance away from where the viewer was positioned when the example was loaded. We do this by adding a small amount to our current east-west location, in the local Three.js cartesian coordinates. This illustrates how to create geospatial content based on the current location, and update the internal geospatial location of the object. It extends the example in part 1 by added 3D HTML content and proper handling of HTML in stereo Viewer Mode.