Toolbar Panel - Leaflet.js Map serious glitches in MSFS 2024

Firstly, nice job all round, loving what I’m seeing once the login issue was sorted.
That was painful for everyone, but the sim is a great upgrade from my initial impressions, though not without some learning curves.

Anyway, to my first dev issue with MSFS 2024! (update: added two more)

#1
I have a toolbar panel utility using a leaflet map that works simply fine in MSFS 2020. However, in my testing today with the release version I’m getting a bad flickering issue with the map when I load in on the ground. It’s like a black screen flashing every .5 seconds or so, though the timing varies.
Additionally, if I load in the air, it’s reversed, and completely black with the occasional view of the map for a split second.

I’ve been through my code turning off leaflet plugins and functionality but to no avail. Also, as mentioned, this is rock solid stable in MSFS 2020. I am doing some layer updates on timeout loops, but turning them off doesn’t resolve it, so must be a rendering issue somewhere?

Any clues as to why this is happening, as it’s basically a deal killer for my utility?
I’m using a leaflet (and maybe OL) as I need more programmatic access to overlays for a few ideas I have in mind.

#2
Font size in accessibility is locked to 18 at the lower end. That seems rather large on my 2k monitor still, would be great to get that all the way down to 12 or so. It’s really up to the user how they want to scale things.

#3
Along with that is scaling of the in game help. Definitely more readable popups now, but would love to be able to resize them just a touch smaller, as well as maybe transparency controls. Can’t find any settings to do this, unless I missed them?

Thanks!

1 Like

Ah, I see it’s the same issue as this one: MSFS2020 aircraft - Custom map flickering on HTML gauge

@FlyingRaccoon

Still broken in V1.2.7.0 from 10th Dev 2024.

I thought this fix item might be for it but I just tested it and still getting glitches in Leaflet implementation.

• Changed the CoherentGT frame distribution system and views refresh rate to better match MSFS (2020) behavior
From https://forums.flightsimulator.com/t/release-microsoft-flight-simulator-2024-1-2-7-0-available-now/681113

Openlayers is fine. Glad I switched to Openlayers, it’s rocksolid. Please don’t break that, I just launched my add on with OL @ Location Manager 2 for MSFS 2024/2020 - Sonicviz and getting positive feedback on the quality.

But it’s nice to have options, and leaflet is a well used library for many reasons, so supporting it makes sense too.

Leaflet

OpenLayers


1 Like