Merge pull request #5949 from marcjansen/attributionlike-prose-doc

Add prose documentation for ol.AttributionLike
This commit is contained in:
Marc Jansen
2016-10-11 13:59:20 +02:00
committed by GitHub

View File

@@ -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.<string>|ol.Attribution|Array.<ol.Attribution>}
*/
ol.AttributionLike;