[js]百度地图整理

文字标注

文字标注加了偏移量之后,发现其border显示不完整,如图1所示。
图1
打开开发工具,样式中有这么一条:position: absolute。禁用这条规则后,样式正常了,如图2所示。
图2
于是,将其样式修改为:position: relative !important,最终效果如图3所示。
图3

原文地址:https://www.cnblogs.com/CHWJ2014/p/6626000.html