This commit is contained in:
Max Lynch
2015-11-30 13:27:25 -06:00
parent 2d70c6a3d4
commit 118da948cb
21 changed files with 293 additions and 36 deletions
+2 -1
View File
@@ -9,12 +9,13 @@ declare var window;
plugin: 'cordova-plugin-geolocation',
pluginRef: 'navigator.geolocation'
})
export class Device {
export class Geolocation {
@Cordova()
static getCurrentPosition(options:any){};
@Cordova({
callbackOrder: 'reverse',
observable: true,
clearFunction: 'clearWatch()'
})