Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(SebmGoogleMap): support double-click event
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); } } ```
- Loading branch information