Author Topic: Mapview efficiency improvement  (Read 3384 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2978
  • Last Login:Yesterday at 11:01:19 pm
Mapview efficiency improvement
« 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.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2978
  • Last Login:Yesterday at 11:01:19 pm
Re: Mapview efficiency improvement
« Reply #1 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!).

Offline mapcat

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1905
  • Last Login:Yesterday at 09:27:25 pm
Re: Mapview efficiency improvement
« Reply #2 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!
Clinched: