Saltar navegación

[Escalado a 2º nivel] Map goes back to default position after scrolling

This support ticket is created 4 years, 7 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Zona horaria del colaborador: Europe/London (GMT+01:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por azzurraM 4 years, 7 months ago.

Asistido por: Nigel.

Autor
Mensajes
#2198981
Schermata 2021-10-18 alle 18.04.22.png

Hi there,
I have a map on one of my archive pages enlace oculto (please hide). Infinite scrolling is on.
The problem is:
- when the page first loads the map, it displays markers correctly.
- if you scroll down to the point where the infinite scrolling activates and then scroll back up, the map goes back to the default position (central Africa) which is a continent away from all of my markers.
Are there any settings I'm missing out on?
My map configurations in the screenshot.
Thanks a lot

#2199423

Nigel
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+01:00)

Hi there

I checked on my own local test site and I found the same: paginating via infinite scroll causes the existing markers to be lost.

This only happens on custom archives, rather than a similar set up with a View and Map on a static page.

I don't have a workaround for you, for now you will need to switch to an alternative form of pagination.

I have escalated this issue to the developers, and I'll update you again when I have details of a fix.

Thanks for your patience.

#2199427

I see. Yes, please, keep me posted as this page is pretty central on this website.
Thank you very much for your help.