mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-01 14:32:54 +08:00
It should be clearer now that the marker etc. should be added inside the .then() block Related to: - https://github.com/driftyco/ionic-native/issues/1444 - https://forum.ionicframework.com/t/ionic-build-android-failed/88742/9
This commit is contained in:
parent
6e2fdf98a2
commit
92468c9b84
@ -403,7 +403,12 @@ export class GoogleMap {
|
|||||||
*
|
*
|
||||||
* // listen to MAP_READY event
|
* // listen to MAP_READY event
|
||||||
* // You must wait for this event to fire before adding something to the map or modifying it in anyway
|
* // You must wait for this event to fire before adding something to the map or modifying it in anyway
|
||||||
* map.one(GoogleMapsEvent.MAP_READY).then(() => console.log('Map is ready!'));
|
* map.one(GoogleMapsEvent.MAP_READY).then(
|
||||||
|
* () => {
|
||||||
|
* console.log('Map is ready!');
|
||||||
|
* // Now you can add elements to the map like the marker
|
||||||
|
* }
|
||||||
|
* );
|
||||||
*
|
*
|
||||||
* // create LatLng object
|
* // create LatLng object
|
||||||
* let ionic: LatLng = new LatLng(43.0741904,-89.3809802);
|
* let ionic: LatLng = new LatLng(43.0741904,-89.3809802);
|
||||||
|
Loading…
Reference in New Issue
Block a user