|
@@ -470,7 +470,7 @@ export default {
|
|
|
that.geocoder.getAddress(lnglatXY, function(status, result) {
|
|
|
if (status === 'complete' && result.info === 'OK') {
|
|
|
that.currentPointName = result.regeocode.formattedAddress;
|
|
|
- that.initCustomMarkes(that.capacityNumber+"("+that.listPath[0].miled+")",that.currentPointName,lnglatXY[0],lnglatXY[1])
|
|
|
+ that.initCustomMarkes(that.capacityNumber,"位置:"+that.currentPointName+"<br/>"+"距离:"+that.listPath[0].miled,lnglatXY[0],lnglatXY[1])
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -502,8 +502,8 @@ export default {
|
|
|
let that=this;
|
|
|
//自定义窗体内容
|
|
|
var content = [
|
|
|
- "<div style='top:1px;width: 180px; background-color: rgba(0, 0, 0, 1);' ><font color='white'>"+title+"</font>",
|
|
|
- "<div style='background-color:rgba(255, 255, 255, 0.5);'><font color='white'>"+details+"</font></div></div>"
|
|
|
+ "<div style='top:1px;width: 180px; background-color: rgba(22, 160, 133, 1);' ><font color='white'>"+title+"</font>",
|
|
|
+ "<div style='background-color:(22, 160, 133, 1); ;'><font color='white'>"+details+"</font></div></div>"
|
|
|
];
|
|
|
// 创建 infoWindow 实例
|
|
|
var infoWindow = new AMap.InfoWindow({
|
|
@@ -684,7 +684,7 @@ export default {
|
|
|
}
|
|
|
.driving_information2 {
|
|
|
position: relative;
|
|
|
- top: 50px;
|
|
|
+ top: 70px;
|
|
|
}
|
|
|
.driving_information3 {
|
|
|
position: absolute;z-index:99;top:0;left:0;
|