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.
The problem is partially resolved turning of the secure URL on google. Still all the process is very, very slow.
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.