Hi Everyone,
I have created a Navigation application by using the Code from Navigation Route example and my routing data using the URL as below;
"https://services.gisqatar.org.qa/server/rest/services/Routing/RouteTime/NAServer/Route"
I am following step by step as per the example. It generates the Stops, Route and starts tracking immediately after tapping the Navigation button but not updating the Status Label and changing the graphic of Travelled Route.
as shown in the screenshot. Actually, after debugging, I notice that it is not entering the AGSRouteTrackerDelegate
and also not generating the voice guidance. I am unable to figure out what mistake is being done.
Starts navigation after executing this code
mapView.locationDisplay.start()
Where as it should enter to delegate code as below;
extension NavigateRouteViewController: AGSRouteTrackerDelegate {
func routeTracker(_ routeTracker: AGSRouteTracker, didGenerateNewVoiceGuidance voiceGuidance: AGSVoiceGuidance) {
setSpeakDirection(with: voiceGuidance.text)
}
I would be very much grateful, if anyone can help me in this regard.
Thanks
Afroz Alam
The Center for GIS, MME,
Qatar