> I have a line: map.removeOverlay(myLayer); which doean't remove my
> laver.
...
> var myLayer=new GTileLayer();

Here is the documentation
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GTileLayer
GTileLayer doesn't have a removeOverlay method

However
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GTileLayerOverlay
GTileLayerOverlay has a hide() method

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