9QGeoMapReplyOsm::QGeoMapReplyOsm(QNetworkReply *reply,
10 const QGeoTileSpec &spec,
11 const QString &imageFormat,
13: QGeoTiledMapReply(spec, parent)
16 setError(UnknownError, QStringLiteral(
"Null reply"));
19 connect(reply, &QNetworkReply::finished,
20 this, &QGeoMapReplyOsm::networkReplyFinished);
21 connect(reply, &QNetworkReply::errorOccurred,
22 this, &QGeoMapReplyOsm::networkReplyError);
23 connect(
this, &QGeoTiledMapReply::aborted, reply, &QNetworkReply::abort);
24 connect(
this, &QObject::destroyed, reply, &QObject::deleteLater);
25 setMapImageFormat(imageFormat);