Hi,
I used function custom tiles to get my own tiles instead of using
google's tiles:
var CustomGetTileUrl=function(point,zoom)
{ // code to get my own tiles...}
tilelayers = new GTileLayer(...);
tilelayers.getTileUrl = CustomGetTileUrl ;
var hybridLayer = [ tilelayers, G_HYBRID_MAP.getTileLayers()[1] ] ;
hybrid = new GMapType(hybridLayer, G_SATELLITE_MAP.getProjection());
map.addMapType(hybrid);
map.removeMapType(G_HYBRID_MAP);
map.removeMapType(G_NORMAL_MAP);
map.removeMapType(G_SATELLITE_MAP);
I mean I ONLY want to display my own custom tiles and I DONT want
tiles of google to be displayed. But I see that not only my custom
tiles are loaded but also google's tiles are loaded. How could I
tackle this problem?
Thanks in advance.
Your help is much appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---