You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the most comprehensive list that I have seen. Lets make it better though.
I have written an angularJS components for this. But in order for users to only get what they need it would be best to separate the the country/city code list from the main repo. And then allow options for users to just grab updates to city/country codes as they happen. If you can do this I will post all the necessary code for the AngularJS implementation.
Another issue for consistency is using two/three letter codes for regions/states - there are about 2 dozen that don't have 2 or 3 letter codes....those countries just have the city name and this is all. That poses a problem for Angular when building the $scopes needed for the select drop down menus. In order to fix this, I had to find all those country regions which didn't have a proper 2/3 letter code and basically make one up. In my app i only store the country or region codes...so if one doesn't exist it will break my implementation.
Aside from how I made up region/state codes, how else can this be addressed?
The text was updated successfully, but these errors were encountered:
rolinger
changed the title
Separate the country/city codes from main script
Added AngluarJS function - need some distro changes to make it official though.
Sep 5, 2017
rolinger
changed the title
Added AngluarJS function - need some distro changes to make it official though.
Added AngluarJS functionality - need some distro changes to make it official though.
Sep 5, 2017
This is the most comprehensive list that I have seen. Lets make it better though.
I have written an angularJS components for this. But in order for users to only get what they need it would be best to separate the the country/city code list from the main repo. And then allow options for users to just grab updates to city/country codes as they happen. If you can do this I will post all the necessary code for the AngularJS implementation.
Another issue for consistency is using two/three letter codes for regions/states - there are about 2 dozen that don't have 2 or 3 letter codes....those countries just have the city name and this is all. That poses a problem for Angular when building the $scopes needed for the select drop down menus. In order to fix this, I had to find all those country regions which didn't have a proper 2/3 letter code and basically make one up. In my app i only store the country or region codes...so if one doesn't exist it will break my implementation.
Aside from how I made up region/state codes, how else can this be addressed?
The text was updated successfully, but these errors were encountered: