|
|
@@ -211,7 +211,7 @@ export default {
|
|
|
const marker = new this.AMap.Marker({
|
|
|
position: position,
|
|
|
// 去掉了数字显示,仅保留呼吸灯效果
|
|
|
- content: `<div class="pure-light-node" style="background: ${config.color}; box-shadow: 0 0 15px ${config.color}; font-size: 12px; display: flex; justify-content: center; align-items: center; color: #fff;">${config?.name?.charAt(0)}</div>`,
|
|
|
+ content: `<div class="pure-light-node" style="background: ${config.color}; box-shadow: 0 0 15px ${config.color}; font-size: 12px; display: flex; justify-content: center; align-items: center; color: #fff; padding: 8px;">${config?.name?.charAt(0)}</div>`,
|
|
|
offset: new this.AMap.Pixel(-10, -10),
|
|
|
extData: {
|
|
|
...config,
|