1. I can't find where you call the GEvent.trigger(body,"overlay") that you listen for on this line:
GEvent.addListener(body, "overlay", function() { 2. I can't find the Overlay() function that you call from this line: <input type="checkbox" name="skeletonselector" id="overlay" onClick="Overlay()" checked> 3. Javascript launched from HTML onclick events executes in global scope, and can only access global variables and global functions. Your "mySkeletonLayer" is a local variable of your initialize() function, so your Overlay() function, it wouldn't be able to access it when invoked in global scope. -- Mike Williams http://econym.org.uk/gmap -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to google-maps-...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.