Center map on newest node in Views

Created on 24 August 2024, 3 months ago

Problem/Motivation

I have a fullscreen map which shows all nodes of a certain content type where geofield information gives longitude and latitude - and the center of the map is the newest node.

I'm trying to replicate this with Drupal 10.3.1 and Leaflet 10.2.24. No matter what settings I choose, the map starts off on a - too me - random location (the same location every time, though).

Is there a way I can accomplish this? Am I looking at the wrong places? Or should I abandon Leaflet for some other module solution?

// Adam

πŸ’¬ Support request
Status

Active

Version

10.2

Component

User interface

Created by

πŸ‡ΈπŸ‡ͺSweden adamevertsson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024