Skip to content
Permalink
Browse files
Corrected some script renaming in WMS provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9496 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Oct 19, 2008
1 parent efba2d8 commit b3ca4eb680d82a4ff5e81599d6abdbf29cdb50a1
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/providers/wms/qgswmsprovider.cpp
@@ -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 += "&";
@@ -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 += "&";
@@ -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";

0 comments on commit b3ca4eb

Please sign in to comment.