mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
docs(GoogleMaps): GoogleMaps.prototype.create is deprecated, so updating docs to use static method.
This commit is contained in:
parent
995fd56894
commit
2da568616d
@ -801,7 +801,7 @@ export const GoogleMapsMapTypeId: { [mapType: string]: MapType; } = {
|
|||||||
* })
|
* })
|
||||||
* export class HomePage {
|
* export class HomePage {
|
||||||
* map: GoogleMap;
|
* map: GoogleMap;
|
||||||
* constructor(private googleMaps: GoogleMaps) { }
|
* constructor() { }
|
||||||
*
|
*
|
||||||
* ionViewDidLoad() {
|
* ionViewDidLoad() {
|
||||||
* this.loadMap();
|
* this.loadMap();
|
||||||
@ -820,7 +820,7 @@ export const GoogleMapsMapTypeId: { [mapType: string]: MapType; } = {
|
|||||||
* }
|
* }
|
||||||
* };
|
* };
|
||||||
*
|
*
|
||||||
* this.map = this.googleMaps.create('map_canvas', mapOptions);
|
* this.map = GoogleMaps.create('map_canvas', mapOptions);
|
||||||
*
|
*
|
||||||
* // Wait the MAP_READY before using any methods.
|
* // Wait the MAP_READY before using any methods.
|
||||||
* this.map.one(GoogleMapsEvent.MAP_READY)
|
* this.map.one(GoogleMapsEvent.MAP_READY)
|
||||||
|
Loading…
Reference in New Issue
Block a user