Hi,
After updating to js api 4.10, symbols got such cut off effect (which is ugly). Se attached image.
Research showed that the reason for this is activated WebGL. The same problem applies to both SVG and PNG symbols, both Windows and Mac and different browsers.
To fix it we had to go back to 4.9 and turn off WebGL. We could not turn off WebGL in 4.10.
Is it a known problem?
Denis,
Are you seeing this issue with all browsers? (i.e. Chrome, Firefox and IE) What versions of the browsers are you using?
The same issue appies to
on Mac: * Chrome (Version 71.0.3578.98 (Official Build) (64-bit))
* Firefox 64.0 (64-bit)
* Safari Version 12.0.2 (14606.3.4)
on Windows: I do not use it, but I know my colleagues have the same issue. They used to use the latest versions.
What is the size of your symbols? We're enforcing a max size of 120 px, apparently not documented. We can discuss changing that based on use cases. If the icons are larger than 120px, then please reply with reasons for using sizes larger than that.
The size is smaller then 120px.
The code which defines the size is here:
I think I may have a use case for allowing symbols > 120px:
https://community.esri.com/message/837556
We're currently evaluating changing this threshold. No matter what we set it at, it may feel somewhat arbitrary. Thanks for the feedback.
Unfortunately the bug returned in the JS API 4.21.
In 4.20 it is still working (at least for circle sizes < 120), in 4.21 the symbols are cut off again.
See attached images.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.