On Mar 12, 12:30 pm, hadiS78 <[email protected]> wrote:
>
> i hope u can help me on my problem:
>

I don't know of any group member going by the name of "u". Are you not
interested in help from anyone else? ;-)


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

That's a FAQ, and a search of the group would find you many anwers:
http://groups.google.com/group/google-maps-api/search?group=google-maps-api&q=tiles+loaded&qt_g=Search+this+group

... for example:
http://groups.google.com/group/google-maps-api/browse_thread/thread/78c67f8604ecb21a


>
> Here is my code:
>

No, thanks!

Please read and follow the group's posting guidelines:
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical

--
Marcelo - http://maps.forum.nu
--





> 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