23 QNetworkRequest request;
24 request.setHeader(QNetworkRequest::UserAgentHeader, userAgent());
32 qWarning(
"Unknown mapId %d\n", spec.mapId());
34 request.setUrl(mapSource->url().arg(spec.zoom()).arg(spec.x()).arg(spec.y()));
36 QNetworkReply *reply = m_networkManager->get(request);
38 return new GeoTiledMapReplyEsri(reply, spec);