Skip Navigation

[Resolved] Maps takes too long to load, and don't show any marker

This support ticket is created 7 years, 2 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 2 replies, has 2 voices.

Last updated by Beda 7 years, 2 months ago.

Assisted by: Beda.

Author
Posts
#570311

I am trying to:

Display a map on a Layout, with markers with a location from a costum field.

Link to a page where the issue can be seen:

hidden link

I expected to see:

The map, with the marker from the database, that is shown after it, and another one for test that is make with this code:

This is the map area.

[wpv-map-render map_id="map-2"]

[wpv-map-marker map_id="map-2" marker_id="marker-2" address="Rua das Portas de Santo Antão, Lisboa, Portugal"][/wpv-map-marker]

[wpv-map-marker map_id="map-2" marker_id="marker-2" marker_field="wpcf-morada"][/wpv-map-marker]

Instead, I got:

A long time to load the map (more than 30 seconds) and no marker shown.

#570334

The problem is partially resolved turning of the secure URL on google. Still all the process is very, very slow.

#570368

There are JS errors on your site slowing the process, presumably.

See the console.

To further investigate this I need to know:
- does this happen with Toolset only and a native WordPress Theme?
- How many posts does the View where the map is rendered presumably query?
- Did you mention Layouts because you see performance boosts when not using layouts, or is it just casually your setup?

I cannot replicate a similar issue locally, that is why I ask all this seemingly redundant questions.