diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-10-31 18:04:59 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-11-29 12:52:35 +0000 |
commit | 13189f0741c755bfbde889e91c67c168faa3709f (patch) | |
tree | 1c1c928d49bce1bfea46656df6dfc07ea75a1900 /tests | |
parent | f59d205a670836cc989ab7f50567bcbb47d56c6f (diff) | |
download | qtlocation-13189f0741c755bfbde889e91c67c168faa3709f.tar.gz |
Implement QPlaceManagerEngineMapbox
Implements QtLocation's Places functionality, providing points of
interests (POIs) support based on Mapbox web services APIs [1].
New 'mapbox' plugin features:
- OnlinePlacesFeature
- PlaceRecommendationsFeature
- SearchSuggestionsFeature
- LocalizedPlacesFeature
Place icons are kindly provided via Mapbox Maki under CC0 license [2].
[1] https://www.mapbox.com/api-documentation
[2] https://www.mapbox.com/maki
Change-Id: Ice51abe184908250f584a9c08f70d28e95c30683
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp index 6efa2f92..8ac926d2 100644 --- a/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp +++ b/tests/auto/qgeoserviceprovider/tst_qgeoserviceprovider.cpp @@ -106,7 +106,10 @@ void tst_QGeoServiceProvider::tst_features_data() << QGeoServiceProvider::MappingFeatures(QGeoServiceProvider::OnlineMappingFeature) << QGeoServiceProvider::GeocodingFeatures(QGeoServiceProvider::NoGeocodingFeatures) << QGeoServiceProvider::RoutingFeatures(QGeoServiceProvider::OnlineRoutingFeature) - << QGeoServiceProvider::PlacesFeatures(QGeoServiceProvider::NoPlacesFeatures); + << QGeoServiceProvider::PlacesFeatures(QGeoServiceProvider::OnlinePlacesFeature + | QGeoServiceProvider::PlaceRecommendationsFeature + | QGeoServiceProvider::SearchSuggestionsFeature + | QGeoServiceProvider::LocalizedPlacesFeature); QTest::newRow("here") << QString("here") << QGeoServiceProvider::MappingFeatures(QGeoServiceProvider::OnlineMappingFeature) |