×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Nokia Developer Expert
    Join Date
    Oct 2012
    Posts
    5

    Real 'route' URL

    Like m.nokia.me/p?pid=250u0ts2-1c93fd7f318d42c3b7faed31a34c3567 is a real Place details URL, is there an equivalent URL that would send the user to the 'route' view?

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2012
    Posts
    5

    Re: Real 'route' URL

    Would m.nokia.me/p?pid=250u0ts2-1c93fd7f318d42c3b7faed31a34c3567&action=route make sense? There does not appear to be that option.

  3. #3
    Nokia Developer Moderator
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    288

    Re: Real 'route' URL

    The Map Image API is mainly focused on displaying a simple map in response to a URL. A Maps Image API place request is either:
    a) forwarded to maps.nokia.com e.g. http://maps.nokia.com/france/straats...faed31a34c3567
    b) returns a filled in a template from the RESTful Places API e.g. http://demo.places.nlp.nokia.com/pla...dGIW4yg&pretty

    Neither of these endpoints do routing directly - you'd have to make another call - on the maps.nokia.com for example you can click on "Get Directions" to plan a route.
    This leads to the next problem - where do you want the route to go from? What routing options to you want to make? By Car? Walking? Fastest Route? shortest route? etc

    Assuming you want to go from the current location of the device to the place, your best bet would be to use the position geocoodinate from the places response, and obtain a current location from the device or browser, then use these two locations as a pair of waypoints as shown here:

    http://api.maps.nokia.com/en/directi...mentation.html

Similar Threads

  1. How to Route on Nokia Map API
    By Arif_Mubashir in forum Maps API for Java ME
    Replies: 3
    Last Post: 2012-05-15, 13:36
  2. Route Map is not working...
    By Ulala in forum [Archived] Maps API for Javascript
    Replies: 6
    Last Post: 2012-03-19, 20:12
  3. Playing real audio file in Real Player
    By say2paul in forum Symbian C++
    Replies: 4
    Last Post: 2009-05-07, 16:43
  4. route and record route on 3rd edition
    By jcaradec in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2007-04-16, 19:07
  5. Record-Route and Route at SIP
    By mhappenhofer in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-11-30, 09:22

Posting Permissions

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