CM Map Locations (CMML) - Searching by ZIP
Searching by ZIP
This feature requires a specific setting for all related API services: it's necessary to disable Application restrictions for all APIs.
If you don't know how to do it, please read the Google API guide.
TIP: Integration With Business Directory and Expert Directory
This feature can be used in both Business and Expert Directory in tandem with Map Locations.
What is This Feature
In the CM Map Locations plugin, the admin can enable searching locations by ZIP and in defined range on the map.
To enable this feature, navigate to the Admin Dashboard → CM Map Locations Pro → Settings. Check the full guide on the settings.
Click on the Index page tab.
Scroll down to the ZIP code neighborhood filter section.
- Enable ZIP code neighborhood filter - If enabled, the ZIP code radius filter will be added to the index page next to the search box.
- Position (after category filter) - If enabled, the filter will be added next to the category filter, otherwise - next to the search box.
- Country code for the ZIP code searching - The ZIP filter will work only within a single country. Note: it works only within a single country that you've set up in the settings.
- Enable geolocation - If enabled, the user's ZIP code will be recognized using browser's geolocation API. Notice that the geolocation API works only if you're using https.
- Minimum/Maximum radius value - set minimum and maximum radius value.
- Radius value step - Set radius values step.
- Radius default value - Set default radius value.
Below: Front-end view of the ZIP radius filter.