We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ff2305 commit 30fa3d1Copy full SHA for 30fa3d1
1 file changed
samples/event-simple/index.ts
@@ -36,7 +36,7 @@ async function initMap() {
36
});
37
38
// Zoom in when the marker is clicked.
39
- marker.addListener('gmp-click', () => {
+ marker.addEventListener('gmp-click', () => {
40
innerMap.setZoom(8);
41
innerMap.setCenter(marker.position as google.maps.LatLng);
42
0 commit comments