Skip Navigation

[Résolu] How we can use distance radius

This support ticket is created Il y a 6 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Marqué : ,

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par Franck Il y a 6 années et 1 mois.

Assisté par: Christian Cox.

Auteur
Publications
#1134982

Hello,
I have a question, maybe stupid, but i don't understand how we can use the url parameter radius in distance filter because the distance is already fill in filter and we can not use the url paramter to change it.

Thanks a lot

#1135444

And i have more questions.

- I tried tu order by distance filter, it works, but we have to fill the field from where. It is good but when we use the field Google map it is not good. If the visitor fill a city, it is logical to filter by distance from this city and not by a fixed city that i would fill.
So do you think with jquery we can change that ?

- Second, before, we could filled in the map field : France, and posts matched. With the new view it doesn't work anymore 🙁

- Third, i am little really worried, because since the new view, the speed of my website is really longer than before. Maybe is because you want to work with Elementor and that make problems. Whatever, i loved Toolset because there was no problem with speed, and right now it is not same anymore. I learn Toolset from 2 years, and i hope i didn't work for abandonned at the end.

#1135696

i don't understand how we can use the url parameter radius in distance filter because the distance is already fill in filter and we can not use the url paramter to change it.
I'm not sure I understand the question, but if you insert the Distance filter in the "Search and Pagination" editor panel, and you will have the option to modify the distance criteria on the front-end of the site. See filters-1.png and filters-2.png screenshots. Then you must turn on URL updates to see the URL parameters appear when you modify search criteria. Let me know if you have additional questions about that.

- I tried tu order by distance filter, it works, but we have to fill the field from where. It is good but when we use the field Google map it is not good. If the visitor fill a city, it is logical to filter by distance from this city and not by a fixed city that i would fill.
Maps 1.6 will include several improvements to the distance filter, and a variable center point is one of those new features. We hope to have this new version available in a few days, so it will be possible very soon.

I have split your other two questions into separate tickets, because our support policy is to handle one issue per ticket. Let's follow up in the other two tickets:
https://toolset.com/forums/topic/maps-filter-for-france-doesnt-show-any-results/
https://toolset.com/forums/topic/performance-problem-with-views-2/

#1135697
filters-1.png
filters-2.png

Sorry, I forgot the image attachments.

#1135994

Hi, for the question, how i can use parameter radius, i have find on my own, we have to use the initial parameters. If we change the name, the radius parameter can not be work....

My issue is resolved now. Thank you!