|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 Events OnLandMarkAction|
|See also: AddLandMark, LandmarkData, RemoveLandMark, NumLandMarks, OnDataRendered, OnMapImageRequest, LMRandomDisplayThreshold|
The event OnLandMarkAction is triggered when a landmark is about to be added or removed from the map by either the method RemoveLandmark, RemoveLastLandMark, or AddLandMark. This event allows you to abort the landmark operation by setting the Allowed parameter to FALSE. A typical application of the OnLandMarkAction event would be to prevent the setting of landmarks in certain areas.
Please note that OnLandMarkAction is triggered for each single landmark if several landmarks are to be removed.