diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-02-14 18:20:15 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-04-17 13:02:53 +0000 |
commit | 2782765e20ba3bc6af92375574456fd54d4243f7 (patch) | |
tree | 9a70096fdddcc7d28224d6749dd0c7b0da5bcdbb /src/plugins/geoservices/esri/geotiledmap_esri.h | |
parent | 05edc644337a33e3e72d993b8114efc755a4320a (diff) | |
download | qtlocation-2782765e20ba3bc6af92375574456fd54d4243f7.tar.gz |
Introduce map objects reference implementation
This patch introduces a reference implementation for
the QGeoMapObject subclasses in the locationlabs module.
If this module is built, all current plugins, with
the exception of mapboxgl, will also be able to render
map objects.
The current reference implementation of map objects
is not optimized, but it can be useful for both testing
and feature parity (so that switching between plugins
will give the same result).
Change-Id: I830ebb3813f219e42c085f450952a2b4327361cd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/geoservices/esri/geotiledmap_esri.h')
-rw-r--r-- | src/plugins/geoservices/esri/geotiledmap_esri.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/geoservices/esri/geotiledmap_esri.h b/src/plugins/geoservices/esri/geotiledmap_esri.h index e8b26152..7a21af9a 100644 --- a/src/plugins/geoservices/esri/geotiledmap_esri.h +++ b/src/plugins/geoservices/esri/geotiledmap_esri.h @@ -41,12 +41,18 @@ #define GEOTILEDMAPESRI_H #include <QtLocation/private/qgeotiledmap_p.h> +#ifdef LOCATIONLABS +#include <QtLocation/private/qgeotiledmaplabs_p.h> +typedef QGeoTiledMapLabs Map; +#else +typedef QGeoTiledMap Map; +#endif QT_BEGIN_NAMESPACE class GeoTiledMappingManagerEngineEsri; -class GeoTiledMapEsri: public QGeoTiledMap +class GeoTiledMapEsri: public Map { Q_OBJECT |