Thanks. The reality is that I can not give you a link to the page
because no link exists; the page is not on a web server.

Through some other avenues I discovered that GGeoXml overlays don't
support .hide() and .show() methods. So I removed the addOverlay from
my KML reference and changed my function to this:

  if (document.getElementById('show_POP').checked)
    map.addOverlay(geoXmlA2);
  else
    map.removeOverlay(geoXmlA2);

Seems to do what I want it to now. Thanks for the input.


On Jun 29, 3:23 pm, xelawho <[email protected]> wrote:
> >Unfortunately, I am not able to provide a link to
> > my map.
>
> perhaps you missed the points listed underneath "People get quite
> creative in justifying their linkless posts, but I have to say, Sorry,
> your excuses don't cut it." 
> here:http://groups.google.com/group/google-maps-api/web/why-including-a-li...
>
> but anyway.
>
> you already have the syntax for hiding your overlay, in your toggle
> function - just use the same code after your overlay is added.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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.

Reply via email to