Commit 93bc3694 authored by DonLakeFlyer's avatar DonLakeFlyer

parent 08167246
...@@ -20,6 +20,9 @@ public: ...@@ -20,6 +20,9 @@ public:
~BingMapProvider() = default; ~BingMapProvider() = default;
bool _isBingProvider() const override { return true; }
protected: protected:
const QString _versionBingMaps = QStringLiteral("563"); const QString _versionBingMaps = QStringLiteral("563");
}; };
......
...@@ -89,10 +89,6 @@ int MapProvider::lat2tileY(const double lat, const int z) const { ...@@ -89,10 +89,6 @@ int MapProvider::lat2tileY(const double lat, const int z) const {
2.0 * pow(2.0, z))); 2.0 * pow(2.0, z)));
} }
bool MapProvider::_isElevationProvider() const {
return false;
}
QGCTileSet MapProvider::getTileCount(const int zoom, const double topleftLon, QGCTileSet MapProvider::getTileCount(const int zoom, const double topleftLon,
const double topleftLat, const double bottomRightLon, const double topleftLat, const double bottomRightLon,
const double bottomRightLat) const { const double bottomRightLat) const {
......
...@@ -45,7 +45,8 @@ public: ...@@ -45,7 +45,8 @@ public:
virtual int lat2tileY(const double lat, const int z) const; virtual int lat2tileY(const double lat, const int z) const;
virtual bool _isElevationProvider() const; virtual bool _isElevationProvider() const { return false; }
virtual bool _isBingProvider() const { return false; }
virtual QGCTileSet getTileCount(const int zoom, const double topleftLon, virtual QGCTileSet getTileCount(const int zoom, const double topleftLon,
const double topleftLat, const double bottomRightLon, const double topleftLat, const double bottomRightLon,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment