|
problems: Here are my sandbox pages, try using Chrome, FireFox, IE, testing dragging and toggling maximize the container (12 test conditions) 1) http://www.stjohnhistoricalsociety.org/Maps-3D1.htm -- uses Google Earth plugin 2) Maps10.htm -- uses Google Maps plugin These pages have very similar html & css, but their .js differs because of the google api differences.. Some background R&D notes-- google maps has a function to invoke (checksize(), when the container size changes, but I haven't found a similar function in google earth api/forums. google earth api issues (code.google.com/p/earth-api-samples/issues/detail?id=141) discusses problems with browser plugins and "display:none" [jquery.animate included?] (1) With Chrome browser Dragging the mb container is a problem for both (maps and earth) pages. The symptom is that container "disappears". Try dragging while google stuff is loading/try shrinking the container and rapidly moving the mb_container around the screen.
(2) With Firefox browser Dragging Maps10.htm (g maps) works well Dragging Maps-3D1.htm (g earth) rapidly and the mb container disappears
(3) With IE8 Browser Dragging Maps10.htm (g maps) works well Dragging Maps-3D1.htm (g earth) rapidly and the mb container disappears
Any suggestions would be appreciated! Peter Burgess |
|
Ok -- just mbContainer and FF. My objective is to create a map container that is flexible in size: the user can drag-resize the container or the user can hit a "maximize button" to programmaticly resize the container (which is one way to generate a "Google earth internal error"). First example. http://www.stjohnhistoricalsociety.org/Maps-3D3.htm Here I'm using jquery plugin - mbContainterPlus [http://pupunzi.open- lab.com/2009/01/18/jquery-mbcontainers/] I can drag and drop the container, I can drag and resize the container. But when I try to programmicly resize the container (hit the toggle-size button in the upper right corner of the earth container), the contents disappear and when resized animation is completed, the GE contents report "...internal error. Try reloading..." I have tried wrapping the resizeTo function with "ge.getWindow.setVisibility(false)" and "ge.getWindow.setVisibility(true)" -- but this didn't help and introduced other wierd artifacts. Isn't it odd, that the user/mouse drag-resize animation works day and night, but 'jQuery.fn.mb_fullscreen()' messes up google earth plugin? mb_fullscreen() what is the problem? [ this verbage is intended to be a comment - not an answer - but the "add comment" button" is broken. |
|
This is sort of an old question. Check the first link on my site and see how I re-size Google earth. |
|
This is sort of an old question. Check the first link on my site and see how I re-size Google earth. |


