You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good morning,
I have found a possible bug using the library when you reload the map too quick. Let you consider your example "RealTimeMap Geometric.Points collection". If you run the server you see the map as "Home" page. Let consider the following action:
click on "Add more" button in "Home" page
click on "Counter" menu on the left
click agin on "Home" within 5 seconds
click again on "Add more" button
My behaviour is that the application crash. Using in debug the error stack trace is the following
TypeError: Cannot read properties of undefined (reading 'x')
Analisi dello stack:
Good morning,
I have found a possible bug using the library when you reload the map too quick. Let you consider your example "RealTimeMap Geometric.Points collection". If you run the server you see the map as "Home" page. Let consider the following action:
My behaviour is that the application crash. Using in debug the error stack trace is the following
TypeError: Cannot read properties of undefined (reading 'x')
Analisi dello stack:
If you repeat the process but you wait more than 10 seconds to come back on "Home" page to reload the map, the apllication does not crash.
I found something similar on google
https://stackoverflow.com/questions/72446783/leaflet-geojson-uncaught-typeerror-cannot-read-properties-of-undefined-reading
It look like tha map object is automatically destroyed after a while
Do you have an idea how to fix the issue?
Regards
The text was updated successfully, but these errors were encountered: