You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using open layer version 4.6.17 and angular version 14. I have a click listener from the map which reads the feature being clicked and after getting the feature extracts the ID of the feature and routes to a component. The issue is the call reaches the called component immediately but there is a delay of 4-10 seconds going to the onInit function of the component. If in the constructor I add NGZone and ChangeDetectorRef and set a timeout for to detect changes the issue vanishes.
I do not understand what is the root cause of this.
The text was updated successfully, but these errors were encountered:
I am using open layer version 4.6.17 and angular version 14. I have a click listener from the map which reads the feature being clicked and after getting the feature extracts the ID of the feature and routes to a component. The issue is the call reaches the called component immediately but there is a delay of 4-10 seconds going to the onInit function of the component. If in the constructor I add NGZone and ChangeDetectorRef and set a timeout for to detect changes the issue vanishes.
I do not understand what is the root cause of this.
The text was updated successfully, but these errors were encountered: