diff --git a/src/plugins/googlemaps.ts b/src/plugins/googlemaps.ts index fbdd3f7eb..e72859d15 100644 --- a/src/plugins/googlemaps.ts +++ b/src/plugins/googlemaps.ts @@ -7,6 +7,18 @@ import {CordovaInstance} from './plugin'; declare var plugin: any; /** * @name Google Maps + * @description This plugin uses the native Google Maps SDK + * @usage + * ``` + * import {GoogleMaps} from 'ionic-native'; + * + * ... + * + * // somewhere in your component + * let map = new GoogleMaps('elementID'); + * + * map.onInit().subscribe(() => console.log("Map is ready!")); + * ``` */ @Plugin({ pluginRef: 'plugin.google.maps',