Skip Navigation

[Resolved] 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.

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 12 replies, has 1 voice.

Last updated by Dido 1 week, 3 days ago.

Assisted by: Minesh.

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

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.

#2871875

We set it up this way because I want all markers to appear on the map, but with no display below the map.
Only display the search results on the map below the map after filtering. If we load everything at once, the page becomes too slow.

Is there a workaround?

#2871878

Minesh
Supporter

We have improved Toolset Maps plugin for Address cache mechanism to improve load time and I've installed and activated that Toolset Maps hotfix version on your staging site which we suppose to release very soon but I can see indeed it improved the page speed.

You can check your page by refreshing it couple of times.

#2872705

I see the difference, Minesh. This is a great intervention!
How can I copy this to the main website?

#2872706

this problem still remains:

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

New threads created by Minesh and linked to this one are listed below:

https://toolset.com/forums/topic/split-open-street-map-issues-address-search-or-search-by-distance/

#2872991

Minesh
Supporter

As per our support policy, we entertain only one question per ticket. This will help other users searching on the forum.

As the original issue is already address with this ticket you are welcome to mark resovle this ticket.

I've split the ticket with your new queston for address search:
- https://toolset.com/forums/topic/split-open-street-map-issues-address-search-or-search-by-distance/

#2873047

Hi Minesh,

and what about this:

(We have improved Toolset Maps plugin for Address cache mechanism to improve load time and I've installed and activated that Toolset Maps hotfix version on your staging site which we suppose to release very soon but I can see indeed it improved the page speed.

You can check your page by refreshing it couple of times.)

I see the difference, Minesh. This is a great intervention!
How can I copy this to the main website?

#2873085

Minesh
Supporter

Most probably the this issue will be also shipped with the next release but for now there is no ETA on it, I will keep you posted.

You can downlaod the current version from your plugins page:
- hidden link

There is a download link available with the Toolset Maps plugin.

If you plan to use it on your production site:
*** Please make a FULL BACKUP of your database and website.***

#2873126

Thank you