Results 1 to 5 of 5

Thread: After destination is reached the navigate icon is still visible

  1. #1
    Etablierter skobbler
    Join Date
    27.11.2014
    Posts
    42

    After destination is reached the navigate icon is still visible

    Hello,

    after starting a route guidance and reaching destination navigate icon is still visible.
    The route guidance is not visible, only the icon.

    Should the navigate icon clear itself?

  2. #2
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    Hi FatihA,

    After reaching the destination, the navigation will continue in free drive (that's the reason why the navigation icon is still visible)
    If you want to stop the free drive you have to set "configuration.continueFreeDriveAfterNavigationEnd = NO"

    Check also the documentation: http://developer.skobbler.com/docs/i...rNavigationEnd

    If the issue is related to something else, please add a screenshot and we will have a look.
    Last edited by Adela_Silvia; 12.01.2015 at 11:49.

  3. #3
    Etablierter skobbler
    Join Date
    27.11.2014
    Posts
    42
    Thank you but I think this method is for iOs.
    I searched it for Android. Sorry I have not mentioned in my previous post.

  4. #4
    Dev platform evangelist dandronic's Avatar
    Join Date
    31.03.2014
    Posts
    177
    On Android if you don't do nothing inside the onDestinationReached callback the navigation will automatically go in free drive and the route will still be visible on the map.

    1. If you'd like to clear the route you need to call SKRouteManager.getInstance().clearCurrentRoute()
    2. If you'd like to stop entering free drive navigation you need to call SKNavigationManager.getInstance().stopNavigation() ;
    3. If you'd like to clear the destination icon - you will need to do that yourself (by removing the destination annotation)

    I'm assuming that by "navigate icon" you are refering to the second scenario - please confirm if that is the case.

  5. #5
    Etablierter skobbler
    Join Date
    27.11.2014
    Posts
    42
    Yes now it's working.
    Before I asking, I have called the function stopNavigation() in a other methog and that did not working.

    Now I'am calling stopNavigation in onDestinationReached and that's works fine.
    Thank you all for you support.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •