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

Canvas2D warning #14954

Open
simbadData opened this issue Jul 29, 2023 · 2 comments · May be fixed by #15497
Open

Canvas2D warning #14954

simbadData opened this issue Jul 29, 2023 · 2 comments · May be fixed by #15497
Labels

Comments

@simbadData
Copy link

I am using openlayers v 7.4.0 when I refresh the page this warning occur :
the Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See:

** const L = h.getImageData(0, 0, a, a).data; **
this line off code had error but still work
if I did something wrong , let me know or please fix this .
thanks a lot

@simbadData simbadData added the bug label Jul 29, 2023
@ahocevar
Copy link
Member

Nothing to worry about. This ist just a hint created by the dev tools. But we tried to get rid of these warnings a while ago. So if you can tell us when this happens, we might be able to make it go away.

@JuxhinB
Copy link

JuxhinB commented Aug 8, 2023

To me occurs when setting the style of a feature after getting it from 'pointermove' event.

Same version: 7.4.0.

Menecats added a commit to Menecats/openlayers that referenced this issue Jan 21, 2024
…ation settings in CanvasLayerRenderer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants