enforce maxZoom before applying paddingOffset, fixes #2489
remove parens from ternary if
Merge pull request #2492 from bsstoner/bsstoner/2489

Enforce maxZoom before applying paddingOffset in Map.fitBounds, fixes #2489