Use Source as default parameter for Layer.

This commit is contained in:
Simon Seyock
2021-08-06 10:16:20 +02:00
parent d7b443bf44
commit d6e0eb75fa
7 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import {getUid} from '../util.js';
* unmanaged layers. The third is the {@link module:ol/geom/SimpleGeometry} of the feature. For features
* with a GeometryCollection geometry, it will be the first detected geometry from the collection.
* @template T
* @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default, import("../geom/SimpleGeometry.js").default): T} FeatureCallback
* @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default<import("../source/Source").default>, import("../geom/SimpleGeometry.js").default): T} FeatureCallback
*/
/**