Thanks, I consider myself slapped as I misread the "before you post"
topic on posting code but I did post a link!

Did you mean these examples?
http://code.google.com/apis/maps/documentation/reference.html#GLayer

The instructions say to add:

map.addOverlay(new GLayer("com.panoramio.all"));
map.addOverlay(new GLayer("org.wikipedia.en"));

This adds the 2 layers, so for each layer do I add these lines below
to add a custom control:

map.addControl(new GLayer.show("com.panoramio.all"));
map.addControl(new GLayer.hide("com.panoramio.all"));

I tried that and the map wouldn't display anything at all.

Thanks again.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to