Passer la navigation

[Remonté au deuxième échelon] Map goes back to default position after scrolling

This support ticket is created Il y a 4 years, 7 months. 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 -

Fuseau horaire du supporter : Europe/London (GMT+01:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par azzurraM Il y a 4 years, 7 months.

Assisté par: Nigel.

Auteur
Publications
#2198981
Schermata 2021-10-18 alle 18.04.22.png

Hi there,
I have a map on one of my archive pages lien caché (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
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: 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.