geocoder-php / Geocoder

The most featured Geocoder library written in PHP.
https://geocoder-php.org
MIT License
3.94k stars 517 forks source link

LocationIQ - State AdminLevels do not have their codes set. #1121

Open BrodyT opened 3 years ago

BrodyT commented 3 years ago

Even after doing a few workarounds to add the parameter "statecode=1" (added to the end of the api key, since withData() doesn't appear to be working), the adminLevels still do not have the code set.

I've traced this back to how the adminLevels are populated on line 121 of the provider, the code is statically set to ''.