Is it possible to change the field of view for the google earth plugin?

2,896 views
Skip to first unread message

Curtis Olson

unread,
Jan 6, 2015, 10:08:58 AM1/6/15
to google-earth-...@googlegroups.com
I have been working on a little google earth plugin demo to synchronize google earth with a live running copy of the FlightGear flight simulator (www.flightgear.org.)  This is all working pretty well (flightgear has a built in web server and websocket support and can even serve out my google earth page directly so I don't need to setup a separate web server.)

I was hoping to be able to adjust the google earth field of view to match FlightGear's field of view and play around with different relative fields of view, but in all my googling, it appears that google earth plugin is hard wired to a 60 degree field of view and there is no way to change it.  I'm hoping I just missed seeing the magic somewhere?  Is it possible to change the field of view for the google earth plugin some how?

Thanks in advance,

Curt.

barryhunter (KML Guru)

unread,
Jan 6, 2015, 10:36:52 AM1/6/15
to google-earth-...@googlegroups.com
It is mostly possible

that post notes a new tour based method, which might be possible via the plugin (play a special tour to set the view, then continue with normal usage) 

It also links to a old help forum thread, noting the version using a photooverlay, and one using stuff intended for liqued galaxy. 



Dont forget

Curtis Olson

unread,
Jan 6, 2015, 10:56:51 AM1/6/15
to google-earth-...@googlegroups.com
Hi Barry, thanks for the quick reply.  I'll look into the kml tour option.  I don't think I need to change the fov of view dynamically, only set it up to something specific at the startup time.  I assume it's possible to load a specific kml tour from my javascript code, let it play out, and then start updating the camera position and orientation myself?  I'll dig into that later when I get some time and hopefully be able to figure it out.

And yup, definitely I'm aware of the deprecation announcement, but the big boss tells me to forge ahead for now ... so I'm just trying to be a good worker bee here. :-)

Thanks,

Curt.

barryhunter (KML Guru)

unread,
Jan 6, 2015, 11:00:09 AM1/6/15
to google-earth-...@googlegroups.com


On Tuesday, 6 January 2015 15:56:51 UTC, Curtis Olson wrote:
Hi Barry, thanks for the quick reply.  I'll look into the kml tour option.  I don't think I need to change the fov of view dynamically, only set it up to something specific at the startup time.

 
 I assume it's possible to load a specific kml tour from my javascript code, let it play out, and then start updating the camera position and orientation myself?

Yes, thats what I meant, although havent tested it!

Loading those tours in standalone GE, keeps the set FOV, until play a different tour, or restart Google Earth. 

Reply all
Reply to author
Forward
0 new messages