Fix ol/layer/Graticule rendercomplete problem

fix typedef imports
This commit is contained in:
mike-000
2020-01-26 14:04:05 +00:00
committed by GitHub
parent a7bdee43b3
commit e820042748
+2 -2
View File
@@ -430,9 +430,9 @@ class Graticule extends VectorLayer {
/** /**
* Strategy function for loading features based on the view's extent and * Strategy function for loading features based on the view's extent and
* resolution. * resolution.
* @param {import("./extent.js").Extent} extent Extent. * @param {import("../extent.js").Extent} extent Extent.
* @param {number} resolution Resolution. * @param {number} resolution Resolution.
* @return {Array<import("./extent.js").Extent>} Extents. * @return {Array<import("../extent.js").Extent>} Extents.
*/ */
strategyFunction(extent, resolution) { strategyFunction(extent, resolution) {
if (this.loadedExtent_ && !equals(this.loadedExtent_, extent)) { if (this.loadedExtent_ && !equals(this.loadedExtent_, extent)) {