diff --git a/src/view.map.js b/src/view.map.js index 21c0dca2..624ef29d 100644 --- a/src/view.map.js +++ b/src/view.map.js @@ -61,7 +61,7 @@ my.Map = Backbone.View.extend({ // to display properly if (self.map){ self.map.invalidateSize(); - if (self._zoomPending && self.autoZoom) { + if (self._zoomPending && self.state.get('autoZoom')) { self._zoomToFeatures(); self._zoomPending = false; }