×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    5

    How to query Routing distance between 2 given locations

    Hi,
    I am looking for a url to get the distance between Hamburg and Aalen from Germany.

    Multiple REST urls possible, too.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to query Routing distance between 2 given locations

    Hi places API is for places, routing API would be included in the Maps API for javascript. For information on Maps API offerings, you could see: http://www.developer.nokia.com/Develop/Maps/

  3. #3
    Registered User
    Join Date
    Apr 2012
    Posts
    5

    Re: How to query Routing distance between 2 given locations

    I need this function for a php application, without js.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to query Routing distance between 2 given locations

    Basically the link given has the APIs we have.

  5. #5
    Registered User
    Join Date
    Oct 2012
    Posts
    4

    Re: How to query Routing distance between 2 given locations

    hi,
    can we use http requests to have rooting informations between 2 given locations?

  6. #6
    Registered User
    Join Date
    Oct 2012
    Posts
    4

    Re: How to query Routing distance between 2 given locations

    Hi,
    can we extract the route advices to show it in a listview?
    thanks

  7. #7
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to query Routing distance between 2 given locations

    Basically we do not have publicly available any API for getting routes through HTTP calls, thus you would actually need to use the API implementing the service, this case I suppose it is the JavaScript based API which you could use.

    Then using the route out from the API context (i.e. if you do not use the provided map API for showing the route), you should read the terms & conditions carefully, they often do restrict the usage of the service's provided.

    Of course once you show it in a map, there should generally be no problems on additionally showing the legs in listview, in order to help user to go through the route information.

  8. #8
    Registered User
    Join Date
    Oct 2012
    Posts
    4

    Re: How to query Routing distance between 2 given locations

    thank you.
    How can I use javascript to show the route advices in a listview? can i have a tutorial or some code to do that?

  9. #9
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: How to query Routing distance between 2 given locations

    You could check the API documentation, as well as check wiki & playground for examples. There should be a simple routing example, but I would assume there would not be exactly what you are asking for, anyway, check the routing, and once you get results from the query, you could loop them and use them in your list as needed

Similar Threads

  1. Correct folder locations...
    By gardiol in forum Nokia N9
    Replies: 1
    Last Post: 2011-07-23, 12:19
  2. Files storage locations
    By jim416 in forum Mobile Java General
    Replies: 2
    Last Post: 2010-04-23, 08:14
  3. About bitmaps Locations
    By pistha in forum Symbian
    Replies: 3
    Last Post: 2008-03-11, 10:47
  4. Does S60 3rd Ed Emulator Return Different Locations?
    By napperley in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2007-05-08, 00:48

Posting Permissions

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