country-state-city
country-state-city copied to clipboard
Morocoo | State Code
in version 2.0.0 of country-state-city package, for example i found city agadir info is :
{
"name": "Agadir",
"countryCode": "MA",
"stateCode": "ASZ",
"latitude": "30.42018000",
"longitude": "-9.59815000"
},
the state code is 09 not ASZ, mean agadir in state Souss-Massa: { "name": "Souss-Massa", "isoCode": "09", "countryCode": "MA", "latitude": "30.27506110", "longitude": "-8.13385580" }
hope to fixe this issues and anothers cities and share link when you import this list of data
Than you
Hi @kamalkech
Regarding v2.0.0
- It is not backward compatible with previous versions.
- We have also removed proprietor Index Ids for uniquely identifying Country, State, City. Instead, now we are using standard iso-codes.
Please use earlier version if you still need previous state code.
@harpreetkhalsagtbit thank you for response, i already check last version and i found too many data that not correct like many cities are not in the correct state. Hope in the futur features or new version fixe all those issues