- Issue created by @adamevertsson
- Status changed to Closed: outdated
about 1 month ago 10:06pm 17 March 2025 - 🇸🇪Sweden adamevertsson
Just closing issues is one way to keep the numbers down. Answering them is another. I wish you could have chosen the latter one since I'm still looking for an answer to my question.
- 🇮🇹Italy itamair
Let’s try to keep staying respectful and polite here,
Where we are providing feedback and support mostly for free.
…
This issue looked pretty old to me and with no contribution for a long while,
And I guessed it was already solved.Especially as consequence of numerous lates posts that clearly explain how to interact with Drupal Leaflet map, once it is generated.
For instance this one: https://www.drupal.org/project/leaflet/issues/3047091 📌 Leaflet Map & Markers external interaction, on events - LIVE DEMO Needs review
that points to the Live Demo,
and explains how to interact with the Leaflet Map and its features.Basically in your case you will need to re center the Leaflet Map against the latest / newest Marker on the map.
How to pick the newest?
Well, taking it as the last if properly ordered by the Leaflet View sorting,
Or adding each date to each feature with the Leaflet Feature hook, ecc.
Kind of that …Hope this helps.
Happy extending your Leaflet Map!