| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_ui/ |
| H A D | tst_map_item_details.qml | 56 { latitude: 25, longitude: 5 }, 57 { latitude: 20, longitude: 10 } 84 { latitude: 25, longitude: 5 }, 85 { latitude: 20, longitude: 10 } 97 longitude: 175 101 longitude: -175 115 longitude: 180 134 longitude: 175 147 { latitude: 20, longitude: 175 }, 148 { latitude: 20, longitude: -175 }, [all …]
|
| H A D | tst_map_coordinateanimation.qml | 64 … coordinateList[coordinateCount] = {'latitude': center.latitude, 'longitude': center.longitude} 71 var lon = coord.longitude / 360.0 + 0.5; 78 return {'latitude': lat, 'longitude': lon}; 90 var from = {'latitude': 58.0, 'longitude': 12.0} 91 var to = {'latitude': 62.0, 'longitude': 24.0} 97 … var delta = (toMerc.latitude - fromMerc.latitude) / (toMerc.longitude - fromMerc.longitude) 100 map.center = QtPositioning.coordinate(from.latitude, from.longitude) 107 map.center = QtPositioning.coordinate(to.latitude, to.longitude) 113 compare(coordinateList[0].longitude, from.longitude) 117 compare(coordinateList[coordinateList.length - 1].longitude, to.longitude) [all …]
|
| H A D | tst_map.qml | 172 compare(map.center.longitude, 11) 192 compare(map.center.longitude, 13) 234 fuzzyCompare(center.longitude, 11, 0.1) 245 fuzzyCompare(center.longitude, -47, 0.1) 255 fuzzyCompare(center.longitude, -47, 0.1) 263 fuzzyCompare(center.longitude, -47, 0.1) 269 fuzzyCompare(center.longitude, -40, 0.1) 271 fuzzyCompare(mapPar.center.longitude, -40, 0.1) 284 compare(map.center.longitude, 20.5) 292 compare(map.center.longitude, -20) [all …]
|
| H A D | tst_map_item_fit_viewport.qml | 73 { latitude: 25, longitude: 5 }, 74 { latitude: 20, longitude: 10 }, 75 { latitude: 15, longitude: 6 } 79 { latitude: 25, longitude: 15 }, 80 { latitude: 20, longitude: 19 }, 81 { latitude: 15, longitude: 16 } 85 { latitude: 25, longitude: 14 }, 86 { latitude: 20, longitude: 18 }, 87 { latitude: 15, longitude: 15 } 175 { latitude: 25, longitude: 5 }, [all …]
|
| H A D | tst_map_flick.qml | 73 flickStartedLatitude = map.center.longitude 170 map.center.longitude = 11 187 compare(map.center.longitude, 11) // should remain the same 207 map.center.longitude = 11 220 compare(map.center.longitude, 11) // should remain the same 240 map.center.longitude = 50 250 verify(map.center.longitude < 50) 252 var moveLongitude = map.center.longitude 257 verify(map.center.longitude < moveLongitude) 263 map.center.longitude = 50 [all …]
|
| H A D | ItemGroup.qml | 37 …property double longitude: (mainRectangle.topLeft.longitude + mainRectangle.bottomRight.longitude)… 51 center: QtPositioning.coordinate(parent.latitude, parent.longitude) 58 topLeft: QtPositioning.coordinate(parent.latitude + 5, parent.longitude - 5) 59 bottomRight: QtPositioning.coordinate(parent.latitude, parent.longitude )
|
| H A D | tst_map_item.qml | 71 { latitude: 22, longitude: 15 }, 72 { latitude: 21, longitude: 16 }, 73 { latitude: 23, longitude: 17 } 86 longitude: 15 104 longitude: 33 175 { latitude: 25, longitude: 5 }, 176 { latitude: 20, longitude: 10 }, 177 { latitude: 15, longitude: 6 } 193 { latitude: 25, longitude: 15 }, 194 { latitude: 20, longitude: 19 }, [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/manual/mapobjects_tester/ |
| H A D | main.qml | 239 { latitude: 76.9965, longitude: -175.012 }, 240 { latitude: 26.9965, longitude: -175.012 } 251 { latitude: 90, longitude: 180 }, 252 { latitude: -90, longitude: -180 } 262 { latitude: 55, longitude: 170 }, 263 { latitude: 66.9965, longitude: -175.012 }, 264 { latitude: 55, longitude: -160 }, 265 { latitude: 40, longitude: -165 }, 266 { latitude: 45, longitude: 178 } 287 { latitude: 19, longitude: 49 }, [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/util/ |
| H A D | normalize_spheroidal_coordinates.hpp | 123 static inline void apply(CoordinateType& longitude) in apply() argument 126 if (math::equals(math::abs(longitude), constants::half_period())) in apply() 128 longitude = constants::half_period(); in apply() 130 else if (longitude > constants::half_period()) in apply() 132 longitude = normalize_up(longitude); in apply() 133 if (math::equals(longitude, -constants::half_period())) in apply() 135 longitude = constants::half_period(); in apply() 138 else if (longitude < -constants::half_period()) in apply() 140 longitude = normalize_down(longitude); in apply() 144 static inline void apply(CoordinateType& longitude, in apply() argument [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/ |
| H A D | qgeorectangle.cpp | 327 topLeft.longitude() == bottomRight.longitude(); in isEmpty() 358 d->bottomRight.setLongitude(topRight.longitude()); in setTopRight() 372 return QGeoCoordinate(d->topLeft.latitude(), d->bottomRight.longitude()); in topRight() 383 d->topLeft.setLongitude(bottomLeft.longitude()); in setBottomLeft() 397 return QGeoCoordinate(d->bottomRight.latitude(), d->topLeft.longitude()); in bottomLeft() 443 double tlLon = center.longitude() - width / 2.0; in setCenter() 445 double brLon = center.longitude() + width / 2.0; in setCenter() 512 double tlLon = c.longitude() - degreesWidth / 2.0; in setWidth() 515 double brLon = c.longitude() + degreesWidth / 2.0; in setWidth() 534 double result = d->bottomRight.longitude() - d->topLeft.longitude(); in width() [all …]
|
| H A D | qgeopath_p.h | 90 double longiFrom = geoFrom.longitude(); in computeBBox() 91 double longiTo = geoTo.longitude(); in computeBBox() 115 m_bbox = QGeoRectangle(QGeoCoordinate(m_maxLati, m_path.at(minId).longitude()), in computeBBox() 116 QGeoCoordinate(m_minLati, m_path.at(maxId).longitude())); in computeBBox() 139 m_bbox = QGeoRectangle(QGeoCoordinate(m_maxLati, m_path.at(0).longitude()), in updateBBox() 140 QGeoCoordinate(m_minLati, m_path.at(0).longitude())); in updateBBox() 149 double longiFrom = geoFrom.longitude(); in updateBBox() 150 double longiTo = geoTo.longitude(); in updateBBox() 161 double currentMinLongi = m_bbox.topLeft().longitude(); in updateBBox() 162 double currentMaxLongi = m_bbox.bottomRight().longitude(); in updateBBox() [all …]
|
| H A D | qgeocoordinate.h | 60 Q_PROPERTY(double longitude READ longitude WRITE setLongitude) 82 QGeoCoordinate(double latitude, double longitude); 83 QGeoCoordinate(double latitude, double longitude, double altitude); 100 void setLongitude(double longitude); 101 double longitude() const;
|
| H A D | qgeocoordinate.cpp | 235 QGeoCoordinate::QGeoCoordinate(double latitude, double longitude) in QGeoCoordinate() argument 242 if (QLocationUtils::isValidLat(latitude) && QLocationUtils::isValidLong(longitude)) { in QGeoCoordinate() 244 d->lng = longitude; in QGeoCoordinate() 260 QGeoCoordinate::QGeoCoordinate(double latitude, double longitude, double altitude) in QGeoCoordinate() argument 267 if (QLocationUtils::isValidLat(latitude) && QLocationUtils::isValidLong(longitude)) { in QGeoCoordinate() 269 d->lng = longitude; in QGeoCoordinate() 388 double QGeoCoordinate::longitude() const in longitude() function in QGeoCoordinate 401 void QGeoCoordinate::setLongitude(double longitude) in setLongitude() argument 403 d->lng = longitude; in setLongitude() 709 double lng = coord.longitude(); in operator <<() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/manual/mapitems_backends/ |
| H A D | main.qml | 185 // { longitude:17.13, latitude: 51.11}, 186 // { longitude:30.54, latitude: 50.42}, 187 // { longitude:26.70, latitude: 58.36}, 188 // { longitude:17.13, latitude: 51.11} 329 { latitude: 76.9965, longitude: -175.012 }, 330 { latitude: 26.9965, longitude: -175.012 } 341 { latitude: 90, longitude: 180 }, 342 { latitude: -90, longitude: -180 } 352 { latitude: 55, longitude: 170 }, 353 { latitude: 66.9965, longitude: -175.012 }, [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/ |
| H A D | geo.hpp | 52 double longitude() const { return lon; } in longitude() function in mbgl::LatLng 112 return (sw.latitude() <= ne.latitude()) && (sw.longitude() <= ne.longitude()); in valid() 116 double west() const { return sw.longitude(); } in west() 118 double east() const { return ne.longitude(); } in east() 127 (sw.longitude() + ne.longitude()) / 2); in center() 136 util::clamp(p.longitude(), sw.longitude(), ne.longitude()) in constrain() 142 std::min(point.longitude(), sw.longitude())); in extend() 144 std::max(point.longitude(), ne.longitude())); in extend() 154 sw.longitude() > ne.longitude(); in isEmpty() 158 return (sw.wrapped().longitude() > ne.wrapped().longitude()); in crossesAntimeridian()
|
| H A D | projection.hpp | 56 …const double constrainedLongitude = util::clamp(latLng.longitude(), -util::LONGITUDE_MAX, util::LO… in projectedMetersForLatLng() 69 double longitude = projectedMeters.easting() * util::RAD2DEG / util::EARTH_RADIUS_M; in latLngForProjectedMeters() local 72 longitude = util::clamp(longitude, -util::LONGITUDE_MAX, util::LONGITUDE_MAX); in latLngForProjectedMeters() 74 return LatLng(latitude, longitude); in latLngForProjectedMeters() 99 util::LONGITUDE_MAX + latLng.longitude(), in project_()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/ |
| H A D | tst_coordinate.qml | 89 …oordinateList[coordinateCount] = QtPositioning.coordinate(coordinate.latitude,coordinate.longitude) 103 compare (testLocation.coordinate.longitude, inside.longitude) 108 compare (testLocation.boundingBox.bottomRight.longitude, br.longitude) 110 compare (testLocation.boundingBox.topLeft.longitude, tl.longitude) 135 empty.longitude = 0.0; 143 compare(base.longitude, 1.0) 149 base.longitude = 2.0; 153 compare(base.longitude, 2.0) 203 compare(coord_0d.longitude < 0.05, true) 204 compare(coord_0d.longitude > -0.05, true) [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/ |
| H A D | normalize.hpp | 51 static inline void apply(CoordinateType const& longitude, in apply() 64 >::apply(longitude, latitude, point_in, point_out); in apply() 84 static inline void apply(CoordinateType const& longitude, in apply() 92 >(longitude)); in apply() 97 >::apply(longitude, latitude, point_in, point_out); in apply() 105 static inline void apply(CoordinateType const& longitude, in apply() 118 >::apply(longitude, latitude, point_in, point_out); in apply() 130 in_coordinate_type longitude = geometry::get<0>(point_in); in apply() local 137 >(longitude, latitude); in apply() 142 >::apply(longitude, latitude, point_in, point_out); in apply()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/ |
| H A D | geo.cpp | 48 bool containsUnwrappedLongitude = point.longitude() >= sw.longitude() && in contains() 49 point.longitude() <= ne.longitude(); in contains() 54 auto ptLon = point.wrapped().longitude(); in contains() 56 return (ptLon >= wrapped.sw.longitude() && in contains() 58 (ptLon <= wrapped.ne.longitude() && in contains() 61 return (ptLon >= wrapped.sw.longitude() && in contains() 62 ptLon <= wrapped.ne.longitude()); in contains()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/manual/mappolyline_tester/ |
| H A D | main.qml | 206 { latitude: 76.9965, longitude: -175.012 }, 207 { latitude: 26.9965, longitude: -175.012 } 218 { latitude: 90, longitude: 180 }, 219 { latitude: -90, longitude: -180 } 231 { latitude: 55, longitude: 170 }, 232 { latitude: 66.9965, longitude: 170 }, 233 { latitude: 66.9965, longitude: -175.012 }, 234 { latitude: 55, longitude: -160 }, 235 { latitude: 40, longitude: -165 }, 236 { latitude: 45, longitude: 174 }, [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/ |
| H A D | qgeomapitemgeometry.cpp | 131 Q_ASSERT(!qFuzzyCompare(fromCoord.longitude(), toCoord.longitude())); in geoDistanceToScreenWidth() 134 double halfGeoDist = toCoord.longitude() - fromCoord.longitude(); in geoDistanceToScreenWidth() 135 if (toCoord.longitude() < fromCoord.longitude()) in geoDistanceToScreenWidth() 139 QLocationUtils::wrapLong(mapMid.longitude() + halfGeoDist)); in geoDistanceToScreenWidth()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_geoshape/ |
| H A D | tst_locationsingleton.qml | 113 compare (box.bottomRight.longitude, br.longitude) // sanity 246 { latitude: -27, longitude: 153.0 }, 247 { latitude: -27, longitude: 154.1 }, 248 { latitude: -28, longitude: 153.5 }, 249 { latitude: -29, longitude: 153.5 } 261 compare(mapPolyline.path[1].longitude, 154.1) 267 compare(mapPolyline.path[1].longitude, 153.5) 273 compare(mapPolyline.path[mapPolyline.path.length-1].longitude, 153.1) 279 compare(mapPolyline.path[mapPolyline.path.length-1].longitude, 153.5) 285 compare(mapPolyline.path[2].longitude, 153.1) [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocoordinate/ |
| H A D | tst_qgeocoordinate.cpp | 98 QFETCH(double, longitude); in constructor_lat_long() 101 QGeoCoordinate c(latitude, longitude); in constructor_lat_long() 106 QCOMPARE(c.longitude(), longitude); in constructor_lat_long() 110 QVERIFY(c.longitude() != longitude); in constructor_lat_long() 144 QFETCH(double, longitude); in constructor_lat_long_alt() 148 QGeoCoordinate c(latitude, longitude, altitude); in constructor_lat_long_alt() 152 QCOMPARE(c.longitude(), longitude); in constructor_lat_long_alt() 157 QVERIFY(c.longitude() != longitude); in constructor_lat_long_alt() 195 QCOMPARE(copy.longitude(), c.longitude()); in copy_constructor() 267 QCOMPARE(c.longitude(), c.longitude()); in assign() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapboxgl/ |
| H A D | qmapboxglstylechange.cpp | 72 return rect.topLeft().longitude() > rect.bottomRight().longitude(); in geoRectangleCrossesDateLine() 78 … QMapbox::Coordinate bottomLeft { rect->bottomLeft().latitude(), rect->bottomLeft().longitude() }; in featureFromMapRectangle() 79 QMapbox::Coordinate topLeft { rect->topLeft().latitude(), rect->topLeft().longitude() }; in featureFromMapRectangle() 80 …QMapbox::Coordinate bottomRight { rect->bottomRight().latitude(), rect->bottomRight().longitude() … in featureFromMapRectangle() 81 QMapbox::Coordinate topRight { rect->topRight().latitude(), rect->topRight().longitude() }; in featureFromMapRectangle() 110 coordinates << QMapbox::Coordinate { coordinate.latitude(), coordinate.longitude() }; in featureFromMapCircle() 121 …if (!coordinates.empty() && crossesDateline && qAbs(coordinate.longitude() - coordinates.last().se… in qgeocoordinate2mapboxcoordinate() 122 …<< QMapbox::Coordinate { coordinate.latitude(), coordinate.longitude() + (coordinate.longitude() >… in qgeocoordinate2mapboxcoordinate() 124 coordinates << QMapbox::Coordinate { coordinate.latitude(), coordinate.longitude() }; in qgeocoordinate2mapboxcoordinate() 155 …if (!coordinates.empty() && crossesDateline && qAbs(coordinate.longitude() - coordinates.last().se… in featureFromMapPolyline() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/ |
| H A D | coordinate.cpp | 14 optional<double> longitude = toDouble(arrayMember(value, 0)); in operator ()() local 16 if (!latitude || !longitude) { in operator ()() 24 return LatLng(*latitude, *longitude); in operator ()()
|