From 2aa998f66ffdd5b3e12f7b8d477036adc8f0392a Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Tue, 6 Sep 2016 23:23:51 -0400 Subject: [PATCH] docs(googlemaps): improve usage --- src/plugins/googlemaps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/googlemaps.ts b/src/plugins/googlemaps.ts index 482d91f34..8cf306326 100644 --- a/src/plugins/googlemaps.ts +++ b/src/plugins/googlemaps.ts @@ -60,7 +60,7 @@ export const GoogleMapsAnimation = { * let map = new GoogleMap(mapElement); * * // listen to MAP_READY event - * map.on(GoogleMapsEvent.MAP_READY).subscribe(() => console.log('Map is ready!')); + * map.one(GoogleMapsEvent.MAP_READY).subscribe(() => console.log('Map is ready!')); * * * // create LatLng object