In my application, I have a leaflet map, and I followed a mix of you advanced example and this stack overflow answer to implement an export action of my map.
Every time I click on the button to export, it seems that my map "refreshes". It disappears for a split second and reappears right after it.
Is this the normal behavior?
Additionally, the exported image is occasionally blank or misses half of the map (like it only drew a piece of the map).
Do you happen to know if this issue may be related to performance issues?
Note: I am using Angular v16, and the latest Microsoft Edge version (Version 124.0.2478.80 (Official Build) (64-bit)).
I have also tested in Firefox (125.0.3 (64-bit)) and Google Chrome (Version 124.0.6367.158 (Official Build) (64-bit)).
In my application, I have a leaflet map, and I followed a mix of you advanced example and this stack overflow answer to implement an export action of my map. Every time I click on the button to export, it seems that my map "refreshes". It disappears for a split second and reappears right after it.
Additionally, the exported image is occasionally blank or misses half of the map (like it only drew a piece of the map).
Note: I am using Angular v16, and the latest Microsoft Edge version (Version 124.0.2478.80 (Official Build) (64-bit)). I have also tested in Firefox (125.0.3 (64-bit)) and Google Chrome (Version 124.0.6367.158 (Official Build) (64-bit)).