Document the input to an attribution function

This commit is contained in:
mike-000
2021-05-24 15:05:54 +01:00
committed by GitHub
parent 8395445257
commit 464e9ec6ec

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
*/