Icon
From World Wind Wiki
Revision as of 00:26, 15 April 2007 (edit) Withak (Talk | contribs) (New page: 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 b...) ← Previous diff |
Revision as of 00:28, 15 April 2007 (edit) (undo) Withak (Talk | contribs) Next diff → |
||
Line 15: | Line 15: | ||
==DistanceAboveSurface (required, double)== | ==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 an Icon (or 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. | 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 an Icon (or 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. |
Revision as of 00:28, 15 April 2007
The Icon object draws an image and text at a point on the globe.
Contents |
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 an Icon (or 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.