addPage Method

Adds an HTML page under the results pane of the SkylineGlobe web page.

addPage(URL, description);

 

Parameter

Description

URL

The URL of an HTML page to be displayed

description

The description of the HTMLpage which will be displayed as a title for the result page

Return Value

The result page ID. The ID can later be used to access or remove the result page.

Remarks

An HTML results page shows results for user queries. In many cases, the results can also have a visual representation on the terrain. For example, the results page can contain a list of restaurants within a certain distance from the viewer. A group object (SGNode) can also be created that contains labels on the terrain with the name of the restaurants. This allows to show/hide the results on the terrain, using the results pane checkbox.