This support ticket is created 4 years, 5 months ago. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
hidden link
i am trying to add a filter for custom field i added to the post type clubs , map and markers working ,fields displaying but when i filter i get no items found , i can only select one at a time also , i need to be able to select multipe choices login is needed to see the page
2) i want to always display the location name no matter what is input (lon and lat show when use my location selected it is nasty on the eye!!)
Unfortunately right now you will only get the Lon and Lat values because this is what the location is based on. This is the most accurate way of getting the user's location because you won't be to get the user's exact address.
For eg if the search gets their location and the form picks up Miami, then this won't give an accurate reading of the user's location because they can be anywhere in Miami.
3) is there a way to turn the ugly numerical box for the filter into a pretty slider?
Unfortunately no this won't be possible at least not for this field.
Its not necessarily toolset itself but the limitation of the API's that Toolset is using.
Right now when Google gets your current location it gets it by the Coordinates. What could be done is convert these coordinates to an approximate named location, however this will throw off the distance filter because the distance won't be accurate but an approximation given that its coming from an approximated location.
Not much that we can do about this one, however he idea is a good one.
Secondly for the distance slider, it actually requires a min and a max value. Given that google's radius API only takes 1 value as a distance from a point then it wouldn't be possible to do the distance slider.
Hopefully this clarifies some of the limitations for you.
no it doesn't clarify , your plugin is getting the long and latitude , lon and lat will translate to an address , example hidden link its very simple in theory , but i dont know how your plugin is built or know how to write php or js ..... unfortunately to show users a meaningless long and lat is very strange indeed....
as for distance slider i have this all ready on my site fully functioning so it must be achievable , which leads me to my next question , my site all ready uses maps js api , is there a snippet to make toolset check if it needs the api and not to double load ?
to clarify on my pages i now have in console
You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.