Good evening everyone.
I have created a web page where I show the position, in real time, of my catamaran when I am sailing. The page updates automatically (now every 4 seconds, when the device will be installed on board, the update will be every 30 or 60 seconds). Everything works fine except for one thing: if the user changes the zoom level, at the next automatic refresh of the page the zoom will return to the initial value (currently 17).
My question is: how can I get the zoom level of the map set by the user so that I can set it as the new level? What is the method to invoke? How do I invoke it?
The URL of the page is: https://imieiviaggi.great-site.net/
If you need I will publish the PHP code of the pages.
Thanks in advance