From 00c156811f837ce11882cd45381b767f1fe050dc Mon Sep 17 00:00:00 2001 From: ChristopherTotty Date: Fri, 12 May 2017 03:16:14 -0500 Subject: [PATCH] docs(geolocation): fix reference (#1533) --- src/@ionic-native/plugins/geolocation/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/geolocation/index.ts b/src/@ionic-native/plugins/geolocation/index.ts index d8f93f11f..3b1c100d3 100644 --- a/src/@ionic-native/plugins/geolocation/index.ts +++ b/src/@ionic-native/plugins/geolocation/index.ts @@ -174,7 +174,7 @@ export class Geolocation extends IonicNativePlugin { * Observable changes. * * ```typescript - * var subscription = Geolocation.watchPosition() + * var subscription = this.geolocation.watchPosition() * .filter((p) => p.coords !== undefined) //Filter Out Errors * .subscribe(position => { * console.log(position.coords.longitude + ' ' + position.coords.latitude);