On 22 February 2010 20:14, Rossko <[email protected]> wrote:
> > I just do not understand, why I am not able to get overlayman.markers. > > Have you noticed that alert displaying the length of markers array, > pops up as zero BEFORE the markers are displayed? > > GeoXml is asynchronous. The data isn't available immediately, you > have to wait until it signals it has loaded by its 'parsed' event. > http://www.dyasdesigns.com/geoxml/ > I see. Thanks for the hint. I have to use Listener, right? Something like: GEvent.addListener(gml, 'parsed', function(){alert(gml.overlayman.markers[0]);}); -- 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.
