Checklist
Subject of the issue
Like described in #241 when using a custom summary the track_info is not always displayed.
The default summary is always correct and shown.
But when you want to access the {{track_info}} object it's sometimes incomplete.
In console.log I get this for the track_info
{name: '2024-01-07 09:30'}
After a few refreshes I get
{name: '2024-01-07 09:30', distance: 12.251, time: 7788759, elevation_max: 75.57, elevation_min: 7.78, …}
and then I show the correct data for the track_info
My code is created as described in the demo for custom summary or #241
Steps to reproduce
https://raruto.github.io/leaflet-elevation/examples/leaflet-elevation_custom-summary.html
did quite a few refreshes and suddenly I get no info
0

Environment
Windows 11 - Chrome version 120.0.6099.224
Link to your project
No response
Additional info
No response
Checklist
Subject of the issue
Like described in #241 when using a custom summary the track_info is not always displayed.
The default summary is always correct and shown.
But when you want to access the
{{track_info}}object it's sometimes incomplete.In console.log I get this for the track_info
After a few refreshes I get
and then I show the correct data for the track_info
My code is created as described in the demo for custom summary or #241
Steps to reproduce
https://raruto.github.io/leaflet-elevation/examples/leaflet-elevation_custom-summary.html

did quite a few refreshes and suddenly I get no info
0
Environment
Windows 11 - Chrome version 120.0.6099.224
Link to your project
No response
Additional info
No response