Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2012

    How to obtain a route between locations

    What is the correct way to get the route between two points? I've used nokia.mh5.adapters.Route.fetch() and showed route on map by setting as the callback:
    function(route_result) {
       map.route = route_result;
       map.box = route_result.box;
    It works OK locally on my computer in Chrome. But when trying this on Android in WebView I'm getting error: "Go online to use the routing service" (so the function I've mentioned is not called).
    What's wrong? What does really this error mean?

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2012

    Re: How to obtain a route between locations

    Hello m00zg,

    that's a known issue that we'll fix in the next release. A workaround for this is to call

    nokia.mh5.components.settings.set("isOnline", true);
    at the very beginning of your app.


Similar Threads

  1. landmarks locations servers
    By vladest in forum General Development Questions
    Replies: 1
    Last Post: 2011-06-03, 17:42
  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, 11:47
  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, 10: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