Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1916

Is there any method to know the Country which is driving on left or right?(QtLocation)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Flounder 6.0.1
    • Fix Version/s: None
    • Component/s: Navigation
    • Labels:
      None

      Description

      We use QtLocation to make a navigation application.

      We find there is a difference bettown the left-driving and right-driving country when come across an U-trun. In UK, f.ex. one should rather UTurn Right, but  in USA, one should rather UTurn Left. 

      It is a static number in the current qt source. qtlocation/src/location/maps/qgeorouteparserosrmv5.cpp                                          static QGeoManeuver::InstructionDirection instructionDirection(const QJsonObject &maneuver) 

      else if (modifier == QLatin1String("uturn"))
      return QGeoManeuver::DirectionUTurnRight;
      

      So,is there any method to know the current Country which is driving on left or right?

       

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            yinlu yin lu
            Reporter:
            yinlu yin lu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: