Vue2Leaflet icon indicating copy to clipboard operation
Vue2Leaflet copied to clipboard

Not unique coords

Open tbelina opened this issue 2 years ago • 0 comments

Coords passed by leaflet to createTile method are wrapped and are not unique. LGridLayer component on the other hand treats them as unique which leads to:

  • memory leaks
  • tiles removal on scrolling removes random tiles - actually the one which as last one has been added to tileComponents collection with the same wrapped coordinates

Versions

  • Leaflet: v1.7.1
  • Vue2Leaflet: v2.7.1

tbelina avatar Aug 12 '22 22:08 tbelina