What is a TerraExplorer Message?

A message is a text string, HTML page, an image, a script code, multiple links or any other file you can display or run in one of the TerraExplorer Pro panels, a floating window or a floating pop-up window. The floating window is the default html browser defined in your system.

You can assign a message to any object, location, and Project Tree message element, and activate one as part of a presentation. You can also assign a message to be displayed at the beginning of the project. SeeGeneral” in the “Setting the Project” chapter for further information.

Message types:

Type of Message

Description

Text

A multiline text string.

Note:    A text message can also consist of HTML code, in which case it will display as an HTML page.

You can display a text message in any one of the TerraExplorer Pro containers. You cannot display a text message in a floating window.

HTML/Image

A full path name or URL address of a web site, HTML page or image file.

You can display the HTML page in any one of the TerraExplorer Pro containers, or in a floating html browser. Image files that are supported by the browser also open in a TerraExplorer panel.

 

For feature layers, you can set different messages for different features using attribute values, e.g., http://www.skylineglobe.com/CitiesLayer/[type].png

File

A full path name or URL address of an image or any other file name.

For security reasons, the file is opened in an HTML browser. If the browser supports this file type (i.e., BMP file), it appears in the selected container. If the browser does not support this file type or there are security restrictions, the browser displays the appropriate error or warning message. Image file types can be displayed in all the containers. Other file types must be assigned to the floating browser.

Script

A JavaScript code that uses the TerraExplorer API.

The script can perform any API custom operation, including working with the object that was clicked using the “this” operator.

See Script Messages” in the section below for further information.

Links

A message with links to multiple categorized files and/or URL addresses.

See "Messages Displaying Links to Multiple Files" in this chapter for further information.

Attributes

A message that displays selected attribute field values of an object.

Note:    This feature is enabled only for feature layers that have attribute fields information.

See Loading Layer Attribute Fields” in the "Feature Layers" chapter and "Attributes Messages" in this chapter for further information.