Same as expandLimits, but takes a polygon (that presumably has a bbox attr) rather than lat/lng.
Useful links