diff --git a/src/plugins/googlemaps.ts b/src/plugins/googlemaps.ts index 6437c64a2..86cdb96e3 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.one(GoogleMapsEvent.MAP_READY).subscribe(() => console.log('Map is ready!')); + * map.one(GoogleMapsEvent.MAP_READY).then(() => console.log('Map is ready!')); * * * // create LatLng object