Skip Navigation

[Waiting for user feedback] open street map issues

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.

This topic contains 5 replies, has 1 voice.

Last updated by Christopher Amirian 1 day, 5 hours ago.

Assisted by: Christopher Amirian.

Author
Posts
#2869402

I use Open Street Map on hidden link but this page is loading very slow.
Sometimes looking for a town, the search failes. For instance when I look for Wintelre.

On the singel post the map is working ok.
hidden link
Wintelre, Eersel, Noord-Brabant, Nederland

What can we do about these problems?

#2869550

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

That is really strange.

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#2869577

Hi Minesh, I provided the information

#2869580

Minesh
Supporter

Languages: English (English )

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

Based on thedebug informatin you shared - I can see that you are using latest Toolset plugins.

Just incase to make sure there is no plugin/theme conflict:

*** Please make a FULL BACKUP of your database and website.***
Could you please try to resolve your issue by deactivating all third-party plugins as well as switch to the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference with only Toolset plugins active?
- Are you able to spot any plugin/theme conflict?

If no:

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2871327

Hi Minesh,

Are things clear for you?

#2871650

Christopher Amirian
Supporter

Languages: English (English )

Hi,

This is Christopher taking the ticket.

Looking at your Loop editor, the markers are not coming from this View. You render the map and then call a separate View:

[wpv-map-render map_id="overzicht" map_height="600px"][/wpv-map-render]
[wpv-view name="show-markers-on-map"]

That nested View runs its own query, so it loads its own set of markers on every page load, independent of what the visitor searched for. That is very likely the main cause of the slowness on this page, and it also means the markers do not follow your distance filter.

The correct way to put search results on a map is to add the marker inside the loop of the same View that does the filtering:

- Edit the View and open the Loop editor.
- Place the cursor inside <wpv-loop>, next to your <div class="kader"> output.
- Click the Fields and Views button, and in the Toolset Maps section click Marker. Use map_id="overzicht" so it matches your [wpv-map-render].
- Remove the [wpv-view name="show-markers-on-map"] line.

Then each result in the loop produces its own marker, and only the filtered results are drawn. That is both faster and correct.

For more information:
https://toolset.com/documentation/legacy-features/maps-plugin/how-to-display-custom-search-results-on-a-map/

Thanks.