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


IGlobeCamera.SetTargetLatLonAlt Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeCamera.SetTargetLatLonAlt Method

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

[Visual Basic .NET]
Public Sub SetTargetLatLonAlt ( _
    ByVal latDD As Double, _
    ByVal lonDD As Double, _
    ByVal altKMs As Double _
)
[C#]
public void SetTargetLatLonAlt (
    double latDD,
    double lonDD,
    double altKMs
);
[C++]
HRESULT SetTargetLatLonAlt(
  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.

Remarks

Setting the target altitude has no effect when orientation mode is set to global as the target location must remain fixed in the center of the globe when in that mode.

See Also

IGlobeCamera Interface

.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)