I need to calculate the bounds of a map given center and zoom level.
I imagine I could temporarily set map center and zoom and call map.getBounds()
, but I would prefer not to (I would need to disable/re-enable a few event handlers).
Does anybody know how to do this in v3?