The Skyline Globe API (SGAPI) describes the classes and objects required to use TerraExplorer API in JavaScript. SGAPI can be used to build a Skyline Globe tool, develop a Skyline Globe client application or develop scripted HTML pages for TerraExplorer.
The following classes are provided by SGAPI:
Class |
Description |
This is the control class that provides SkylineGlobe functionality to the web page. |
|
The navigate property of the SGWorld class is an object that contains several navigation methods. It is used to control the camera position and orientation in the SkylineGlobe World. |
|
The creator property is the SGWorld manufacturing object that creates objects such as polylines, labels and groups. |
|
The window property of the SGWorld class is a class that is a wrapper for all the functionality that represents interaction with the 3D window. For example snapshots, dimensions and query pixel information. |
|
The root property is an object of type SGNode. All the objects added to the Skyline Globe Control are added under the root node. |
|
Provides objects hierarchy management in the Skyline Globe environment. |
|
Provides a list of child nodes including methods that allow the user to access nodes in the list easily. |
|
The SGPopup class enables the client to display pop-up windows (similar to HTML IFRAME) over the 3D window. |
|
A special pop-up window that can only have a single line of text and a “close” button. It may or may not have a time-out. It is commonly used to notify short text messages to the user. |
|
The SGPosition class contains both coordinate (x, y, height) and orientation (yaw, pitch, and roll) properties. In addition, the SGPosition can also describe a point of interest and the distance from which to observe the point of interest. |
|
Represents a two dimensional coordinate (x,y) in the SGWorld, usually a latitude, longitude coordinate. |
|
Represents a three dimensional coordinate (x,y,height) in the SGWorld. |
|
Represents a color in the Skyline Globe environment. |
|
Denotes a style object for labels created using the SGWorld.creator.createLabel() method. |
|
Contains information about a route waypoint: position, orientation and speed. Use the SGWaypoint class when creating a route object with SGWorld.creator.createRoute() method. |
|
The SGFramework class provides SkylineGlobe framework functionality such as adding geographical locations to Favorites or showing HTML under the results pane. It is only available for Skyline Globe business and tools developer (that work under the www.skylineglobe.com website). This class is not available to users developing their own website around the Skyline Globe Control. |