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 ZoomIn (CurrentLat, CurrentLong, CurrentResolution: double): boolean;

Calling the method ZoomIn has the same effect as pressing the left mouse button while the property ZoomButton.Down is true. The parameters CurrentLat and CurrentLong specify the location where the virtual mouse has been clicked (i.e. the location of the map which should be at the center after the zoom process). The parameter CurrentResolution specifies the resolution of the current map (in meter/pixel). The function ZoomIn returns TRUE if a map has been found (and displayed) which offers a better resolution, otherwise a FALSE value is returned.

Hint: Please note that the selection of maps at different scales is controlled by the property MinResDiff.

Last Update: 2012-Oct-20