Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User ClouMob's Avatar
    Join Date
    Aug 2012
    Posts
    2
    Hi,

    I'm developing a web application that provides driving directions from point A to point B and I'm using Nokia Maps java script API 2.2.1 in my project.

    I have managed to get the nokia.maps.routing.Manager() routing results successfully between the two points and route is rendered correctly on the map. However, I would also need the directions also in text format which I intend to display in a <div> on my page.

    Google maps API has a functionality for populating the driving directions to a HTML container, but I did not find any similar functionality from Nokia Maps API. Is there such an API available?
    Last edited by ClouMob; 2012-08-06 at 10:05.

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,671
    I haven't checked the latest version, but I think you should look into what data is given with route segments, I'm rather sure there is the directions given, at least other APIs using same backend are having it there.

  3. #3
    Registered User ClouMob's Avatar
    Join Date
    Aug 2012
    Posts
    2
    All needed data for directions is in routes[0].legs[0].maneuvers[], but I was looking for an API that would translate that into localized readable format. Based on your answer, I assume such API does not exist?

  4. #4
    Nokia Developer Moderator jasfox's Avatar
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    225
    Quote Originally Posted by ClouMob View Post
    I assume such API does not exist?
    I haven't discovered a public natural language guidance API yet, but you can roll your own, you just need to figure out the meaning of the turn codes and action codes buried within the manuever.

    This is an example in English and Spanish.
    http://www.developer.nokia.com/Commu...vanced_Routing
    Jason Fox
    Technical Support Engineer, Maps Platform
    Location & Commerce

    http://developer.here.net/

Similar Threads

  1. What countries is driving directions available in?
    By waelfarouk in forum Maps API for Javascript
    Replies: 2
    Last Post: 2012-05-23, 09:37
  2. *Directions*
    By tjprakashmca in forum Mobile Java General
    Replies: 1
    Last Post: 2009-02-07, 18:26
  3. [announce] Google Directions via PyS60
    By neil.young in forum Python
    Replies: 29
    Last Post: 2008-02-15, 10:55
  4. give me some directions
    By not_this_punk in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2007-01-12, 16:20
  5. both directions synchronization
    By javacard@hotmail.com in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2006-11-19, 04:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved