Skip Navigation

[Gelöst] Use my location for distance filter in Maps

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem: I would like to show results within a certain distance from my current location.

Solution: Add a distance filter to your View. In the Filter Editor, click "New Filter" and find the "Distance" filter under Toolset Maps. If you cannot see the Filter Editor section, you can enable this section by clicking "Screen Options" in the top right corner of the admin screen. Insert the filter control, then in the Query Filter editor you can select "Distance Center is set from user Location".

Relevant Documentation: https://toolset.com/2017/12/toolset-maps-1-4-with-geolocation-filtering-by-distance-and-custom-map-styles/

This support ticket is created vor 6 Jahren, 11 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Matthias Reichl vor 6 Jahren, 9 Monaten.

Assistiert von: Christian Cox.

Author
Artikel
#602967
map.JPG

Hi,

I need Help.

I Created with Views Google Map check here versteckter Link
how to make me google map view onyle marker in the near from my location?

I added current_visitor_location="true" map_render="immediate" but dont work.

Thx

#603194
Screen Shot 2018-01-03 at 3.37.29 PM.png

Hi, you must add a distance filter to your View. In the Filter Editor, click "New Filter" and find the "Distance" filter under Toolset Maps. If you cannot see the Filter Editor section, you can enable this section by clicking "Screen Options" in the top right corner of the admin screen. Insert the filter control, then in the Query Filter editor you can select "Distance Center is set from user Location". See the attached screenshot for an example.

More information about distance filtering and geolocation here:
https://toolset.com/2017/12/toolset-maps-1-4-with-geolocation-filtering-by-distance-and-custom-map-styles/

#620889

thank you for your help