Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L-Icon createIcon every frame #407

Open
glebov21 opened this issue Jun 26, 2019 · 4 comments
Open

L-Icon createIcon every frame #407

glebov21 opened this issue Jun 26, 2019 · 4 comments
Labels
bug confirmed Issue is accepted as either a bug or a valid enhancement help wanted

Comments

@glebov21
Copy link

glebov21 commented Jun 26, 2019

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
@DonNicoJs
Copy link
Member

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

@stale
Copy link

stale bot commented Jan 1, 2020

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 stale bot added the wontfix label Jan 1, 2020
@DonNicoJs DonNicoJs added bug confirmed Issue is accepted as either a bug or a valid enhancement help wanted and removed wontfix labels Jan 1, 2020
@bLind17
Copy link

bLind17 commented Dec 13, 2021

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

@bLind17
Copy link

bLind17 commented Jan 3, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed Issue is accepted as either a bug or a valid enhancement help wanted
Projects
None yet
Development

No branches or pull requests

3 participants