Replace call to viewport.setHomeBounds by viewport._setContentBounds

This commit is contained in:
Antoine Vandecreme 2016-02-13 11:39:40 -05:00
parent 925ba8a78e
commit eaab4fb4c5

View File

@ -818,7 +818,7 @@ $.Viewport.prototype = {
degrees += 360;
}
this.degrees = degrees;
this.setHomeBounds(
this._setContentBounds(
this.viewer.world.getHomeBounds(),
this.viewer.world.getContentFactor());
this.viewer.forceRedraw();