Skip to content

Commit

Permalink
3D View: Add support for Ardupilot, detect unavailable map tiles for …
Browse files Browse the repository at this point in the history
…the Bing provider
  • Loading branch information
omid-esrafilian committed Mar 31, 2024
1 parent 6dc056e commit 8541e82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Viewer3D/Viewer3DTileReply.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ void Viewer3DTileReply::timeoutTimerEvent()
// disconnect(_timeoutTimer, &QTimer::timeout, this, &Viewer3DTileReply::timeoutTimerEvent);
// emit tileGiveUp(_tile);
// _timeoutTimer->stop();
// _timeoutTimer->start(15000);
disconnect(_reply, &QNetworkReply::finished, this, &Viewer3DTileReply::requestFinished);
disconnect(_reply, &QNetworkReply::errorOccurred, this, &Viewer3DTileReply::requestError);
disconnect(_timeoutTimer, &QTimer::timeout, this, &Viewer3DTileReply::timeoutTimerEvent);
emit tileGiveUp(_tile);
_timeoutTimer->stop();
}else if(_tile.data.isEmpty()){
emit tileError(_tile);
prepareDownload();
Expand Down

0 comments on commit 8541e82

Please sign in to comment.