From 6c485ed1f63ee21c375b7a81bf8d1babb3e8c483 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Wed, 25 May 2016 00:53:35 -0400 Subject: [PATCH] added docs --- src/plugins/googlemaps.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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',