[view/map,bugfix][xs]: autozoom working again after breakage in ef74f13163cfee02dd28b8f5ecf6f08e59619ce3.
* had change autozoom to be part of state and had not done find/replace fully due to a self.autoZoom case as well as this.autoZoom case.
This commit is contained in:
parent
0549383073
commit
68b6a9356f
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user