hi,

i have a question regarding the "tilesloaded" event. Does this event
also work with
own custom tiles added to the map through the GTileLayerOverlay?

I use the following code to add own custom tiles to the map, but it
seems that the "tilesloaded" event fires before all custom tiles are
loaded.

        var tilelayer = new GTileLayer(new GCopyrightCollection(''));
        tilelayer.getTileUrl = function(tile, zoom) { return ''+path+'/
frontpage/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);

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