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 map click events:
```
<sebm-google-map
[latitude]="lat"
[longitude]="lng"
(mapClick)="mapClicked($event)">
</sebm-google-map>
```
The $event is a `MapMouseEvent` type that contains
the coords of the click.
```
import {MapMouseEvent} from 'angular2-google-maps/core';
mapClicked(event: MapMouseEvent) {
console.log(event.coords.lat, event.coords.lng);
}
```
0 commit comments