Hi,

first of all, thanks for this great module.

When using Views, it seems that some kind of "backend" cache is being used instead of Views cache. This is my situation:

1. There are nodes with Geofield (latitude/longitude).
2. A view is being used to plot those nodes on the map. That works flawlessly.

The problem occurs when you change something with the coordinates or delete them. E. g. you have node "City A". If you delete coordinates of that node (Geofield), i. e. that node has an empty Geofield, it will still be displayed on the map, although Views have the setting "Caching: none". I don't know how long it lasts until it disappears, but there's more than 30 minutes definitely since I've done that and it's still there.

Changing the coordinates does the same - it won't move the marker to the new location, it stays where it was the first time.

Comments

1mundus’s picture

Another interesting thing - if I change something else (e. g. a field to populate info box), it gets displayed immediately, i. e. it's not cached. Therefore, it seems that only markers are cached somehow.

1mundus’s picture

Status: Active » Closed (cannot reproduce)

After clearing the whole cache it displays markers properly. Also, it didn't happen again (deleting the coordinates from nodes removed markers from maps), so it was obviously a problem with some other part of my configuration, not Leaflet.

Marking as Closed (cannot reproduce again).