I have a Leaflet Vue map I display in my web app. While everything works properly in other browsers there is a really annoying flickering that happens to elements on top of the map when I zoom on it.
From what I can see in the inspector and online, the map tiles are moved using the translate3D
CSS code, and I can see online it may be related to my issue.
Is there some property I can add somewhere to fix the flickering?
In the example below, the map scale flickers, but even other elements that aren't children of the <l-map>
tag seem affected.
<l-map :zoom="zoom" ref="myMap">
<l-marker :lat-lng="targetLatLng"></l-marker>
<l-control-scale
position="topright"
:metric="true"
:imperial="false"
></l-control-scale>
<l-tile-layer :url="url" :attribution="attribution"></l-tile-layer>
</l-map>
EDIT: I should add that it seems panning the map does augment the probability of the issue happening, which maybe does confirm that the translate3D property has something to do with this