ol 10.7.1-dev.1762286637579 → 10.7.1-dev.1763099382422
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/View.d.ts +38 -0
- package/View.d.ts.map +1 -1
- package/View.js +93 -0
- package/dist/ol.d.ts.map +1 -1
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/interaction/Link.js +2 -2
- package/package.json +1 -1
- package/util.js +1 -1
package/interaction/Link.js
CHANGED
|
@@ -301,7 +301,7 @@ class Link extends Interaction {
|
|
|
301
301
|
return;
|
|
302
302
|
}
|
|
303
303
|
const view = map.getView();
|
|
304
|
-
if (!view) {
|
|
304
|
+
if (!view || !view.isDef()) {
|
|
305
305
|
return;
|
|
306
306
|
}
|
|
307
307
|
|
|
@@ -421,7 +421,7 @@ class Link extends Interaction {
|
|
|
421
421
|
return;
|
|
422
422
|
}
|
|
423
423
|
const view = map.getView();
|
|
424
|
-
if (!view) {
|
|
424
|
+
if (!view || !view.isDef()) {
|
|
425
425
|
return;
|
|
426
426
|
}
|
|
427
427
|
|
package/package.json
CHANGED
package/util.js
CHANGED