docs(googlemaps): improve usage

This commit is contained in:
Ibrahim Hadeed 2016-09-06 23:23:51 -04:00
parent dff034a5b6
commit 2aa998f66f
No known key found for this signature in database
GPG Key ID: 0431793F665481A4

View File

@ -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