|
@@ -34,8 +34,8 @@ class HomeMap {
|
|
|
// 创建弹窗图层
|
|
|
this.popup = new Overlay({
|
|
|
element: document.getElementById('popup'),
|
|
|
- positioning: 'bottom-center',
|
|
|
- offset: [0, -10],
|
|
|
+ positioning: 'right-center',
|
|
|
+ offset: [10, 10],
|
|
|
});
|
|
|
this.kmap.map.addOverlay(this.popup);
|
|
|
setTimeout(() => {
|