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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Flounder 6.0.1
    • Navigation
    • None

      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?

       

       

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

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

              Created:
              Updated:
              Resolved: