Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38300

OSX: GeoPositionInfo has wrong values when the attribute isn't available

    XMLWordPrintable

Details

    • macOS

    Description

      On OSX with corelocation plugin GeoPositionInfo will give wrong values for the attributes that aren't available.
      For example when using wifi positioning QGeoPositionInfo::Direction and QGeoPositionInfo::GroundSpeed will give -1 instead of nan.

      Values from corelocation plugin:

      QGeoPositionInfo::Direction:          -1
      QGeoPositionInfo::GroundSpeed:        -1
      QGeoPositionInfo::VerticalSpeed:      nan
      QGeoPositionInfo::MagneticVariation:  nan
      QGeoPositionInfo::HorizontalAccuracy: 65
      QGeoPositionInfo::VerticalAccuracy:   80.25
      

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            kileppal Kimmo Leppälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes