JSLocation
@objc
public class JSLocation : NSObject, LocationJSExport, CLLocationManagerDelegate
Undocumented
-
Undocumented
Declaration
Swift
public var changed: Any { get set } -
Undocumented
Declaration
Swift
public var significent: Bool { get set } -
Undocumented
Declaration
Swift
public var latitude: Double -
Undocumented
Declaration
Swift
public var longitude: Double -
Undocumented
Declaration
Swift
public var altitude: Double -
Undocumented
Declaration
Swift
public func changed(_ action: ((CLLocation) -> Void)? = nil, _ action2: (() -> Void)? = nil) -
Undocumented
Declaration
Swift
public func start() -
Undocumented
Declaration
Swift
public func stop() -
Undocumented
Declaration
Swift
public func getLocation(_ action: @escaping ((Double, Double) -> Void)) -
Undocumented
Declaration
Swift
public func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) -
Undocumented
Declaration
Swift
public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) -
Undocumented
Declaration
Swift
public func create(_ locs: Any) -> [CLLocationCoordinate2D] -
Undocumented
Declaration
Swift
public func distance(_ locs: Any) -> Int -
Undocumented
Declaration
Swift
public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error)
JSLocation Class Reference