Commit 502a062
fix(ag-ui): advanced markers ignore clicks — set gmpClickable (#749)
Regression from the AdvancedMarkerElement migration: the legacy
google.maps.Marker was clickable by default, but AdvancedMarkerElement is
NOT — without gmpClickable it never fires click/gmp-click, so the wrapper's
(mapClick) output stays silent and the marker info window (focus + Remove)
never opens. Pass { gmpClickable: true } via the marker [options].
Found by Brian during live review; verified live in Chrome — markers report
gmpClickable=true and clicking opens the info window. (The "use gmp-click"
console hint was this bug's symptom, not noise.)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent b1332d2 commit 502a062
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
| |||
0 commit comments