Skip to content

Commit b3ca4eb

Browse files
author
mhugent
committed
Corrected some script renaming in WMS provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9496 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent efba2d8 commit b3ca4eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/providers/wms/qgswmsprovider.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ QImage* QgsWmsProvider::draw( QgsRect const & viewExtent, int pixelWidth, int p
395395
url += "&";
396396
url += "HEIGHT=" + height;
397397
url += "&";
398-
url += "QgsMapLayer::LayerType=" + layers;
398+
url += "LAYERS=" + layers;
399399
url += "&";
400400
url += "STYLES=" + styles;
401401
url += "&";
@@ -424,7 +424,7 @@ QImage* QgsWmsProvider::draw( QgsRect const & viewExtent, int pixelWidth, int p
424424
mGetFeatureInfoUrlBase += "&";
425425
mGetFeatureInfoUrlBase += "HEIGHT=" + height;
426426
mGetFeatureInfoUrlBase += "&";
427-
mGetFeatureInfoUrlBase += "QgsMapLayer::LayerType=" + layers;
427+
mGetFeatureInfoUrlBase += "LAYERS=" + layers;
428428
mGetFeatureInfoUrlBase += "&";
429429
mGetFeatureInfoUrlBase += "STYLES=" + styles;
430430
mGetFeatureInfoUrlBase += "&";
@@ -2152,7 +2152,7 @@ QString QgsWmsProvider::identifyAsText( const QgsPoint& point )
21522152
QString layer = QUrl::toPercentEncoding( *it );
21532153

21542154
requestUrl += "&";
2155-
requestUrl += "QUERY_QgsMapLayer::LayerType=" + layer ;
2155+
requestUrl += "QUERY_LAYERS=" + layer ;
21562156
requestUrl += "&";
21572157
//! \todo Need to tie this into the options provided by GetCapabilities
21582158
requestUrl += "INFO_FORMAT=text/plain";

0 commit comments

Comments
 (0)