modestmaps/modestmaps-js — pull request #46 by ansis (2012-08-02 20:06:48+00:00)
Title: Fix rounding bug in sourceCoordinate

sourceCoordinate would run into problems when the the bottom right tileLimit was a perfectly round coordinate. It would get rounded up by a whole coordinate, causing requests for invalid tiles.

`.container().right().down()` was essentially doing `floor(BR) + 1` when what we really want is `ceil(BR)`

/cc @tmcw