# 隐藏地图弹窗的区域和驾车规划
This commit is contained in:
parent
cc95c8d0ce
commit
7e1bf467ae
|
@ -172,10 +172,10 @@ export default {
|
|||
content.push('<div class="count">' + item.count + '</div>')
|
||||
content.push('<div class="time">时间:' + curTime + '</div>')
|
||||
content.push('<div><span>信号:' + item.signal + '</span><span class="energy">电量:' + item.energy + '</span></div>')
|
||||
content.push('<div>区域:尖沙咀</div>\n')
|
||||
if (drivingButton) {
|
||||
content.push('<button id="btn" class="btn">驾车规划</button>')
|
||||
}
|
||||
// content.push('<div>区域:尖沙咀</div>\n')
|
||||
// if (drivingButton) {
|
||||
// content.push('<button id="btn" class="btn">驾车规划</button>')
|
||||
// }
|
||||
const infoWindow = new AMap.InfoWindow({
|
||||
isCustom: true,
|
||||
closeWhenClickMap: true,
|
||||
|
|
Loading…
Reference in New Issue