hi,

i hope u can help me on my problem:

i am using GTileLayer and GTileLayerOverlay to use my own tiles over
the map. My question is now if there is a way to wait for all
getTileUrl requests to finish?

Here is my code:

function addNutsTiles(session){
      var tilelayer = new GTileLayer(new GCopyrightCollection(''));
      tilelayer.getTileUrl = function(tile, zoom) { return ''+path+'/
frontpag  /tiles?session='+session+'&x='+tile.x+'&y='+tile.y
+'&zoom='+zoom };
      tilelayer.isPng = function() { return true; };
      tilelayer.getOpacity = function() { return 0.4; };
      activeOverlay = new GTileLayerOverlay(tilelayer);
      map.addOverlay(activeOverlay);
};

So when calling addNutsTiles many getTileUrl requests are made to the
server. What i want to achieve is to show a spinner animation icon on
the map till all getTileUrl requests finish. Is there a way to do
that. i really appreciate all help. thx

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