From 60c5d016a6fd8661b8fad57a1bfb7b42e2a86647 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 27 Sep 2018 09:29:07 +0200 Subject: [PATCH] Remove unused 'opaque' property from ol/source/Stamen options And set the `layer` property as mandatory. --- src/ol/source/Stamen.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ol/source/Stamen.js b/src/ol/source/Stamen.js index 94b6df2f2f..b0d5d0a5af 100644 --- a/src/ol/source/Stamen.js +++ b/src/ol/source/Stamen.js @@ -91,10 +91,9 @@ const ProviderConfig = { /** * @typedef {Object} Options * @property {number} [cacheSize=2048] Cache size. - * @property {string} [layer] Layer. + * @property {string} layer Layer name. * @property {number} [minZoom] Minimum zoom. * @property {number} [maxZoom] Maximum zoom. - * @property {boolean} [opaque] Whether the layer is opaque. * @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels). * Higher values can increase reprojection performance, but decrease precision. * @property {import("../Tile.js").LoadFunction} [tileLoadFunction]