Getting current distance and time during navigation in here map, Android SDKRouting getIcon missing from api v 2.5.4NewInstructionEventListener skipping some stop over maneuversHow to get distance to waypoint in Navigation ManagerHERE maps SDK iOS - current road element is always nilHere Map SDK OffscreenRenderer add map route glitchHere maps navigation - trace left behindDraw route between points using Here iOS SDK in Swift or Objective-CHERE Android SDK NavigateManager simulate without Map is not giving maneuversHow to provide custom Maneuver Icon in HERE Maps Android premium sdk?Here Maps route : get crossed cities

What (else) happened July 1st 1858 in London?

Can I Retrieve Email Addresses from BCC?

Ridge Regression with Gradient Descent Converges to OLS estimates

How do I extrude a face to a single vertex

How can "mimic phobia" be cured or prevented?

Indicating multiple different modes of speech (fantasy language or telepathy)

Transformation of random variables and joint distributions

Proving a function is onto where f(x)=|x|.

Why is Arduino resetting while driving motors?

Freedom of speech and where it applies

Can someone explain how this makes sense electrically?

THT: What is a squared annular “ring”?

Bob has never been a M before

What does the Rambam mean when he says that the planets have souls?

Drawing a topological "handle" with Tikz

A Permanent Norse Presence in America

Can a significant change in incentives void an employment contract?

What does this horizontal bar at the first measure mean?

On a tidally locked planet, would time be quantized?

Why did the EU agree to delay the Brexit deadline?

Do the concepts of IP address and network interface not belong to the same layer?

Greco-Roman egalitarianism

Can the Supreme Court overturn an impeachment?

Did arcade monitors have same pixel aspect ratio as TV sets?



Getting current distance and time during navigation in here map, Android SDK


Routing getIcon missing from api v 2.5.4NewInstructionEventListener skipping some stop over maneuversHow to get distance to waypoint in Navigation ManagerHERE maps SDK iOS - current road element is always nilHere Map SDK OffscreenRenderer add map route glitchHere maps navigation - trace left behindDraw route between points using Here iOS SDK in Swift or Objective-CHERE Android SDK NavigateManager simulate without Map is not giving maneuversHow to provide custom Maneuver Icon in HERE Maps Android premium sdk?Here Maps route : get crossed cities













0















I am getting distance and time when drawing the route



double distance = m_mapRoute.getRoute ().getLength ();
double time = route.getTtaExcludingTraffic(Route.WHOLE_ROUTE).getDuration ();


Now the question is, i need to know how much distance and time is left to the finish while driving. I don't see any function in maneuver that provides this.










share|improve this question


























    0















    I am getting distance and time when drawing the route



    double distance = m_mapRoute.getRoute ().getLength ();
    double time = route.getTtaExcludingTraffic(Route.WHOLE_ROUTE).getDuration ();


    Now the question is, i need to know how much distance and time is left to the finish while driving. I don't see any function in maneuver that provides this.










    share|improve this question
























      0












      0








      0








      I am getting distance and time when drawing the route



      double distance = m_mapRoute.getRoute ().getLength ();
      double time = route.getTtaExcludingTraffic(Route.WHOLE_ROUTE).getDuration ();


      Now the question is, i need to know how much distance and time is left to the finish while driving. I don't see any function in maneuver that provides this.










      share|improve this question














      I am getting distance and time when drawing the route



      double distance = m_mapRoute.getRoute ().getLength ();
      double time = route.getTtaExcludingTraffic(Route.WHOLE_ROUTE).getDuration ();


      Now the question is, i need to know how much distance and time is left to the finish while driving. I don't see any function in maneuver that provides this.







      here-api






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 13:42









      teshmekiteshmeki

      311




      311






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You should be able to get them from NavigationManger.getTta(Route.TrafficPenaltyMode mode, boolean wholeRoute) and NavigationManger.getDestinationDistance()






          share|improve this answer























          • I got but with some changes long minutes = (m_navigationManager.getTta(Route.TrafficPenaltyMode.OPTIMAL, true).getDuration () % 3600) / 60; But with some problems, if minutes are greater than 60 then it gives me wrong minutes... example if the whole route is 64 minutes then on navigation this function returns 8 minutes

            – teshmeki
            2 days ago











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281813%2fgetting-current-distance-and-time-during-navigation-in-here-map-android-sdk%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You should be able to get them from NavigationManger.getTta(Route.TrafficPenaltyMode mode, boolean wholeRoute) and NavigationManger.getDestinationDistance()






          share|improve this answer























          • I got but with some changes long minutes = (m_navigationManager.getTta(Route.TrafficPenaltyMode.OPTIMAL, true).getDuration () % 3600) / 60; But with some problems, if minutes are greater than 60 then it gives me wrong minutes... example if the whole route is 64 minutes then on navigation this function returns 8 minutes

            – teshmeki
            2 days ago
















          0














          You should be able to get them from NavigationManger.getTta(Route.TrafficPenaltyMode mode, boolean wholeRoute) and NavigationManger.getDestinationDistance()






          share|improve this answer























          • I got but with some changes long minutes = (m_navigationManager.getTta(Route.TrafficPenaltyMode.OPTIMAL, true).getDuration () % 3600) / 60; But with some problems, if minutes are greater than 60 then it gives me wrong minutes... example if the whole route is 64 minutes then on navigation this function returns 8 minutes

            – teshmeki
            2 days ago














          0












          0








          0







          You should be able to get them from NavigationManger.getTta(Route.TrafficPenaltyMode mode, boolean wholeRoute) and NavigationManger.getDestinationDistance()






          share|improve this answer













          You should be able to get them from NavigationManger.getTta(Route.TrafficPenaltyMode mode, boolean wholeRoute) and NavigationManger.getDestinationDistance()







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 days ago









          Jithin KrishnanJithin Krishnan

          844156




          844156












          • I got but with some changes long minutes = (m_navigationManager.getTta(Route.TrafficPenaltyMode.OPTIMAL, true).getDuration () % 3600) / 60; But with some problems, if minutes are greater than 60 then it gives me wrong minutes... example if the whole route is 64 minutes then on navigation this function returns 8 minutes

            – teshmeki
            2 days ago


















          • I got but with some changes long minutes = (m_navigationManager.getTta(Route.TrafficPenaltyMode.OPTIMAL, true).getDuration () % 3600) / 60; But with some problems, if minutes are greater than 60 then it gives me wrong minutes... example if the whole route is 64 minutes then on navigation this function returns 8 minutes

            – teshmeki
            2 days ago

















          I got but with some changes long minutes = (m_navigationManager.getTta(Route.TrafficPenaltyMode.OPTIMAL, true).getDuration () % 3600) / 60; But with some problems, if minutes are greater than 60 then it gives me wrong minutes... example if the whole route is 64 minutes then on navigation this function returns 8 minutes

          – teshmeki
          2 days ago






          I got but with some changes long minutes = (m_navigationManager.getTta(Route.TrafficPenaltyMode.OPTIMAL, true).getDuration () % 3600) / 60; But with some problems, if minutes are greater than 60 then it gives me wrong minutes... example if the whole route is 64 minutes then on navigation this function returns 8 minutes

          – teshmeki
          2 days ago




















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281813%2fgetting-current-distance-and-time-during-navigation-in-here-map-android-sdk%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현