From 9094894a417aa9057341969111b5a4e44e84630c Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Tue, 11 Oct 2016 12:25:10 +0200 Subject: [PATCH] Add prose documentation for ol.AttributionLike --- src/ol/typedefs.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index 0c0f410a6e..74d3f29fef 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -43,6 +43,13 @@ ol.AtlasManagerInfo; /** + * A type that can be used to provide attribution information for data sources. + * + * It represents either + * * a simple string (e.g. `'© Acme Inc.'`), + * * an array of simple strings (e.g. `['© Acme Inc.', '© Bacme Inc.']`), + * * an instance of `{@link ol.Attribution}`, + * * or an array with multiple `{@link ol.Attribution}` instances. * @typedef {string|Array.|ol.Attribution|Array.} */ ol.AttributionLike;