From 464e9ec6ecc06b33e694621314d65775182faf96 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Mon, 24 May 2021 15:05:54 +0100 Subject: [PATCH] Document the input to an attribution function --- src/ol/source/Source.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/source/Source.js b/src/ol/source/Source.js index a2638e36ab..e2b50a8f6d 100644 --- a/src/ol/source/Source.js +++ b/src/ol/source/Source.js @@ -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)} Attribution */