Skip Navigation

[Resolved] Map search is not working

This support ticket is created 6 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Families Canada 6 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#911794
Search Bar.jpeg

Hello,

We have implemented a map with multiple markers and have created an option to search by distance for the map. Unfortunately, the search does not augment the map at all when a user either uses their location or the location of a major city. Could you please advise how we would go about fixing this issue with the map.

Additionally, we have attempted to add CSS to the search bars but it will not take. Could you verify the fidelity of the css below as we believe that we have the correct selectors but can't get the CSS to work.

.form-group > label {
display: block;
}

.form-control .js-toolset-maps-distance-value .js-wpv-filter-trigger-delayed {
display: inline-block;
width: 10% !important;
}

.js-toolset-maps-distance-unit.form-control .js-wpv-filter-trigger {
display: inline-block;
width: 10% !important;
}

.form-control .js-toolset-maps-distance-center .js-wpv-filter-trigger {
display: inline-block;
width: 40% !important;
}

#911918

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Joshua,

Thank you for contacting on our support forum .

Let us focus on one issue and this is the issue of the search not working.

For the css issue I would recommend that you open a new ticket for this.

Could you send me a link to the search form ?

Thanks,
Shane

#911925

Hello Shane,

Sounds good about setting up the new ticket for the CSS.

The site is behind a construction plugin so you will need to login to see the map. I can provide the login credentials I have created for Toolset via a private message.

Thanks

#911985

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Joshua,

I've enabled the private fields for your next response to provide me with the access credentials.

Thanks,
Shane

#913504

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Joshua,

The map should now be working.

The issue was that the filter code needed to be within the [wpv-filter-start] [wpv-filter-end] Shortcode.

Thanks,
Shane

#913508

Hello Shane,

Thanks for the quick fix. I did not realize we put the shortcode in the incorrect spot. Thanks again for all of your help.