ArcObjects Library Reference (GlobeCore)  

IGlobeCamera.GetObserverLatLonAlt Method

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

[Visual Basic .NET]
Public Sub GetObserverLatLonAlt ( _
    ByRef pLatDD As Double, _
    ByRef pLonDD As Double, _
    ByRef pAltKMs As Double _
)
[C#]
public void GetObserverLatLonAlt (
    ref double pLatDD,
    ref double pLonDD,
    ref double pAltKMs
);
[C++]
HRESULT GetObserverLatLonAlt(
  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 Samples

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