@rnmapbox/maps 10.1.26 → 10.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -521,7 +521,7 @@ class RNMBXLocationModule: RCTEventEmitter, LocationProviderRNMBXDelegate {
|
|
|
521
521
|
locationProvider.setDistanceFilter(minDisplacement)
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
|
-
|
|
524
|
+
|
|
525
525
|
@objc func setRequestsAlwaysUse(_ requestsAlwaysUse: Bool) {
|
|
526
526
|
if let locationProvider = locationProvider as? LocationProviderRNMBX {
|
|
527
527
|
locationProvider.setRequestsAlwaysUse(requestsAlwaysUse)
|
|
@@ -276,7 +276,15 @@ class RNMBXLocationModule: RCTEventEmitter {
|
|
|
276
276
|
throttler.waitBetweenEvents = nil
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
|
|
279
|
+
|
|
280
|
+
@objc func setRequestsAlwaysUse(_ requestsAlwaysUse: Bool) {
|
|
281
|
+
// V11TODO
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@objc func simulateHeading(_ changesPerSecond: NSNumber, increment: NSNumber) {
|
|
285
|
+
// V11TODO
|
|
286
|
+
}
|
|
287
|
+
|
|
280
288
|
@objc
|
|
281
289
|
override func startObserving() {
|
|
282
290
|
super.startObserving()
|
|
@@ -29,8 +29,9 @@ class InitWaiter<Type> {
|
|
|
29
29
|
/// call whan the object has inited, queued calls will be executed
|
|
30
30
|
func onInit(_ object: Type) {
|
|
31
31
|
self.object = object
|
|
32
|
-
|
|
32
|
+
let oldWaiters = waiters
|
|
33
33
|
waiters = []
|
|
34
|
+
oldWaiters.forEach { $0(object) }
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
/// reset, calls will be queued again
|