Author Topic: Leaflet version upgrade  (Read 15777 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 08:50:39 am
Leaflet version upgrade
« on: May 15, 2019, 10:50:32 pm »
I'm testing out the latest version of the Leaflet library that provides our map functionality on the tmtest.teresco.org server.  All seems good to me, but I'd like a few more pairs of eyes trying things out and making sure nothing seems to have broken.  I'd like to upgrade the version used by the production server as soon as I can.  Please report in this thread if you try it out and whether you notice any differences, good or bad.  Thanks.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4863
  • Last Login:Today at 12:15:33 pm
Re: Leaflet version upgrade
« Reply #1 on: May 17, 2019, 06:40:03 am »
I've checked mapview and hb. Seems to work fine.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 08:50:39 am
Re: Leaflet version upgrade
« Reply #2 on: May 18, 2019, 09:44:37 pm »
The main site is now using Leaflet 1.5.1, the latest release.  So far all looks good to me.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 08:50:39 am
Re: Leaflet version upgrade
« Reply #3 on: August 18, 2023, 01:58:39 pm »
I'm planning to try an update to Leaflet and available map tiles this afternoon.  There's a definite chance I'll break things from time to time.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 08:50:39 am
Re: Leaflet version upgrade
« Reply #4 on: August 18, 2023, 03:33:19 pm »
I've put the latest version on tmdevel.teresco.org and things look to be working.  I'd be happy to have a few people poke around there and let me know if anything looks broken before I move the production TM site and METAL up to the new version.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4863
  • Last Login:Today at 12:15:33 pm
Re: Leaflet version upgrade
« Reply #5 on: August 18, 2023, 03:40:14 pm »
The font size of the map tile selection table is smaller now.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 08:50:39 am
Re: Leaflet version upgrade
« Reply #6 on: August 18, 2023, 04:28:40 pm »
The font size of the map tile selection table is smaller now.

I didn't change it on purpose, guessing it might be due to the new, longer list of options?

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4863
  • Last Login:Today at 12:15:33 pm
Re: Leaflet version upgrade
« Reply #7 on: August 19, 2023, 07:55:14 am »
The font size of the map tile selection table is smaller now.

I didn't change it on purpose, guessing it might be due to the new, longer list of options?

Yep, I think that the red one is longer. You can widen the pane?

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 08:50:39 am
Re: Leaflet version upgrade
« Reply #8 on: August 19, 2023, 05:38:22 pm »
I've updated Leaflet on the production servers for both TM and METAL.  Let me know if you notice any problems.

We are up from 1.7.1 to 1.9.4.  I think there are potentially some efficiency benefits right away (map loads with a lot of data look faster to me), and it looks like there are opportunities to make other improvements by updating some of our code to take advantage of some new ways of dong things in Leaflet.