On Oct 27, 10:48 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > My map works in IE and FF, but in Safari there are problems: half of > the tiles on the map will not load. However, if you go to another > website and then back to the map, the map loads fine. Here's my map: > > http://tiger.towson.edu/users/preese2/campusmap/towsontest.html > > There was a thread discussing this same problem last year: > > http://groups.google.com/group/Google-Maps-API/browse_thread/thread/4... > > Using the fix from that thread, here is the result: > > http://tiger.towson.edu/users/preese2/campusmap/towson_safarifix.html > > Notice that now the map loads, but the sidebar does not work. This is > a result of where I placed "function initialize() {" and how I built > my divs and tables, I think, but I'm not sure how to proceed. > > Any thoughts?
All your functions and variables that were previously global are now local to the initialize function. In order to be accessed by html click events, they need to be global. See Mike Williams discussion of variable scope: Part 1 Scope http://econym.org.uk/gmap/scope.htm -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
