mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-21 12:37:23 +08:00
docs(google-maps): update docs (#1833)
Since the new googlemaps plugin uses the native code, you need to wait for the platform to be ready before loading the map.
This commit is contained in:
parent
39ec5158a0
commit
4942b88873
@ -524,6 +524,10 @@ export const GoogleMapsMapTypeId: { [mapType: string]: MapType; } = {
|
||||
* map: GoogleMap;
|
||||
* mapElement: HTMLElement;
|
||||
* constructor(private googleMaps: GoogleMaps) { }
|
||||
* // Load the map when the platform is ready
|
||||
* this.platform.ready().then(() => {
|
||||
* this.loadMap();
|
||||
* });
|
||||
*
|
||||
* ionViewDidLoad() {
|
||||
* this.loadMap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user