> To try and rectify this, I have moved the related functions out of the
> loadMap variable, which results in the check boxes working but the
> sidebar text does not function correctly, as seen
> here:http://www.peterbertelsen.com/map-test/categories-test-c.html
Its worth looking at the reported javascript errors in your browser.
FF2 breaks on
map.closeInfoWindow();
reporting 'map' undefined.
In your loadMap() function,
var map = new GMap2( ....
is defined as a local variable. That's one you need to make global
too, by 'var' outside of any functions and just
map = new GMap2(...
within the function
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---