Mapbox Navigation SDK version
The version of Mapbox I am using is Map: 11.25.0, Navigation: 3.25.0, Search: 2.25.0
Steps to reproduce
The version of Mapbox I am using is Map: 11.25.0, Navigation: 3.25.0, Search: 2.25.0. After initiating real navigation, I found that self. mapboxNavigation? .navigation().routeProgress
.sink { status in
let matching = self.mapboxNavigation? .navigation().currentLocationMatching
print("routeProgress: (status != nil), locationMatching: (matching != nil)")
// . ..
}The callback surface of. store (in:&cancellable) will show that after real navigation is enabled, locationMatching is nil. After a period of time (time is not fixed, a few seconds for fast navigation and a few minutes for slow navigation), it returns a value. Is this related to GPS positioning? Or is it related to the internet? Is there any way to deal with this return delay?
Expected behavior
The version of Mapbox I am using is Map: 11.25.0, Navigation: 3.25.0, Search: 2.25.0. After initiating real navigation, I found that self. mapboxNavigation? .navigation().routeProgress
.sink { status in
let matching = self.mapboxNavigation? .navigation().currentLocationMatching
print("routeProgress: (status != nil), locationMatching: (matching != nil)")
// . ..
}The callback surface of. store (in:&cancellable) will show that after real navigation is enabled, locationMatching is nil. After a period of time (time is not fixed, a few seconds for fast navigation and a few minutes for slow navigation), it returns a value. Is this related to GPS positioning? Or is it related to the internet? Is there any way to deal with this return delay?
Actual behavior
The version of Mapbox I am using is Map: 11.25.0, Navigation: 3.25.0, Search: 2.25.0. After initiating real navigation, I found that self. mapboxNavigation? .navigation().routeProgress
.sink { status in
let matching = self.mapboxNavigation? .navigation().currentLocationMatching
print("routeProgress: (status != nil), locationMatching: (matching != nil)")
// . ..
}The callback surface of. store (in:&cancellable) will show that after real navigation is enabled, locationMatching is nil. After a period of time (time is not fixed, a few seconds for fast navigation and a few minutes for slow navigation), it returns a value. Is this related to GPS positioning? Or is it related to the internet? Is there any way to deal with this return delay?
Is this a one-time issue or a repeatable issue?
one-time
Mapbox Navigation SDK version
The version of Mapbox I am using is Map: 11.25.0, Navigation: 3.25.0, Search: 2.25.0
Steps to reproduce
The version of Mapbox I am using is Map: 11.25.0, Navigation: 3.25.0, Search: 2.25.0. After initiating real navigation, I found that self. mapboxNavigation? .navigation().routeProgress
.sink { status in
let matching = self.mapboxNavigation? .navigation().currentLocationMatching
print("routeProgress: (status != nil), locationMatching: (matching != nil)")
// . ..
}The callback surface of. store (in:&cancellable) will show that after real navigation is enabled, locationMatching is nil. After a period of time (time is not fixed, a few seconds for fast navigation and a few minutes for slow navigation), it returns a value. Is this related to GPS positioning? Or is it related to the internet? Is there any way to deal with this return delay?
Expected behavior
The version of Mapbox I am using is Map: 11.25.0, Navigation: 3.25.0, Search: 2.25.0. After initiating real navigation, I found that self. mapboxNavigation? .navigation().routeProgress
.sink { status in
let matching = self.mapboxNavigation? .navigation().currentLocationMatching
print("routeProgress: (status != nil), locationMatching: (matching != nil)")
// . ..
}The callback surface of. store (in:&cancellable) will show that after real navigation is enabled, locationMatching is nil. After a period of time (time is not fixed, a few seconds for fast navigation and a few minutes for slow navigation), it returns a value. Is this related to GPS positioning? Or is it related to the internet? Is there any way to deal with this return delay?
Actual behavior
The version of Mapbox I am using is Map: 11.25.0, Navigation: 3.25.0, Search: 2.25.0. After initiating real navigation, I found that self. mapboxNavigation? .navigation().routeProgress
.sink { status in
let matching = self.mapboxNavigation? .navigation().currentLocationMatching
print("routeProgress: (status != nil), locationMatching: (matching != nil)")
// . ..
}The callback surface of. store (in:&cancellable) will show that after real navigation is enabled, locationMatching is nil. After a period of time (time is not fixed, a few seconds for fast navigation and a few minutes for slow navigation), it returns a value. Is this related to GPS positioning? Or is it related to the internet? Is there any way to deal with this return delay?
Is this a one-time issue or a repeatable issue?
one-time