Add opaque option to olx.source.OSMOptions
This commit is contained in:
@@ -33,7 +33,7 @@ ol.source.OSM = function(opt_options) {
|
||||
goog.base(this, {
|
||||
attributions: attributions,
|
||||
crossOrigin: crossOrigin,
|
||||
opaque: true,
|
||||
opaque: options.opaque !== undefined ? options.opaque : true,
|
||||
maxZoom: options.maxZoom !== undefined ? options.maxZoom : 19,
|
||||
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
||||
tileLoadFunction: options.tileLoadFunction,
|
||||
|
||||
Reference in New Issue
Block a user