Open GoogleCodeExporter opened 9 years ago
How about client align it in the browser and hit F11 to get the browser to go
full
screen. The code below turns off scrollbars and margins as well:
<body <body style="margin: 0px; overflow: hidden;">
<div id="map3d_container" style="border: 1px solid #000; width: 100%; height:100%;">
<div id="map3d" ></div>
</div>
</body>
Original comment by vandint...@gmail.com
on 8 Apr 2009 at 10:23
Well.
What I imagine is something like what you've got in youtube.
At first the plugin is a part of a bigger page with other contents.
Only with user intervention the fullscreen would show up.
Original comment by pedro.me...@gmail.com
on 8 Apr 2009 at 10:50
But you can code all that using Javascript. I coded an example that places a
full
screen toggle button in the ge window and that responds to full screen mode.
Have a look at this example: http://vandinther.googlepages.com/fullscreen.htm
Original comment by vandint...@gmail.com
on 16 Apr 2009 at 12:48
Well, thanks for your time to set up an example!
But it really is not the same as the youtube videos full screen.
For instance, chrome doesn't have the F11 functionality. By the way how many
people
know about F11?
And in your example if you click on the fullscreen button and then resize the
browser, the plugin returns to the initial dimensions.
That can be solved, but if your page is higher than the screen and there is a
vertical scroll bar, when we do the full screen we get other problems. It get's
messy
and each browser behaves differently...
The main problem is that a plugin is always an alien object inside the browser
and
its difficult to make a plugin behave like a real DOM element. So I guess that
the
best solution to that would be for the plugin to have its own full screen
implementation.
Original comment by pedro.me...@gmail.com
on 16 Apr 2009 at 10:56
Yep, you are quite right. I am having to go through the pain to do full screen
within
the context of a proper web-page and it is a real pain to implement. I have
trouble
with DIV elements, adverts showing on top of the plugin and the body over flow
acting up.
Please guys, Fullscreen support? Unless someone has solid code that works always
everywhere.
Original comment by vandint...@gmail.com
on 29 May 2009 at 6:06
I have to said instead that the temporal solution that provides vandinhet is
pretty good! thank you.
Original comment by mauricio...@gmail.com
on 12 Jun 2009 at 9:53
And Paul's fullscreen demo is now in the demo gallery :)
Original comment by api.roman.public@gmail.com
on 12 Jun 2009 at 5:02
The vandinther fullscreen technique works fine in a webpage of mine, thank you.
At
least under Firefox. But there is a problem rendering under IE6.
The html comment above the line before the html DOCTYPE statement (<!DOCTYPE
html
PUBLIC ...) is essential. Without the comment IE6 renders the
fullscreencontainer
as 18 pixels high instead of the 100% it should be! Nuttiness like that we
should not
have to deal with.
I mention this in case somebody else is having similar trouble or maybe can
recommend
another way to make IE6 render the fullscreencontainer correctly without the
comment
at the beginning.
Original comment by dged...@sageofathens.com
on 24 Oct 2009 at 12:11
Google Earth API Gadgets for your webpage should have a google earth gadget
user
option setting that allows the user to select an optional interface display
control
button layered ontop of the google earth api to switch to full screen and
original
size. If it's integrated in the gadget code it would make it ooohh-sooooo easy
and
nice to add a google earth api gadget to a webpage!!!
Google listen please, for the sake of us novices, add a full screen display
button
to google earth api!!! It was done for video player gadget, why not google
earth
gadget?
Original comment by authorse...@gmail.com
on 14 Apr 2010 at 8:55
I support this idea of a fullscreen button native in GE API.
Original comment by c6b64...@free.fr
on 14 Apr 2010 at 10:04
For those interested in fullscreen support, make sure to check out the
experimental fullScreenAPI in progress for Firefox, Webkit, and Chrome:
https://wiki.mozilla.org/index.php?title=Gecko:FullScreenAPI
https://bugs.webkit.org/show_bug.cgi?id=49481
http://code.google.com/p/chromium/issues/detail?id=16735
Original comment by bcke...@google.com
on 23 Feb 2011 at 1:37
Original issue reported on code.google.com by
pedro.me...@gmail.com
on 7 Apr 2009 at 7:46