mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
The service parameter is expected in the GetMap request by some servers
(The WMS specification is not 100% clear here)
This commit is contained in:
parent
c85f404d28
commit
9f62b7114e
@ -21,7 +21,7 @@ QString WMSMap::tileUrl(const QString &version) const
|
|||||||
{
|
{
|
||||||
QString url;
|
QString url;
|
||||||
|
|
||||||
url = QString("%1%2version=%3&request=GetMap&bbox=$bbox"
|
url = QString("%1%2service=WMS&version=%3&request=GetMap&bbox=$bbox"
|
||||||
"&width=%4&height=%5&layers=%6&styles=%7&format=%8&transparent=true")
|
"&width=%4&height=%5&layers=%6&styles=%7&format=%8&transparent=true")
|
||||||
.arg(_setup.url(), _setup.url().contains('?') ? "&" : "?", version,
|
.arg(_setup.url(), _setup.url().contains('?') ? "&" : "?", version,
|
||||||
QString::number(_tileSize), QString::number(_tileSize), _setup.layer(),
|
QString::number(_tileSize), QString::number(_tileSize), _setup.layer(),
|
||||||
|
Loading…
Reference in New Issue
Block a user