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
{{ message }}
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
Now, you can subscribe to double-click events:
```
<sebm-google-map
[latitude]="lat"
[longitude]="lng"
(mapDblClick)="mapClicked($event)">
</sebm-google-map>
```
The $event is a `MapMouseEvent` type that contains
the coords of the double-click.
```
import {MapMouseEvent} from 'angular2-google-maps/core';
class App {
mapClicked(event: MapMouseEvent) {
console.log(event.coords.lat, event.coords.lng);
}
}
```
| mapClick | [MapMouseEvent](#MapMouseEvent) | Gets emitted when the user clicks on the map |
38
+
| mapRightClick | [MapMouseEvent](#MapMouseEvent) | Gets emitted when the user uses a right click on the map. |
39
+
| mapDblClick | [MapMouseEvent](#MapMouseEvent) | Gets emitted when the user double-clicks on the map. Note that the `mapClick` event emitter will also fire, right before this one. |
0 commit comments