Location module deprecated.

This commit is contained in:
Nedyalko Nikolov
2015-12-10 14:00:35 +02:00
parent 06c164c747
commit cfad91d2a6
3 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import defModule = require("location");
var defaultGetLocationTimeout = 20000;
@Deprecated
export class Location implements defModule.Location {
public latitude: number;
public longitude: number;
@@ -88,4 +89,4 @@ export var getLocation = function (options?: defModule.Options): Promise<defModu
}, options.timeout || defaultGetLocationTimeout);
}
});
}
}