Add opaque option to olx.source.OSMOptions

This commit is contained in:
Frederic Junod
2016-02-02 13:42:05 +01:00
parent 39b9ba87fc
commit d8330d56a0
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -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,