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



BringLocationToCenter


Unit:SDL_geomap
Class:TGeoMap
Declaration:procedure BringLocationToCenter (Latitude, Longitude: double);

This method pans the map in a way that the location specified by Latitude and Longitude is in the center of the map window. If the specified location is near the edge of a map, the map is panned only partially.

Example: This method is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): movecar



Last Update: 2023-Dec-13