diff --git a/viewshare/apps/exhibit/static/simile/exhibit/extensions/openlayers/scripts/openlayers-view.js b/viewshare/apps/exhibit/static/simile/exhibit/extensions/openlayers/scripts/openlayers-view.js index f870a696..3ab651fe 100644 --- a/viewshare/apps/exhibit/static/simile/exhibit/extensions/openlayers/scripts/openlayers-view.js +++ b/viewshare/apps/exhibit/static/simile/exhibit/extensions/openlayers/scripts/openlayers-view.js @@ -919,7 +919,7 @@ define([ self._map.zoomTo(settings.zoom); } - if (typeof bounds !== "undefined" && bounds !== null && settings.zoom === null && settings.center === null) { + if (typeof bounds !== "undefined" && bounds !== null && settings.center === null) { self._map.setCenter(bounds.getCenterLonLat()); }