| The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |

Home GeoPack GeoMap Class TGeoMap Methods AddLandMark |
|||||||||||
| See also: LandmarkData, OnLandMarkAction, RemoveLandMark, TLandMark, LandMarkDefault, LMRandomDisplayThreshold | |||||||||||
AddLandMark |
|||||||||||
The method AddLandmark adds a landmark to the map. It can be used in three different incarnations: [1] using the full specification of a landmark, [2] setting only its position and height while using the property LandmarkDefault as a template for the rest of the parameters, and [3] setting the position, the height, the identifier and the time stamp of the landmark (all other parameters are taken from LandmarkDefault. The parameters Lat, Long and Height specify the latitude, the longitude and the height of the landmark, respectively. The parameter Classflag contains a class number which can be used to group landmarks (i.e. landmarks can be hidden and made visible according to their class number by using the property LMClassVisible). The parameter Identifier is a short string which can be used to identify the landmark, the parameter Time contains the time stamp of the landmark. The parameter Tag can be used to specify an arbitrary integer value, which can be used by the programmer for his own purposes. Tag is not used by TGeoMap. ColorFG and ColorBG specify the foreground and background color of the landmark. The parameter Size controls the size of the landmark (in pixels). The landmark is transparent if the parameter Transparent is TRUE. In this case the background color ColorBG is ignored. The parameter Element controls the visual type of the landmark. Currently the following types of landmarks are available:
Finally, the parameters Direction and Length control the direction of arrow and triangle landmarks and the length of arrow landmarks. They are ignored for all other types of landmarks.
|
|||||||||||