Skip to content

Commit

Permalink
add bug report link to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
just-boris committed Sep 14, 2015
1 parent 3416495 commit 8b2f634
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion angular-ymaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ angular.module('ymaps', [])
zoomMargin: config.fitMarkersZoomMargin
}).then(function () {
map.options.set('maxZoom', maxZoomBefore);
map.setZoom(map.getZoom()); // Setting current zoom. Without this the plus button on the yandex map doesn't get updated after .set('maxZoom').
//we need to manually update zoom, because of http://clubs.ya.ru/mapsapi/replies.xml?item_no=59735
map.setZoom(map.getZoom());
});
}
}, 100));
Expand Down

0 comments on commit 8b2f634

Please sign in to comment.