views:

20

answers:

1

Which event will to the same that the load event did on the api v2 spec?

Right after the map is initialized, calling to getBounds().getSouthWest() will return null.

Thanks

A: 

There is no load event. Perhaps you want 'idle'

broady
Yes, it works, but it is not what I was needing: 'idle' will fire several times, and not only once after everything has finished loading for the 1st time. I eneded up attaching the event to idle, and keeping track of whether I already done what I was trying to do 'onload'.
DanC
In that case, use `addListenerOnce` :)
broady
Ha, yes! addListenerOnce is what I needed. Thanks
DanC