Hi all,

Hopefully Mike will spot this thread as I refer to his demo on
Glayers:
http://econym.org.uk/gmap/layercontrol.htm

As Google themselves don't (yet) supply a control for allowing users
to switch layers on and off I have tried copy/pasting Mike's demo code
to switch on/off the Wikipedia and Pano layers into a test version of
my current map here (minus the code for defining the map as I am
already defining one in my own code):

http://millennium-thisiswhoweare.net/tiwwa/tiwwa_member_map2.php

The map control draws fine and I see and understand how the check
boxes are created and shown.

However, when I try clicking on the various layer options for Wiki and
Pano, nothing happens. According to Firefox's error console, I see the
following message saying toggleLayer is not defined.

I know it must be defined in Mikes script, so I'm assuming that its a
case of where I have inserted Mike's More Control script inside my
existing page, but I'm a Javascript newbie and can't see where it
should be inserted so that it knows what the toggleLayer variable is.

I'd be most thankful for some help please!

Regards,
Graham

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to