For information, the script uses Geonames database (their most structured database) for data on cities and administrative divisions. But this database is not complete for any country. You can update this database (from your Admin panel → Settings → International → Countries → ... "Administratives Divisions 1" or "Cities") by adding new data or by modifying existing data or by deleting them manually.
When user searches an administrative division (that can be State, Region, Province, Department or District according to the country) or clicks on it from the SVG map,
The script displays listings (or jobs) from all the cities of this administrative division (without taking to account the distance feature).
If this administrative division does not exist in the database, the script displays listings (or jobs) from the largest (populated) city in the country (within a radius of X km if the distance feature is enabled).
If the administrative division has no city belong to itself no result will be found.
If any administrative division type is selected for the country (in the "Admin panel → Settings → International → Countries → [Edit] → Administrative Division's Type") the most populates (largest) city will be automatically select.
NOTE:
For some countries, the SVG map data corresponds to the entries in Administrative Division 1, and for other the SVG map data corresponds to the entries in Administrative Division 2. So you have to select at least one of the Administrative Division type (1 or 2) related to your countries and to its SVG map.
It's important to know that the script uses the simplemaps (http://simplemaps.com/resources/svg-maps) maps and the Geonames (http://www.geonames.org/) database (2 different databases).
Solving the problem of database <=> SVG maps accuracy
To solve some problems of accuracy (ie, having an exact database), you will need to update the database of cities and administrative divisions of your country. This can be done from your Admin panel → Settings → International → Countries → Select your country and EDIT/DELETE its cities and administrative divisions data (You can ADD the missing data) related to the SVG administrative divisions names.
You have also to edit the SVG maps files (at: /public/images/maps/) to change the administrative divisions (States, Regions, Provinces, District, ...) names that are obsoletes.
If you want use your own entered data instead of the Geonames data, you can delete all country's administrative divisions and cities before adding new data from the Admin panel.
You can also disable the simplemaps SVG map (from your "Admin panel → Settings → Homepage → Locations & Country Map"), If it is not precise enough to your liking.
Here you can configure the behavior of the script yourself from the "Admin panel → Settings → General → List & Search → Fake locations results" when users search non-existing cities:
Location not found page: With this option when users search an non-existing city the script will be shown a error HTTP 404 page.
Show results with the country's most popular city: The results related to the country's most popular city will be shown if the requested city doesn't exist in the database.
Don't apply the location's filter: If the requested city doesn't exist, the city/location filter will not be applied to the search.
Sometimes you need to enable the administrative divisions (States, Regions, Provinces, Districts, ...) for your country, As in the case where certain cities belonging to different administrative divisions have the same name. So user can select first, the city's administrative division (State, Region, Province, District, ...) before selecting a city of this admin. division.
To enable the administrative divisions for a country, you have to:
Go to your "Admin panel → Settings → International → Countries → [Edit]"
From the country edition form, you can select the Administrative Division's Type (1 or 2) related to your countries. By default, the script use the Geonames database to fill the Administrative Divisions, and you can add new, edit or delete existing entries from "Admin panel → Settings → International → Countries → Admin. division 1".
Still from the country edition form, you have to check the checkbox Active Administrative Division's Field.
You are done. And you can visit your ads creation page!