|
|
@ -23,7 +23,7 @@ class GoogleMapProvider : public MapProvider { |
|
|
|
void _googleVersionCompleted(); |
|
|
|
void _googleVersionCompleted(); |
|
|
|
void _replyDestroyed(); |
|
|
|
void _replyDestroyed(); |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
protected: |
|
|
|
// Define the url to Request
|
|
|
|
// Define the url to Request
|
|
|
|
QString _getURL(int x, int y, int zoom, |
|
|
|
QString _getURL(int x, int y, int zoom, |
|
|
|
QNetworkAccessManager* networkManager) ; |
|
|
|
QNetworkAccessManager* networkManager) ; |
|
|
@ -42,3 +42,12 @@ class GoogleMapProvider : public MapProvider { |
|
|
|
QString _versionGoogleTerrain; |
|
|
|
QString _versionGoogleTerrain; |
|
|
|
QString _secGoogleWord; |
|
|
|
QString _secGoogleWord; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class GoogleSatelliteMapProvider : public GoogleMapProvider { |
|
|
|
|
|
|
|
Q_OBJECT |
|
|
|
|
|
|
|
public: |
|
|
|
|
|
|
|
GoogleSatelliteMapProvider(QObject* parent):GoogleMapProvider(parent){} |
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
QString _getURL(int x, int y, int zoom, |
|
|
|
|
|
|
|
QNetworkAccessManager* networkManager); |
|
|
|
|
|
|
|
}; |
|
|
|