Skip to content

Commit 7ae5c91

Browse files
committed
Hack to fix max zoom issue
1 parent b77d016 commit 7ae5c91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/javascripts/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ var App = (function ($, publ) {
379379
ol.extent.extend(extent, feature.getGeometry().getExtent());
380380
});
381381
maps.forEach(function (m) {
382+
m.getView().setMaxZoom(18);
382383
m.getView().fit(extent, m.getSize());
383384
});
384385
}

0 commit comments

Comments
 (0)