Events

onClick

The callback function passed here becomes the onclick handler for clicks within the AerialSphere frame.

onMarkerClick

The callback function passed here handles clicks on user-defined markers. See addMarker for documentation on creating markers.

onViewChange

The callback function passed here is called whenever the view is changed by the user within the sphere view. User-changed views happen when the user adjusts pan or tilt with their mouse, or when they zoom in or out.