vue-leaflet/Vue2Leaflet

Not unique coords

tbelina opened this issue · 1 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
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.