mapbox/mapbox.js — pull request #331 by ansis (2013-04-12 23:01:27+00:00)
Title: update calculated map properties on layer change

This recalculates zoom bounds and attribution when layers have changed (map is finished initializing, or 'ready' is called on a layer). Does this seem reasonably nice?

This would fix #308 and #317