CenterMap

Centers the map on the given coordinate and positions the plane indicator according to the given Yaw and FieldOfView parameters.

 

JavaScript

 

CenterMap(

       X,

       Y,

       Yaw = 0,

       FieldOfView = 53)

 

C#

 

void CenterMap(

       double X,

       double Y,

       double Yaw = 0,

       double FieldOfView = 53)

 

C++

 

HRESULT CenterMap(

       double X,

       double Y,

       double Yaw,

       double FieldOfView)

Parameters

X

West-East coordinate in the coordinate system’s units on which to set the map center.

Y

North-South coordinate in the coordinate system’s units on which to set the map center.

Yaw

The plane indicator yaw value.

FieldOfView

The plane indicator field of view value, in degrees.

Exceptions

See:  HRESULT Return Values for a list of possible values returned by the HRESULT.