Give clearLayer the map when attempting to reset boundaries
Merge pull request #606 from maurizi/fix/resetBoundaries

Fix resetting map boundaries