Hi,

I'm using v3 on an iPhone, so map loading can be pretty slow, and I'd
like to give a visual indication of busy/working to the user until
everything has finished.

Is there a way to determine when the directions polyline has finished
rendering (and associated map zoom, re-centering, etc)? i.e.,
directionsService.route() callback is called, I call
directionsDisplay.setDirections() and then things can chug along for
up to 10 seconds before the rendering is complete.

I tried using the 'idle' event, but it is fired soon after
setDirections() is called, but well before the polyline appears and
the map is re-positioned. I thought about using the tilesloaded event,
but that might not fire if no new map tiles were needed?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to