that works ! thanks a lot !! On Apr 7, 2:30 pm, "[email protected]" <[email protected]> wrote: > On Apr 7, 9:11 am, gulo <[email protected]> wrote: > > > Hello > > > I would like to add a feature that loads different KMZ files on my > > website by checking check boxes. I modified a code from a different > > website that I found and I got it to work but I can't figure out how > > to make one file load by default when the page is open. > > > here is the URL -http://www.cospringstrails.com/indextest.html > > > Above the map there is a check box for "Trail heads" and "Trail > > tracks". I would like the Trail heads file to load by default every > > time the page loads but still have the ability to turn it off by user. > > Why don't you do this at the end of your initialize function: > document.getElementById('mainmap').checked = true; > toggleKml('mainmap'); > > -- Larry > > > > > thanks
-- 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.
