Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for #670 from Vita Cizek... thanks!
git-svn-id: http://svn.osgeo.org/qgis/trunk@9462 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Oct 8, 2008
1 parent 928bcc6 commit 3263d1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Expand Up @@ -26,3 +26,4 @@ Tom Russo
Tyler Mitchell
Yann Chemin
Marco Pasetti
Vita Cizek
3 changes: 2 additions & 1 deletion src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -376,8 +376,9 @@ QImage* QgsWmsProvider::draw( QgsRect const & viewExtent, int pixelWidth, int p
crsKey = "CRS";
}

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

url += "?";
url += "SERVICE=WMS";
url += "&";
url += "VERSION=" + mCapabilities.version;
Expand Down

0 comments on commit 3263d1a

Please sign in to comment.