ol 10.2.2-dev.1731074894672 → 10.2.2-dev.1731316765265
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/control/Control.d.ts.map +1 -1
- package/control/Control.js +3 -1
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/package.json +1 -1
- package/util.js +1 -1
package/control/Control.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Control.d.ts","sourceRoot":"","sources":["Control.js"],"names":[],"mappings":";;;;;;;;;;;;;qBAauB,OAAO,gBAAgB,EAAE,OAAO,KAAE,IAAI;;;;;;;AAL7D;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EAyCjB;IA/BC;;;OAGG;IACH,mBAFU,WAAW,CAEkB;IAEvC;;;OAGG;IACH,gBAAmB;IAEnB;;;OAGG;IACH,aAAgB;IAEhB;;;OAGG;IACH,wBAFW,KAAK,CAAC,OAAO,cAAc,EAAE,SAAS,CAAC,CAE5B;
|
|
1
|
+
{"version":3,"file":"Control.d.ts","sourceRoot":"","sources":["Control.js"],"names":[],"mappings":";;;;;;;;;;;;;qBAauB,OAAO,gBAAgB,EAAE,OAAO,KAAE,IAAI;;;;;;;AAL7D;;;;;;;;;;GAUG;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IACE;;OAEG;IACH,qBAFW,OAAO,EAyCjB;IA/BC;;;OAGG;IACH,mBAFU,WAAW,CAEkB;IAEvC;;;OAGG;IACH,gBAAmB;IAEnB;;;OAGG;IACH,aAAgB;IAEhB;;;OAGG;IACH,wBAFW,KAAK,CAAC,OAAO,cAAc,EAAE,SAAS,CAAC,CAE5B;IA4DxB;;;;OAIG;IACH,iBAHW,OAAO,gBAAgB,EAAE,OAAO,QAGxB;IA7CnB;;;;OAIG;IACH,UAHY,OAAO,WAAW,EAAE,OAAO,GAAC,IAAI,CAK3C;IAED;;;;;;;OAOG;IACH,YAHW,OAAO,WAAW,EAAE,OAAO,GAAC,IAAI,QAwB1C;IASD;;;;;;;;OAQG;IACH,kBAHW,WAAW,GAAC,MAAM,QAM5B;CACF;uBA3JsB,cAAc"}
|
package/control/Control.js
CHANGED
|
@@ -124,7 +124,9 @@ class Control extends BaseObject {
|
|
|
124
124
|
this.map_ = map;
|
|
125
125
|
if (map) {
|
|
126
126
|
const target = this.target_ ?? map.getOverlayContainerStopEvent();
|
|
127
|
-
|
|
127
|
+
if (this.element) {
|
|
128
|
+
target.appendChild(this.element);
|
|
129
|
+
}
|
|
128
130
|
if (this.render !== VOID) {
|
|
129
131
|
this.listenerKeys.push(
|
|
130
132
|
listen(map, MapEventType.POSTRENDER, this.render, this),
|