ArcObjects Library Reference (GlobeCore)  

IGlobeCamera.GetTargetLatLonAlt Method

Get the target location as a combination of latitude and longitude in decimal degrees plus altitude in kilometers.

[Visual Basic .NET]
Public Sub GetTargetLatLonAlt ( _
    ByRef pLatDD As Double, _
    ByRef pLonDD As Double, _
    ByRef pAltKMs As Double _
)
[C#]
public void GetTargetLatLonAlt (
    ref double pLatDD,
    ref double pLonDD,
    ref double pAltKMs
);
[C++]
HRESULT GetTargetLatLonAlt(
  double* pLatDD,
  double* pLonDD,
  double* pAltKMs
);
[C++]

Parameters

pLatDD [out]   pLatDD is a parameter of type double pLonDD [out]   pLonDD is a parameter of type double pAltKMs [out]   pAltKMs is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGlobeCamera Interface

.NET Snippets

Toggle Between Surface and Global Navigation Mode

.NET Samples

Visualizing the camera path while animating (Code Files: VisualizeCameraPath) | Multiple globe viewers (Code Files: MultipleGlobeViewers)