Vue2Leaflet icon indicating copy to clipboard operation
Vue2Leaflet copied to clipboard

L-Icon createIcon every frame

Open glebov21 opened this issue 6 years ago • 6 comments

Description

Hello. Google chrome profiler show me CreateIcon -> SetIcon every frame. How can i prevent this?

Live Demo

https://jsfiddle.net/0b1p72o3/3/

Steps to Reproduce

F12 -> Performance -> Record 4 sec -> Open "Frame" in profile result

Versions

  • Leaflet: v1.5.1
  • Vue: v2.6.10
  • Vue2Leaflet: v2.1.1

glebov21 avatar Jun 26 '19 08:06 glebov21

@GLeBaTi I'll investigate this soon :) sorry for the slow answer.

nmezzopera avatar Jul 24 '19 07:07 nmezzopera

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.

stale[bot] avatar Jan 01 '20 12:01 stale[bot]

I can confirm this is still happening, I noticed because the icon image is requested on each frame.

bLind17 avatar Dec 13 '21 12:12 bLind17

@DonNicoJs Do you have any clue as to why this might be happening? I might find time to look into it, but I have no idea where to start.

bLind17 avatar Jan 03 '22 12:01 bLind17