Thank you Eric. I plot several TileLayerOverlay in secuence and look like an animation over the map.
At init I preload all tiles in the map but I put them setVisible(false). Something like this: TileLayerOverlay tlo = new TileLayerOverlay(tw); mapWidget.addOverlay(tlo); tlo.setVisible(false); So the navigator brings all necesary images. This is like a buffer. But how I don't know when all tiles are really loaded by the navigator I can't know when really start the animation properlly. It can be posible if I could access to the onLoad event of each tile loaded by the api, or maybe if I could acces to the complete property of the img objects. I'm trying to use this property but searching all img objects. On 6 mayo, 15:14, Eric Ayers <[email protected]> wrote: > The closest thing I could find in the JavaScript API is this: > > http://code.google.com/apis/maps/documentation/javascript/v2/referenc... > > The GWT bindings don't include that event at the moment, but I don't > think that's what you're looking for anyway (it sounds like you want > to know when the overlays are all visible.) > > > > > > > > > > On Fri, May 6, 2011 at 12:28 AM, Rafael Campaña <[email protected]> wrote: > > Hello, > > > I'm currently developing a gwt application within a map (using gwt- > > maps). My application show several images over the map in a secuence. > > But I want to know when a image is really loaded. > > > To load images on the map I have used the > > com.google.gwt.maps.client.overlay.TileLayerOverlay class. I have > > implemented my tile class extending from > > com.google.gwt.maps.client.TileLayer class. I also have an array of > > TileLayerOverlay and I show or hide them to show the secuence. > > > When I call setVisible(true) method of a concrete TileLayerOverlay I > > would know if is posible to know when all images are loaded in the > > currently map? > > > Greetings, Rafael. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" 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 > > athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > Eric Z. Ayers > Google Web Toolkit, Atlanta, GA USA -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
