fix map
This commit is contained in:
parent
f0b92d01e1
commit
d8fed274f3
1 changed files with 3 additions and 1 deletions
|
|
@ -112,7 +112,9 @@ async function initializeMap() {
|
|||
.then((response) => {
|
||||
// console.log('poi', response.data.address)
|
||||
poiPlaceName.value = response.data.address
|
||||
? response.data.address.PlaceName
|
||||
? response.data.address.PlaceName === ''
|
||||
? response.data.address.ShortLabel
|
||||
: response.data.address.PlaceName
|
||||
: 'ไม่พบข้อมูล'
|
||||
|
||||
updateLocation(latitude, longitude, poiPlaceName.value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue