Frequently Asked Question - How to use a defined area for the place predictions ?
How to use a defined area for the place predictions ?
It's possible to define a preferred geographic area for the place (radius center) input box prediction. This is a easy concept, but hard to explain. If your directory is in France and you prefer to prioritize french cities in the search suggestions you can do this. For example, if your search for entries in a 50km of Paris, you (your users) will type 'Par...', and the auto-completion will make some proposals like :
- Paris, Ontario, Canada;
- Paris, TX, United States;
- Paris, France.
Of course in this sample we want to prioritize the last one, Paris, France. The Sobipro Radius Search Application allows you to enter in backend 2 points on the map, representing a rectangle where search places in priority.
Note : If you want to limit the autocomplete to a country, you can set this country in the application settings, please check the tutorial