Closed imchlorine closed 4 years ago
I know it is a bit late but we depend on the feedback from Google in this case I have tested it today using the geocoding plugin (improved version of the geocoding features that used to be part of the geolocator) which resulted in the following data (note that Google will respond with a list of matches, usually sorted from most accurate to less accurate):
Name: 110-140,
Street: 110-140 King St,
ISO Country Code: AU,
Country: Australia,
Postal code: 2000,
Administrative area: New South Wales,
Subadministrative area: Council of the City of Sydney,
Locality: Sydney,
Sublocality: ,
Thoroughfare: King Street,
Subthoroughfare: 110-140
Name: Sydney,
Street: Sydney NSW 2000,
ISO Country Code: AU,
Country: Australia,
Postal code: 2000,
Administrative area: New South Wales,
Subadministrative area: ,
Locality: Sydney,
Sublocality: ,
Thoroughfare: ,
Subthoroughfare:
Name: 2000,
Street: Sydney NSW 2000,
ISO Country Code: AU,
Country: Australia,
Postal code: 2000,
Administrative area: New South Wales,
Subadministrative area: ,
Locality: Sydney,
Sublocality: ,
Thoroughfare: ,
Subthoroughfare:
Name: Council of the City of Sydney,
Street: Sydney,
ISO Country Code: AU,
Country: Australia,
Postal code: ,
Administrative area: New South Wales,
Subadministrative area: Council of the City of Sydney,
Locality: ,
Sublocality: ,
Thoroughfare: ,
Subthoroughfare:
Name: Sydney,
Street: Sydney NSW,
ISO Country Code: AU,
Country: Australia,
Postal code: ,
Administrative area: New South Wales,
Subadministrative area: ,
Locality: Sydney,
Sublocality: ,
Thoroughfare: ,
Subthoroughfare:
It seems that Google has fixed their data as it clearly reports the "Administrative area" as "New South Wales".
🐛 Bug Report
The administrativeArea of Sydney (-33.8688, 151.2093) is not correct.
Expected behavior
The administrativeArea of Sydney (-33.8688, 151.2093) is South Australia which is actually New South Wales.
Reproduction steps
return value:
Pitt Street, Sydney, South Australia
Configuration
geolocator: ^5.0.1
Version: 1.12.13+hotfix.9
Platform: