Merge pull request #12349 from mike-000/patch-5

Document the input to an attribution function
This commit is contained in:
Tim Schaub
2021-05-24 14:45:10 -06:00
committed by GitHub

View File

@@ -7,8 +7,8 @@ import {abstract} from '../util.js';
import {get as getProjection} from '../proj.js';
/**
* A function that returns a string or an array of strings representing source
* attributions.
* A function that takes a {@link module:ol/PluggableMap~FrameState} and returns a string or
* an array of strings representing source attributions.
*
* @typedef {function(import("../PluggableMap.js").FrameState): (string|Array<string>)} Attribution
*/