Unit: | SDL_geomap | Class: | TGeoMap | Declaration: | function CalcPixelCoords (Lat, Long: double; var x,y: integer): boolean; |
The method CalcPixelCoords calculates the pixel coordinates of a given location defined by the latitude lat and the longitude long. The pixel coordinates are valid only if the function returns a TRUE value (i.e. if the graticule is calibrated and valid).
Hint: |
The pixel coordinates are in the reference frame of the scanned map image, use the method MapImageToControl to transform the coordinates to the screen reference frame. |
|