added docs

This commit is contained in:
Ibrahim Hadeed 2016-05-25 00:53:35 -04:00
parent cc267038e6
commit 6c485ed1f6

View File

@ -7,6 +7,18 @@ import {CordovaInstance} from './plugin';
declare var plugin: any; declare var plugin: any;
/** /**
* @name Google Maps * @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({ @Plugin({
pluginRef: 'plugin.google.maps', pluginRef: 'plugin.google.maps',