bug(google-maps): Warning in Console about adding Event-Listener for click instead of gmp-click #30599
Open
1 task done
Labels
area: google-maps
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
No response
Description
I'm getting the following warning in console when I use
@angular/google-maps@19.2.2
:<gmp-advanced-marker>: Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...).
Would this mean the following code should be changed to
gmp-click
as suggested in the warning?components/src/google-maps/map-advanced-marker/map-advanced-marker.ts
Line 136 in 1b721a0
Reproduction
Create a project that uses the
(mapClick)
-Output on a<map-advanced-marker>
Expected Behavior
No warning in console.
Actual Behavior
Warning in console.
Environment
The text was updated successfully, but these errors were encountered: