mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-20 01:22:52 +08:00
Changed observable to promise in docs
GoogleMaps.one() returns Promise not Observable
This commit is contained in:
parent
a99b753d2d
commit
e9e37f33f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user