Set default ol.source.OSM maxZoom to 19
This commit is contained in:
1 parent
9ecd60601c
commit
b611aff8e4
2 files changed
+2
-2
No files matched your search
@@ -37,7 +37,7 @@ ol.source.OSM = function(opt_options) {
|
||||
attributions: attributions,
|
||||
crossOrigin: crossOrigin,
|
||||
opaque: true,
|
||||
maxZoom: options.maxZoom,
|
||||
maxZoom: goog.isDef(options.maxZoom) ? options.maxZoom : 19,
|
||||
tileLoadFunction: options.tileLoadFunction,
|
||||
url: url
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user