-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(SebmGoogleMapMarker): run click event in zone
The markerClick event did not run in the zone. This fixes the behavior and notifies angular to run the change detection.
- Loading branch information
1 parent
592648c
commit 2a3e390
Showing
1 changed file
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2a3e390
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SebastianM why should the click event run in zone. I mean the google maps mvcobject architecture already takes care updating marker so why do we need to update angular too?
P.S: I hope this the right place to ask question. If please let me know I will be happy to remove this comment.