added support for maxBounds/setMaxBounds