We have a Google Map where people can locate their therapist.
When they search for example 'fysiotherapeut 25 km from Ede, the Netherlands, you get to many results.
We found the reason: people did only enter their adress and not their City in the Custom Post Type.
So Google Maps is choosing the city for them with a same adress.
But:
In the Custom Post we have 2 fields with adressess, both using Google Maps.
For the searchform, we need the second adress field, with the slug adres-voor-maps.
This is also used in the View:
...
[wpv-control-distance default_distance="25" compare_field="adres-voor-maps" distance_center_url_param="toolset_maps_distance_center" distance_radius_url_param="toolset_maps_distance_radius" distance_unit_url_param="toolset_maps_distance_unit" inputs_placeholder="Toon de resultaten binnen %%DISTANCE%% KM van de volgende plaats of POSTCODE, aangevuld met de twee LETTERS: %%CENTER%%"]
...
But the form is taking the first adressfield with Google Maps, named adres.
Link to the site: hidden link
Q: how can we make sure the distance checker in the View is using the right (second) Maps field of the Custom Post Type to calculate and show the distance?
Hello. Thank you for contacting the Toolset support.
In order to check whats wrong with your setup, I will require admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.