I have a couple of questions about using tile layer overlays
(GTileLayerOverlay)

I've followed the example code given under "custom map tiles - tile
layer overlays" at 
http://code.google.com/apis/maps/documentation/overlays.html#Tile_Overlays
and after changing URL's managed to get my own tile layer displaying
correctly  when the map first loads.

My questions are..

1) The example above only works when using map.overlay(myTileLayer)
inside the page onload function (when the map first loads). But i want
to be able to add the tile layer later (for example from a seperate
function). What is the best method of doing this?

2) In the GTileLayerOverlay section of the API reference, various
methods such as show() hide() refresh() and zPriority() are listed but
i'm not sure how these are used. I've tried using
map.hide(MyTileLayer); within a seperate function to test this but
without success i'm sure im doing something wrong!?

Thanks!

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