in reply to Re^4: Controlling Google Earth via COM interface
in thread Controlling Google Earth via COM interface

Sorry, I don't c++, and Win32::OLE documentation only shows VB to perl equivalent syntaxt. Did you try my guess?
  • Comment on Re^5: Controlling Google Earth via COM interface

Replies are listed 'Best First'.
Re^6: Controlling Google Earth via COM interface
by jjorsett (Initiate) on Jun 13, 2009 at 13:00 UTC
    Did you try my guess?

    I just now got the chance (rechargeable mouse batteries choose to die at very inconvenient times). Both forms work, and I made Google Earth move the camera to the new location, so I'm good to go. I haven't worked with Perl much yet, so I'll have to study your example to make sure I understand why it worked and my other form didn't. Many thanks for the help.

    Either of these works to set Range:
    $cameraInfo->{Range}= 500; $cameraInfo->LetProperty( Range => 500);