Hi, Rossko! I move the script to the head section, i put the onload, and there is only a script remaining at the bottom of the page to start google maps...
Any more idea? Thanks! ----- Original Message ----- From: "Rossko" <[email protected]> To: "Google Maps API" <[email protected]> Sent: Sunday, May 24, 2009 10:32 PM Subject: Re: Strange error on main.js > >> 1.- If i put a doctype, the google maps doesn't show properly.... only a >> thin image.... > > That may be a clue about other HTML or CSS that needs fixing properly. > If you avoid using the doctype recommended for use with maps API, it > may be difficult to get the map working properly. > >> 6.- You referer to the last script? I can't! It must be executed when at >> the >> end of the page... > > Yes you can, but you'd need to use body 'onload' or window.onload > events to ensure map building happens after the page is complete. > >> But the question is.... why sometimes the execution is good and another >> times no? > > It won't go wrong for me, perhaps some timing issue > > cheers, Ross K > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
