[Bug Bug 505430] - County returned instead of country in geolocated address. r=glaz
This commit is contained in:
Родитель
34827b9705
Коммит
83a3d641d1
|
@ -89,15 +89,15 @@ function WifiGeoPositionObject(lat, lon, acc, address) {
|
|||
this.coords = new WifiGeoCoordsObject(lat, lon, acc);
|
||||
|
||||
if (address) {
|
||||
this.address = new WifiGeoAddressObject(address.streetNumber,
|
||||
this.address = new WifiGeoAddressObject(address.street_number,
|
||||
address.street,
|
||||
address.premises,
|
||||
address.city,
|
||||
address.county,
|
||||
address.region,
|
||||
address.county,
|
||||
address.countryCode,
|
||||
address.postalCode);
|
||||
address.country,
|
||||
address.country_code,
|
||||
address.postal_code);
|
||||
}
|
||||
else
|
||||
this.address = null;
|
||||
|
|
Загрузка…
Ссылка в новой задаче