venue-js 1.2.0-next.5 → 1.2.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3027,7 +3027,7 @@ var CameraManager = class {
3027
3027
  return this.map.getView();
3028
3028
  };
3029
3029
  setView = (value) => {
3030
- if (this.map) {
3030
+ if (this.map && Object.keys(value).length !== 0) {
3031
3031
  this.map.setView(value);
3032
3032
  }
3033
3033
  };