On Feb 21, 6:56 am, אæα <[email protected]> wrote:
>
> why can't this work (m7418 is the polygon):
>

 The function looks fine but  <input onClick="toggle();" ...
tries to find function toggle() from global scope. Now the function is
local to initialize() function.

You should take the function outside initialize(). Also I would
recommend using a browser with a javascript error console.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to