From World Wind Wiki

Revision as of 00:32, 15 April 2007 by Withak (Talk | contribs)
Jump to: navigation, search

The Icon object draws an image and text at a point on the globe.


Icon attributes

Refresh (optional, string)

Icon elements

Name (required, string)

This is the name that will be displayed for the icon, both in the layer manager and on the globe. It has an optional AlwaysVisible boolean attribute that defaults to "false" which makes the icon name appear only when the mouse is over the icon. Setting the AlwaysVisible attribute to "true" will make the icon name visible at all times.

Latitude (required)

Value(required, double)

The latitude for the icon.

Longitude (required)

Value(required, double)

The longitude for the icon.

DistanceAboveSurface (required, double)

The distance the icon will be drawn from the ground. This takes into account terrain elevation at the point in question and changes with vertical exaggeration. NOTE: If vertical exaggeration is changed then the entire Icons list must be turned off and then back on for the vertical exaggeration value to be reflected in the Icon positions. If this is not done then the icons will appear at the wrong distance above or below the ground.

TextureFilePath (required, string)

The path to the file containing the image for the Icon. This can be an absolute path, and path relative to the World Wind program directory, or a web URL. Leaving this element empty will result in no image being shown and the name value for the icon being visible at all times.

Personal tools