My basic questions is, how do you manipulate a TileLayer, such as its
visibility, when the TileLayer is a part of a MapType?

Expanding that question ... when you use Map.addOverlay() you can add
a TileLayerOverlay which contains a TileOverlay.  The TileLayerOverlay
has methods like hide() and show() to manipulate its TileLayer.

But the MapType only takes an (array of) TileLayer (not
TileLayerOverlay), which doesn't have any mutator methods at all.  If
you are creating your own MapType, and add TileLayers to it (via the
constructor), how do you manipulate the visibility?

In a different but related and probably more important question ... if
you have a TileLayerOverlay it inherits the methods initialize() and
redraw() from Overlay.  But a TileLayer doesn't have them methods, so
how are the TileLayers in the MapType signaled to be redrawn since,
again, TileLayer doesn't have any mutators, and MapType has only
accessors as well?

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