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....


Declaration:function FindLandMark (Lat, Long: double; ClassFlag: integer): integer;

The method FindLandMark searches all landmarks and returns the index of the landmark which is closest to the position [Lat/Long]. The function returns a zero value if no landmark is found.

The parameter ClassFlag can be used to restrict the search to landmarks which belong to a certain class. If ClassFlag is set to -1, no restrictions are used during the search.

Last Update: 2012-Okt-20