This document is archived and information here might be outdated.  Recommended version.


IGlobeCamera.SetObserverLatLonAlt Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeCamera.SetObserverLatLonAlt Method

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

[Visual Basic .NET]
Public Sub SetObserverLatLonAlt ( _
    ByVal latDD As Double, _
    ByVal lonDD As Double, _
    ByVal altKMs As Double _
)
[C#]
public void SetObserverLatLonAlt (
    double latDD,
    double lonDD,
    double altKMs
);
[C++]
HRESULT SetObserverLatLonAlt(
  double latDD,
  double lonDD,
  double altKMs
);
[C++]

Parameters latDD [in] latDD is a parameter of type double lonDD [in] lonDD is a parameter of type double altKMs [in] altKMs 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

3D dynamic element tracking (Code Files: TrackDynamicObject) | Visualizing the camera path while animating (Code Files: VisualizeCameraPath) | Globe Fly tool (Code Files: Fly) | Multiple globe viewers (Code Files: MultipleGlobeViewers)