Skip Navigation

[Resolved] Maps autocomplete shows foreign adresses first

This support ticket is created 5 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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 5 years, 5 months ago.

Assisted by: Nigel.

Author
Posts
#1298433

I am trying to: Restrict maps autocomplete suggestions

Link to a page where the issue can be seen: hidden link

I expected to see: Only Spain addresses suggested

Instead, I got: USA addresses suggested first

Maps autocomplete docs tells about "location" parameter, which can restrict suggestions area.
How can we add this restriction to Toolset Address field?

Thanks in advance, Toolset is awesome!

#1298585

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Paula

I discussed this with the Maps developer and it's currently not possible to modify the options for autocomplete, it requires a change in the plugin code to create a hook where such a change could be inserted.

He is willing to do so, and I've created an internal request ticket, but I can't say how long it may take, it will be considered along with the other development tasks for Maps.

I suggest you check the release notes for Maps updates to see what is included.

Sorry I don't have a workaround you can use in the meantime.