File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import defModule = require("location");
44
55var defaultGetLocationTimeout = 20000 ;
66
7+ @Deprecated
78export class Location implements defModule . Location {
89 public latitude : number ;
910 public longitude : number ;
@@ -88,4 +89,4 @@ export var getLocation = function (options?: defModule.Options): Promise<defModu
8889 } , options . timeout || defaultGetLocationTimeout ) ;
8990 }
9091 } ) ;
91- }
92+ }
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import utils = require("utils/utils");
55
66global . moduleMerge ( common , exports ) ;
77
8+ @Deprecated
89export class LocationManager implements locationModule . LocationManager {
910 get android ( ) : locationModule . AndroidLocationManager {
1011 return this . androidLocationManager ;
@@ -193,6 +194,7 @@ export class LocationManager implements locationModule.LocationManager {
193194 }
194195}
195196
197+ @Deprecated
196198export class AndroidLocationManager implements locationModule . AndroidLocationManager {
197199 private _manager : android . location . LocationManager ;
198200 private _minimumUpdateTime : number ;
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ class LocationListenerImpl extends NSObject implements CLLocationManagerDelegate
5353 }
5454}
5555
56+ @Deprecated
5657export class LocationManager implements locationModule . LocationManager {
5758 get android ( ) : locationModule . AndroidLocationManager {
5859 return undefined ;
@@ -165,6 +166,7 @@ export class LocationManager implements locationModule.LocationManager {
165166}
166167
167168/* tslint:disable */
169+ @Deprecated
168170export class iOSLocationManager implements locationModule . iOSLocationManager {
169171 private _manager : CLLocationManager ;
170172
You can’t perform that action at this time.
0 commit comments