It would be nice if there was 2 new columns in the xf_ip table.
country could be 2 digit country code and region could be a varchar for region.
So I know not everyone uses Cloudflare, but by default Cloudflare is already sending the country to servers with every request. And you can enable...
A membermap based on XenForo user location field with opt-in.
Functions
Membermap based on Google Maps Geocode, JavaScript and Staticmap API
The map use the default XenForo location field with OptIn for every user
Permissions and map markers per user group
Map marker clustering
Choose between 4...