CloudMade/Leaflet — pull request #764 by cmoad (2012-06-28 01:22:17+00:00)
Title: Fix for fitBounds while using crs.Simple projection

We are using Leaflet as a tiled image view, not for maps. When using the crs.Simple projection the fitBounds method wasn't always working. We tracked this down the negative distances being calculated in the getBoundsZoom function. Making sure these distances are always positive fixes the problem.