> var tilelayers = [new GTileLayer(copyrightCollection , 10, 13)];
> tilelayers[0].getTileUrl = CustomGetTileUrl;
This tells the maps API what external function to use to fetch map
tiles.
Then you put some flesh on that function -
> function CustomGetTileUrl(a,b) { ...
> }
When the API (not your own code) wants to fetch tiles, it calls the
defined function with a & b as necessary
--
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.