Commit aa5dc6fc by 胡悦

提交地址逆解析

1 parent d2024888
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
) { ) {
pois = result.poiList.pois pois = result.poiList.pois
// var flag = false // var flag = false
} else {} } else { }
appendList() appendList()
setFitView() setFitView()
} }
...@@ -259,6 +259,11 @@ ...@@ -259,6 +259,11 @@
mapData.merchantAddress = result.regeocode.formattedAddress mapData.merchantAddress = result.regeocode.formattedAddress
modelVal('merchantAddress', mapData.merchantAddress) modelVal('merchantAddress', mapData.merchantAddress)
placeSearch(mapData.merchantAddress) placeSearch(mapData.merchantAddress)
geocoder.getLocation(mapData.merchantAddress, (status, result) => {
if (status === 'complete' && result.info === 'OK') {
mapData.geocoderAddress = result.geocodes[0]
}
})
} }
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!