My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1744: Feature Request: Tiles loaded event for custom tile layers.
20 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  [email protected]
Closed:  Feb 2012


Sign in to add a comment
 
Reported by [email protected], Sep 28, 2009
Could a new event be added which is called when either 1 or all custom tile
layers have finished rendering. There is currently 'tilesloaded' on GMap2
which is fired when the base map tiles are loaded however it does not
consider any custom layers.

This would be useful for loading screens, messages etc.

Thanks,
Adam.
Oct 5, 2009
#1 d.l%[email protected]
You filed this under ApiType-Javascript3, but mentioned the GMap2 object in your
description.

Which API version are you referring to, v2 or v3?
Status: NeedsMoreInfo
Oct 6, 2009
#2 [email protected]
Hi,

The current version I'm working with is v2 however the request was for the feature
within the v3 release.

Thanks,
Adam.
Oct 8, 2009
#3 d.l%[email protected]
So would this new 'tilesloaded' feature be part of the OverlayView class?

If you're creating your own custom overlay, could you create your own mechanism for
firing off an event or method after it gets drawn?
Oct 13, 2009
#4 [email protected]
Hi,

Sorry for the delay in response, I'm only just back after a break.

There is currently a 'tilesloaded' event which is available on the GMap2 class 
however this really could relate more to the overlay classes rather than the map.

That way we could manage any actions on the completion of each custom tile layer 
render. Either that or provide the ability to include all custom tile layers within 
the existing 'tilesloaded' GMap2 event.

I've looked at building it manually however I can't see any 'pretty' way of doing 
it, and since it would be useful functionality within the Google Maps API I thought 
I'd try you guys first. :)

Thanks again,
Adam.
Oct 13, 2009
#5 [email protected]
I've just has another quick search on this group and found a relating ticket:

https://code.google.com/p/gmaps-api-issues/issues/detail
id=372&q=tilesloaded&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%
20Stars%20ApiType%20Internal
Oct 13, 2009
#6 d.l%[email protected]
Once again, are you requesting this for the v2 or v3 API?
Oct 13, 2009
#7 [email protected]
I've answered that previously in the ticket. At the very least v3 but if v2 is still having features developed 
on it then it would also be of benefit there.
Oct 14, 2009
#8 d.l%[email protected]
Got it.  You keep mentioning the v2 API GMap2 object in your description, it was a
bit confusing.

Filed your request against v3.
Status: Acknowledged
Labels: Internal-2189604
Jun 29, 2010
#9 [email protected]
(No comment was entered for this change.)
Owner: thor.mitchell
Jul 1, 2010
#10 [email protected]
(No comment was entered for this change.)
Aug 15, 2010
#11 [email protected]
Hello,

here you can see my solution for V3 "tilesloaded" event (for custom tiles).

https://code.google.com/p/gmaps-api-issues/issues/detail?id=372#c19

My solution shows loading spinner image when tile is in loading state (for each tile separately).
Feb 19, 2012
#12 [email protected]
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Powered by Google Project Hosting