Commit eafa84d5 authored by zhanglw's avatar zhanglw

企业地址定位

parent 0ec0eec7
......@@ -18,9 +18,6 @@ export default {
languages: [{
value: 'CH',
label: '中文'
}, {
value: 'EN',
label: 'English'
}],
currentObj: {},
visible: false
......
......@@ -18,9 +18,6 @@ export default {
languages: [{
value: 'CH',
label: '中文'
}, {
value: 'EN',
label: 'English'
}],
currentObj: {},
visible: false
......
......@@ -339,7 +339,7 @@ export default {
this.mapDom.enableScrollWheelZoom(true)
this.mapDom.addControl(new BMapGL.ScaleControl())
this.mapDom.addControl(new BMapGL.ZoomControl())
const point = new BMapGL.Point(116.404, 39.915)
const point = new BMapGL.Point(this.supplierObj.enterpriseAddressLng, this.supplierObj.enterpriseAddressLat)
this.mapDom.centerAndZoom(point, 16)
this.mapDom.addOverlay(new BMapGL.Marker(point))
this.mapDom.addOverlay(new BMapGL.Label(this.supplierObj.enterpriseAddress, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment