> I did not post my link because I'm only asking the author of the code > if the critical things to be included are: > the button AND the toggleOverlay() function only
No. Also critical are the scope of your 'map' variable and the scope of your function. These things are not discernable from your snippet ..... -- 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.
