feat: 调整 ampa2 amap-maps 的 zIndex 属性值为 auto

This commit is contained in:
2912401452 2021-10-20 10:40:43 +08:00
parent 6a0a83e283
commit 5e67c62049
3 changed files with 23 additions and 23 deletions

22
beta.sh
View File

@ -1,11 +1,11 @@
npm dist-tag add @antv/l7-component@2.5.17 beta
npm dist-tag add @antv/l7-core@2.5.17 beta
npm dist-tag add @antv/l7@2.5.17 beta
npm dist-tag add @antv/l7-layers@2.5.17 beta
npm dist-tag add @antv/l7-map@2.5.17 beta
npm dist-tag add @antv/l7-maps@2.5.17 beta
npm dist-tag add @antv/l7-renderer@2.5.17 beta
npm dist-tag add @antv/l7-scene@2.5.17 beta
npm dist-tag add @antv/l7-source@2.5.17 beta
npm dist-tag add @antv/l7-three@2.5.17 beta
npm dist-tag add @antv/l7-utils@2.5.17 beta
npm dist-tag add @antv/l7-component@2.5.36 beta
npm dist-tag add @antv/l7-core@2.5.36 beta
npm dist-tag add @antv/l7@2.5.36 beta
npm dist-tag add @antv/l7-layers@2.5.36 beta
npm dist-tag add @antv/l7-map@2.5.36 beta
npm dist-tag add @antv/l7-maps@2.5.36 beta
npm dist-tag add @antv/l7-renderer@2.5.36 beta
npm dist-tag add @antv/l7-scene@2.5.36 beta
npm dist-tag add @antv/l7-source@2.5.36 beta
npm dist-tag add @antv/l7-three@2.5.36 beta
npm dist-tag add @antv/l7-utils@2.5.36 beta

View File

@ -1,11 +1,11 @@
npm dist-tag add @antv/l7-component@2.5.19 latest
npm dist-tag add @antv/l7-core@2.5.19 latest
npm dist-tag add @antv/l7@2.5.19 latest
npm dist-tag add @antv/l7-layers@2.5.19 latest
npm dist-tag add @antv/l7-map@2.5.19 latest
npm dist-tag add @antv/l7-maps@2.5.19 latest
npm dist-tag add @antv/l7-renderer@2.5.19 latest
npm dist-tag add @antv/l7-scene@2.5.19 latest
npm dist-tag add @antv/l7-source@2.5.19 latest
npm dist-tag add @antv/l7-three@2.5.19 latest
npm dist-tag add @antv/l7-utils@2.5.19 latest
npm dist-tag add @antv/l7-component@2.5.35 latest
npm dist-tag add @antv/l7-core@2.5.35 latest
npm dist-tag add @antv/l7@2.5.35 latest
npm dist-tag add @antv/l7-layers@2.5.35 latest
npm dist-tag add @antv/l7-map@2.5.35 latest
npm dist-tag add @antv/l7-maps@2.5.35 latest
npm dist-tag add @antv/l7-renderer@2.5.35 latest
npm dist-tag add @antv/l7-scene@2.5.35 latest
npm dist-tag add @antv/l7-source@2.5.35 latest
npm dist-tag add @antv/l7-three@2.5.35 latest
npm dist-tag add @antv/l7-utils@2.5.35 latest

View File

@ -155,7 +155,7 @@ export default class AMapService
'amap-maps',
)[0] as HTMLElement;
// TODO: amap2 的 amap-maps 新增 z-index=0; 样式,让 marker 中 zIndex 失效
amap.style.zIndex = '2';
amap.style.zIndex = 'auto';
this.markerContainer = DOM.create('div', 'l7-marker-container2', amap);
// this.markerContainer = DOM.create(
// 'div',