Thanks for that clarification . . . but now I'm a little more
confused. Forgive me as I do not do much programming. Everything is
working . . .

https://sites.google.com/site/djptestjp/1a/CIPMap_v_3.06.htm

In the broken version I had a line in there that said "var map;"
because I was basically throwing everything at it blindly trying to
get it to work. In the new version I deleted this line because it
didn't seem necessary, and it worked just fine. I tested what would
happen if I added it back in and it also worked. So my kml toggling
works whether the line "var map;" is included or not.

Are you trying to say that my map worked because the div is called
"map_canvas" instead of "map"? And if my div was called "map" then you
should always make sure to have the line "var map;"?





-- 
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