We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4df714 commit 3b367cfCopy full SHA for 3b367cf
src/openlayers/mapping/WebMap.js
@@ -718,7 +718,7 @@ export class WebMap extends Observable {
718
if (minZoom > maxZoom) {
719
[minZoom, maxZoom] = [maxZoom, minZoom];
720
}
721
- if (minZoom !== 0 && maxZoom !== visibleScales.length - 1) {
+ if (minZoom !== 0 || maxZoom !== visibleScales.length - 1) {
722
this.map.setView(
723
new View(
724
Object.assign({}, this.map.getView().options_, {
0 commit comments