Skip to content

Commit 3263d1a

Browse files
author
wonder
committedOct 8, 2008
Fix for #670 from Vita Cizek... thanks!
git-svn-id: http://svn.osgeo.org/qgis/trunk@9462 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 928bcc6 commit 3263d1a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ Tom Russo
2626
Tyler Mitchell
2727
Yann Chemin
2828
Marco Pasetti
29+
Vita Cizek

‎src/providers/wms/qgswmsprovider.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,9 @@ QImage* QgsWmsProvider::draw( QgsRect const & viewExtent, int pixelWidth, int p
376376
crsKey = "CRS";
377377
}
378378

379-
QString url = baseUrl;
379+
QString url = mCapabilities.capability.request.getMap.dcpType.front().http.get.onlineResource.xlinkHref;
380380

381+
url += "?";
381382
url += "SERVICE=WMS";
382383
url += "&";
383384
url += "VERSION=" + mCapabilities.version;

0 commit comments

Comments
 (0)
Please sign in to comment.