B
Bryan Richardson
Hello all,
I'm trying to interact with the Google Earth application through its COM
interface on a Windows machine. I'm able to start the application using
WIN32OLE.new 'GoogleEarth.ApplicationGE'. I'm now trying to set the
camera using the OLE method setCameraParams. One of the parameters for
this method is an AltitudeModeGE enumeration defined in the COM
interface (see below).
HRESULT IApplicationGE::SetCameraParams([in] double lat,
[in] double lon,
[in] double alt,
[in] AltitudeModeGE altMode,
[in] double range,
[in] double tilt,
[in] double azimuth,
[in] double speed )
How do I go about creating the AltitudeModeGE enum to pass into the
setCameraParams method?
I'm trying to interact with the Google Earth application through its COM
interface on a Windows machine. I'm able to start the application using
WIN32OLE.new 'GoogleEarth.ApplicationGE'. I'm now trying to set the
camera using the OLE method setCameraParams. One of the parameters for
this method is an AltitudeModeGE enumeration defined in the COM
interface (see below).
HRESULT IApplicationGE::SetCameraParams([in] double lat,
[in] double lon,
[in] double alt,
[in] AltitudeModeGE altMode,
[in] double range,
[in] double tilt,
[in] double azimuth,
[in] double speed )
How do I go about creating the AltitudeModeGE enum to pass into the
setCameraParams method?