In some cases, you want to find what the value of the data is under your mouse. For example when hovering over elevation data, you want to know the height at that point.
This process requires two steps:
Converting the screen position of your mouse cursor in pixel coordinates to a location on the Earth surface. This is done using an
ILcdGXYViewXYWorldTransformationfor GXY views and
ALspViewXYZWorldTransformationfor Lightspeed views.
For an example, see the sample code of
For more information, see How to determine the world position from a screen position.