| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds two new methods to QDeclarativeGeoMap, to allow users
to add or remove MapItemViews at runtime.
[ChangeLog][QtLocation][Map] Added methods to add or remove MapItemViews
at runtime.
Task-number: QTBUG-55782
Change-Id: I4e612a9476a864331f61d49dac811a8069ae010f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces a new QGeoShape, QGeoPolygon, together
with helper functions in the location singleton (QtPositioning.*)
to create and convert geopolygons from QML.
[ChangeLog][QtPositioning][QGeoPolygon] Added QGeoPolygon shape.
Change-Id: I111c576d7428f2a953f0459d16c25eea7ab2bd7c
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a Q_INVOKABLE setPath overload that takes a QGeoPath.
This can be beneficial when a path is already available and should
be set without going through javascript array conversion.
This method should come handy also when pushing polyline data from
C++.
[ChangeLog][QtLocation][MapPolyline] Added setPath overload taking a
QGeoPath.
Change-Id: I6916500473865b8234b48e8df08dfb465a2a75d2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This method effectively extends the functionalities offered by
the center qml property, allowing to set a coordinate to an item
position other than the center of the item.
This is useful in those applications where the center of the scene
(e.g., a cursor) is not to be place exactly in the center of the map.
[ChangeLog][QtLocation][QDeclarativeGeoMap] Added alignCoordinateToPoint
method to QDeclarativeGeoMap.
Change-Id: I68a3d12e8376b83c4c1775a3af5e2125d3e71d63
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds an overload for setBearing in QDeclarativeGeoMap to
rotate the map around a specific QGeoCoordinate.
[ChangeLog][QtLocation][QDeclarativeGeoMap] Added setBearing overload to
rotate the map around a given QGeoCoordinate.
Change-Id: I5d2428d852b0c3537f4a1cdb1925c059788c45c5
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch enriches QGeoMapType/QDeclarativeGeoMapType embedding into
this object the camera capabilities for this type, that are then exposed
via a new QML Type, CameraCapabilities, and custom metadata in form
of a QVariantMap, that can be accessed via the new metadata property.
[ChangeLog][QtLocation][QDeclarativeGeoMapType] Added CameraCapabilities
and metadata properties to QDeclarativeGeoMapType.
Task-number: QTBUG-58931
Change-Id: I97a8852fbb3bbac88fdbf0d47e8247ea7ed1f31e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch allows to rotate the map by using the scroll wheel in
combination with the Shift key, and to tilt the map in combination
with the Control key.
[ChangeLog][QtLocation][MapGestureArea] Added rotation and tilt
scrollwheel actions.
Change-Id: I1cfdad7615258e75506802ac4f4e71413b71b8ce
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
anchorCoordinateToPoint functionality actually
belongs to QGeoProjection.
Moving it there so that it can be used in other
parts of the module.
Change-Id: Id135a7a4bbe14d9c83ef160682a317e3426b15ac
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
With this, a plugin can programmatically prevent the fetcher from
acessing the network. E.g., by using a QNetworkConfigurationManager.
The change introduced in this patch does however not allow the user to
dynamically enable/disable the fetcher's network access.
For that, additional support, together with public API, is necessary.
Change-Id: I8250cd3dc8d4b2c36ccf243b5ddeab2878b549b4
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I3241efba9c3a32a4a097a67fd6432c45aad8e6ef
|
| |
| |
| |
| |
| |
| | |
Change-Id: I5be4c3af8cedd6755296bc9b445562549784c050
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-61538
Change-Id: Ib1e5cbe1bdcfc324e3e9dcaca7045c9318a5059e
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The documentation clearly states that this property should be
writable but it's not.
Task-number: QTBUG-57419
Change-Id: I1dc93d45ddf52f2e1eee9572f153f4f19916ca2a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch fixes the handling of map_ids, preventing
the plugin from picking the wrong ids when reading
or writing tiles.
This changes also makes the generation of map types
consistent with the other plugin, with the first type
having mapId of 1.
Change-Id: I1562a2bbccacf11958ee22a60e9eee74faa15a2e
Reviewed-by: Thiago Marcos P. Santos <tmpsantos@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
If opengl is not present, now that warnings are error, Location
fails to build due to an unused ogl variable.
Change-Id: Id1e9a1f4da8bc31a65e29b3dd2770250284d02bb
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With this patch is now possible to predict what's the layer name that
the mapboxgl plugin is generating for a specific map item, if that
item has the objectName set.
Change-Id: I7726e44c6b0cc981d30e7725326075025f49af30
Reviewed-by: Thiago Marcos P. Santos <tmpsantos@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently these methods aren't checking if a group is already added
to another map.
This patch fixes it.
Change-Id: I58a5e633b44abfcae5c362f8e97d4c6706869ac5
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch fixes the case when rendering a map with MapQuickItems in it
that have the zoomLevel property not set and using a tilting angle.
Without the patch, in some scenarios the items may stick around on the
screen while they should simply go away.
Change-Id: Ic485ecf5851d27a0248ff1745ae552bbb81423ba
Reviewed-by: Thiago Marcos P. Santos <tmpsantos@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some pointers were used without prior check. This adds checks where
necessary.
Change-Id: I82e01b72fd3a46a6add7cf286e81686b686b272b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Items in map item groups are not reparented anymore.
Change-Id: I1d083bf8cba5aa46e8640c175bf90aa9f04b69aa
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
Links to Location QML element are broken
Change-Id: Iffda8fd8c8cdd9e00e45592ee2f0e971865defb9
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I9d532416e0e6dd06f84216d97bcf160e3e8e43be
Task-number: QTBUG-57690
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ic45f7c8aa819d373e96cf60082fcda95a63f79b8
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I5190564ef3e4a25f1e387c8918ec269a0a52bbea
Task-number: QTBUG-61266
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Icd0e0d4b27cb4e5eb892fffd14b5285d43f4afbf
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I1c09d5a4d34fdb642ed38b32d9e01cf55802195f
Reviewed-by: Thiago Marcos P. Santos <tmpsantos@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][QtLocation][QGeoRouteRequest/RouteQuery] Add
TrafficFeature to the query features.
Change-Id: I50243865da97e302943f43b0eda430e9d8383880
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A way to retrieve the size of the path is missing, as the path property
turns out not to be accessible to QML.
This patch adds a Q_INVOKABLE method to expose it.
[ChangeLog][QtPositioning][QGeoPath] Add ::size() to QGeoPath to
retrieve the number of coordinates in the path.
Change-Id: Ifa7a640113cba71f23e36626a84c8b2fe473a07e
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
src/plugins/geoservices/geoservices.pro
Change-Id: Ie82dd22c588e5cba409fc1ef31a65968ce9f719b
|
| |
| |
| |
| |
| | |
Change-Id: I675167f90579f9999d3e1d3cba42951bd5b7ea3b
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I4067d6df69aad0af9495a29532a34f0a7e992596
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Falling through or breaking have the same effect, since the next case
label repeats the same condition in the "if", which must necessarily be
false for the code to have fallen through.
qdeclarativesearchresultmodel.cpp:632:9: error: this statement may fall through [-Werror=implicit-fallthrough=]
Change-Id: Ia3e896da908f42939148fffd14c48127381f219d
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As currently there is no way to create a pre-filled qgeopath,
this patch adds an overload to QtPositioning.geopath() to pass
parameters to the constructor.
Change-Id: I05af4dbef07bd62e9e2eace7105b5255e8a392fa
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I6db1f0db07de3bb9446f0b04ea95f34b56acf805
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make OpenGL a requirement for the Mapbox GL plugin.
Task-number: QTBUG-61087
Change-Id: I8d8224f14fdff01c03d48991c4ff704d74e70234
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-61070
Change-Id: I610a943e9aeaa2129b87bfd4e4f5afa391bc7c31
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch moves the implementation of the default filenameToTileSpec
and tileSpecToFileName methods into standalone public static methods
so that they can be possibly reused by plugins or other components,
since these implementations do not actually depend on any member of
QGeoFileTileCache.
Change-Id: I6e3f59615ff3a5e0924f946aa13aabebb8157e42
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a MapParamter to specify the default "before" layer for MapItems
that Mapbox GL can render. This can be used for inserting route lines
before labels.
Change-Id: I3ee414ee8af31f38b74c95b3ecc31df6085bed30
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add individual entries for all the Mapbox GL own dependencies
used when building the Mapbox GL plugin.
Task-number: QTBUG-60821
Change-Id: I1da2617eed6eabd3ef35c6b23db3418bf56370a0
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |\
| | |
| | |
| | | |
refs/staging/5.9
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I122bd675639baca961882ec9d512900f4e7e773b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I2444bacedb230101bfef615db1f5c10252b6f367
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Thiago Marcos P. Santos <tmpsantos@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
e0c30279ec1fad88346ed3fb483bc3c672fdd01b in qtdeclarative changed some
private APIs, so we need to adjust code correspondingly.
Task-number: QTBUG-57253
Change-Id: I0cf30b5f4aaf5c040d72a384d87b0fe277a84d27
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The default in Qt was changed back to ANGLE being split into libEGL and
libGLESv2. mapboxgl now supports both both configurations - having two
libraries and combining them into QtANGLE.
Task-number: QTBUG-60795
Change-Id: Id3297ed295b20872bc0693b8cd3596a03e739b98
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Qt builds Android with clang using libstdc++ instead of libc++. This bumps
mapbox-gl-native to a version with a fix that takes that into account.
Task-number: QTBUG-60533
Change-Id: I7379cbb43623a745d221cbcdb8bf748486e6cbac
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using optimize_full gives us -O3 also on icc and clang, and -O3 already
implies -ftree-vectorize, and -ffast-math already implies unsafe-math-
optimizations.
Change-Id: Ieb1a6841da1ea3513ae624bf2468554bc62318c9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
isEmpty should be used instead of !isValid, as 0,0 is a condition
to skip as well.
Change-Id: Ibbfa03b5a09fd0adf4b143d21674870301459f45
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-60881
Change-Id: Iffdcfe1ebfe81da9b809dceeff61fca044e94891
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Explicitly call Q_INIT_RESOURCE, otherwise the resources are not
found and the plugins using resources are broken when building
Qt with -static.
This patch also adds a prefix to these resources to avoid collision,
since they are very generic like "logo.png" or "maps.json".
Task-number: QTBUG-60007
Change-Id: Ifb73e9b97af107f2e24f5478f3de534bbd40e158
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Before this patch parsing time strings with less than 3 digits for number
of milliseconds gave the wrong time result.
Task-number: QTBUG-60814
Change-Id: Iab354bf47c0f7def3752326fe3ef2845d4be31c1
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|