SGFramework Class

The SGFramework class provides SkylineGlobe framework functionality, enabling you to customize the different components of a web application, such as the Favorites and Results panels, and providing access to all the properties and methods of the TerraExplorer v65 API.

 

 

Properties

Description

Favorites

Provides methods for adding and removing geographical locations and terrain objects to/from the SkylineGlobe Favorites panel.

GlobalEvents

Controls the triggering of events and the association of functions with specific events.

ProjectTree

Provides a method for managing the Project Tree in the SkylineGlobe Web Package.

ReferrerDetails

Returns information about the CWA the user is currently connected to.

Results

Provides methods for managing the Results panel of a SkylineGlobe Web Package.

Ribbon

Exposes control over the ribbon.

Search

Provides a method for executing a search tool in a SkylineGlobe Web Package.

SGWorld

Provides access to all TerraExplorer v6.5 API.

TerrainMode

Returns the current terrain mode.

UserName

Returns the username of the current user.

 

Methods

Description

ClosePopupMessage

Closes a popup window opened by DisplayPopupMessage.

DisplayPopupMessage

Displays a popup window over the 3D Window.

getURLParameter

Returns the value of a specified URL parameter from a query string.

loadUserFly

Loads a user specific Fly file (that includes the username that was appended to the flyName so that the user specific Fly is loaded) into the current project under the parent group.

registerAfterLoadFinished

Executes the designated function after the SGWP load process (which includes loading the MPT, and initializing the ribbon and Project Tree) finishes.

saveUserFly

Saves the specified group to a Fly file, automatically converting the flyName that is passed to a user specific Fly name by adding a username.

toAbspath

Converts URL to absolute path.