Hi, I got it to work thanks to this thread, recommended by Andrew L. above: http://www.google.com/url?sa=D&q=http://groups.google.com/group/google-maps-api/browse_thread/thread/a9e18c41bfb0508f&usg=AFQjCNGwZ2AGtGcHkfYPZaTXSIv7i5xtuw
I couldn't get it to work before because I was trying to paste the Javascript code for the setTimeout into the html view in the Google Code Playground. In conclusion, duh. Thanks a lot for the tips, folks. Scott On Jul 14, 2:04 pm, ScottE <[email protected]> wrote: > Thanks Grok, I will check that out. But using map code linked to by > Andrew, I have rebuilt the whole map with what I think is much, much > better coding. Now my only problem seems to be getting the GE layers > to reload when switching back to the GE map. First load of GE map, > from any situation/map view, includes the layer. Later loads do not. > > Andrew, I did review the thread you recommended and attempted the fix > recommended by Barry Hunter, but that doesn't work for me. Maybe I'm > screwing it up. > My revised map code should be here:http://mysite.verizon.net/vzenti29/ > > Thanks very much for the guidance Andrew. I was just about to hire a > guy to make this work. > Scott > > On Jul 14, 1:49 pm, Grok Lobster <[email protected]> wrote: > > > You should look at the GE Plug-in docs and > > forum.http://code.google.com/apis/earth/documentation/index.htmlhttp://grou... > > > On Jul 14, 10:20 am, ScottE <[email protected]> wrote: > > > > Thank you, Andrew. I tried loading the code in that linked-to thread > > > into the GCode Playground in order to imitate it, but I can't get that > > > code to load at all. I will look around for working examples and read > > > the API documentation closely and try to figure it out. > > > > However, I did see that the code in that thread includes "map = new > > > GMap2(document.getElementById('map3d')); " and mine has "var map = new > > > GMap2(document.getElementById("map_canvas"),{ size: new > > > GSize(800,600) } );" > > > > I wonder if that is causing a fundamental problem if I want to do more > > > complex things with the GEarth plugin? > > > > Thanks again, very much, > > > Scott > > > > On Jul 14, 12:32 pm, Andrew Leach <[email protected]> wrote: > > > > > On Jul 14, 5:00 pm, ScottE <[email protected]> wrote: > > > > > > Someone told me the page created by Google Code Playground export > > > > > doesn't load due to an API key issue. I believe I've successfully > > > > > uploaded the map here:http://mysite.verizon.net/vzenti29/ > > > > > > Thanks a lot for any help! > > > > > I think this thread is > > > > relevant:http://groups.google.com/group/google-maps-api/browse_thread/thread/a... > > > > > Layers are hidden when Earth is, and need to put back explicitly when > > > > Earth is chosen again.- Hide quoted text - > > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
