Travel Mapping

Web Design Discussion => General Web Design Discussion => Topic started by: Jim on June 06, 2025, 07:43:49 pm

Title: Mapview efficiency improvement
Post by: Jim on June 06, 2025, 07:43:49 pm
I have what looks to be a significant Mapview efficiency improvement incoming.  Since it involves a change to site update to add some SQL INDEX commands and in addition to changes to the web front end code, I am just going to make them all right on the production server following my own testing on the development server and with the test database instance (which I have just completed).  I'm posting here ahead of the install as a heads up in case anything goes wrong.
Title: Re: Mapview efficiency improvement
Post by: Jim on June 06, 2025, 08:23:20 pm
It's live on the main site.  Do a hard reload if you have a Mapview already open to ensure you get the new code into your browser.  This is entirely a database efficiency improvement.  When there are a lot of segments on the map, Leaflet will still struggle.  This means that the efficiency improvement is most significant when the maps are zoomed in quite a bit, but all zoom levels will be better.  Let me know if you notice any problems (and enjoy!).
Title: Re: Mapview efficiency improvement
Post by: mapcat on June 06, 2025, 08:44:25 pm
It's been a while since I checked "Always Update Visible Routes" but it definitely seems faster. Thanks for working on this!