Skip to content

Commit

Permalink
Corrected some script renaming in WMS provider
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9496 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 19, 2008
1 parent 1ca4f23 commit 7c0bb66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -395,7 +395,7 @@ QImage* QgsWmsProvider::draw( QgsRect const & viewExtent, int pixelWidth, int p
url += "&";
url += "HEIGHT=" + height;
url += "&";
url += "QgsMapLayer::LayerType=" + layers;
url += "LAYERS=" + layers;
url += "&";
url += "STYLES=" + styles;
url += "&";
Expand Down Expand Up @@ -424,7 +424,7 @@ QImage* QgsWmsProvider::draw( QgsRect const & viewExtent, int pixelWidth, int p
mGetFeatureInfoUrlBase += "&";
mGetFeatureInfoUrlBase += "HEIGHT=" + height;
mGetFeatureInfoUrlBase += "&";
mGetFeatureInfoUrlBase += "QgsMapLayer::LayerType=" + layers;
mGetFeatureInfoUrlBase += "LAYERS=" + layers;
mGetFeatureInfoUrlBase += "&";
mGetFeatureInfoUrlBase += "STYLES=" + styles;
mGetFeatureInfoUrlBase += "&";
Expand Down Expand Up @@ -2152,7 +2152,7 @@ QString QgsWmsProvider::identifyAsText( const QgsPoint& point )
QString layer = QUrl::toPercentEncoding( *it );

requestUrl += "&";
requestUrl += "QUERY_QgsMapLayer::LayerType=" + layer ;
requestUrl += "QUERY_LAYERS=" + layer ;
requestUrl += "&";
//! \todo Need to tie this into the options provided by GetCapabilities
requestUrl += "INFO_FORMAT=text/plain";
Expand Down

0 comments on commit 7c0bb66

Please sign in to comment.