Browse Source

Update QGCMapUrlEngine for wrong new() constructor (#10551)

_providersTable["Google Labels"] has constructed with GoogleTerrainMapProvider class as wrongly. It have to construct with GoogleLabelsMapProvider class.
QGC4.4
Tevhit Karsli 2 years ago committed by GitHub
parent
commit
e5e23fd433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/QtLocationPlugin/QGCMapUrlEngine.cpp

2
src/QtLocationPlugin/QGCMapUrlEngine.cpp

@ -42,7 +42,7 @@ UrlFactory::UrlFactory() : _timeout(5 * 1000) { @@ -42,7 +42,7 @@ UrlFactory::UrlFactory() : _timeout(5 * 1000) {
_providersTable["Google Satellite"] = new GoogleSatelliteMapProvider(this);
_providersTable["Google Terrain"] = new GoogleTerrainMapProvider(this);
_providersTable["Google Hybrid"] = new GoogleHybridMapProvider(this);
_providersTable["Google Labels"] = new GoogleTerrainMapProvider(this);
_providersTable["Google Labels"] = new GoogleLabelsMapProvider(this);
#endif
_providersTable["Bing Road"] = new BingRoadMapProvider(this);

Loading…
Cancel
Save