diff options
author | Wolfgang Bremer <wolfgang@w-bremer.de> | 2015-04-20 05:09:09 +0200 |
---|---|---|
committer | Wolfgang Bremer <wolfgang.bremer@pelagicore.com> | 2015-05-08 16:21:33 +0000 |
commit | 3f697f6d73f0a7f10be90f48662f139a33d1781e (patch) | |
tree | 06c7c4066106aebe1ffe8a7fe47bb44656ccde25 /src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h | |
parent | cee1591ffce5ba923375144108075fffd3ea70a7 (diff) | |
download | qtlocation-3f697f6d73f0a7f10be90f48662f139a33d1781e.tar.gz |
Allow custom URLs for OSM tiles
This enables the usage of various mapping services which use the OSM
API for tile distribution. One only needs to set the urlprefix
parameter to a correct url and the activeMapType to the "Custom URL
Map".
Task-number: QTBUG-32937
Change-Id: Ib24da19dc598ccc288047ce2651e6c1792ae2054
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
Diffstat (limited to 'src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h')
-rw-r--r-- | src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h b/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h index fab4f483..c32dbea8 100644 --- a/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h +++ b/src/plugins/geoservices/osm/qgeotiledmappingmanagerengineosm.h @@ -50,6 +50,10 @@ public: ~QGeoTiledMappingManagerEngineOsm(); QGeoMap *createMap(); + QString customCopyright() const; + +private: + QString m_customCopyright; }; QT_END_NAMESPACE |