KOKAProduktion / littlenavmap-openlayers

OpenLayers implementation of the albar965/littlenavmap web service
GNU General Public License v3.0
5 stars 4 forks source link

flickering map tiles, repaint problems #3

Open smitty97 opened 2 years ago

smitty97 commented 2 years ago

After zooming in, the map tiles flicker with different zoom levels; also (not shown in video) portions of my plane icon and its info text do not get erased across the tile boundaries, resulting in a mess that is hard to read

https://youtu.be/b-kmr1jeQHc

KOKAProduktion commented 2 years ago

Hi @smitty97,

thx for checking out this prototype! Yes, this issue is due to the fact that it uses the regular web image output of LNM from version 2.6 which draws both static and dynamic objects on the same image while being used on a tiled map solution. In order to see dynamic objects update (e.g. the aircraft), the images are being reloaded and swapped constantly causing weird looking artifacts. In addition incomplete image loads from the map service result in pixelated outputs.

As a dirty solution atm clicking the refresh button on the right below the aircraft follow button, solves it in most cases for me.

However a more solid solution is on the way in upcoming LNM releases as we've been integrating this into LNM itself. So stay tuned: LNM - OpenLayers Integration Roadmap

The next more stable solution will be available from a future LNM release incorporating https://github.com/albar965/littlenavmap/pull/826

Thx again and cheers!

KOKAProduktion commented 2 months ago

Hi @smitty97,

LNM 3.0 is underway with incorporating this feature along with exciting bugfixes from @u-an-i. You may want to check it out if it suits your needs!

Cheers