Skip Navigation

[Resolved] the map filter is not working unless center is coordinates

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 1 voice.

Last updated by shaneS-3 10 months ago.

Assisted by: Minesh.

Author
Posts
#2781841
eternalmapCapture.JPG

Tell us what you are trying to do? filter the map from the distance from an address

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site? hidden link

The filter works if you enter coordinates, but the autofill for address and places doesn't work. it needs coordinates to work. most users will enter an address or town, neither of which work. I'm stumped how to fix it.

this is the short code:

<div class="radius">
[wpv-control-distance
distance_unit_url_param="toolset_maps_distance_unit"
distance_radius_url_param="toolset_maps_distance_radius"
distance_center_url_param="toolset_maps_distance_center"
compare_field="listing-location"
default_distance="50"
inputs_placeholder="Show Stores within %%DISTANCE%% of %%CENTER%%"]
</div>

What am i missing? any help appreciated

#2782227

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please navigate to:
=> Toolset => Settings => Maps tab => Google Map API key section, can you please click on the button "Check API" and see its working.

More info:
- https://toolset.com/course-lesson/creating-a-maps-api-key/

#2782327

Thank you. i didn't notice the subtle wording of the error. Many thanks for making me look closer.