mapbox / mapbox-studio-classic

https://www.mapbox.com/mapbox-studio/
BSD 3-Clause "New" or "Revised" License
1.14k stars 229 forks source link

fix clamp function: always returned WebMerc max bbox before #1514

Closed wilhelmberg closed 8 years ago

wilhelmberg commented 8 years ago

@springmeyer breakdown of the problem: https://github.com/mapbox/mapbox-studio-classic/issues/1487#issuecomment-150641011

wilhelmberg commented 8 years ago

https://github.com/mapbox/mapbox-studio-classic/pull/1515 does not work without this PR. Merged this PR into https://github.com/mapbox/mapbox-studio-classic/pull/1515