> My map is based off of the example above and I would like to turn off > all layers when it is loaded. In the example the last KML layer is > turned on by default, what would turn it off by default?
Look at the onLoad() function in the example. The last two lines turn on the last layer in the array of layers and set its checkbox to checked. If you don't want to do that, leave those two lines out. It's maybe not the best example, since it adds and removes overlays. Hide/show would probably be more efficient. -- 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.
