mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
fix #2674
git-svn-id: http://svn.osgeo.org/qgis/trunk@13849 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
2b4963e00b
commit
3efd24b0a7
@ -2649,10 +2649,9 @@ QStringList QgsWmsProvider::identifyAs( const QgsPoint& point, QString format )
|
||||
// Compose request to WMS server
|
||||
|
||||
QString requestUrl = mGetFeatureInfoUrlBase;
|
||||
QString layer = QUrl::toPercentEncoding( *it );
|
||||
|
||||
//! \todo Need to tie this into the options provided by GetCapabilities
|
||||
requestUrl += QString( "&QUERY_LAYERS=%1" ).arg( layer );
|
||||
requestUrl += QString( "&QUERY_LAYERS=%1" ).arg( *it );
|
||||
requestUrl += QString( "&INFO_FORMAT=%1&X=%2&Y=%3" )
|
||||
.arg( format ).arg( point.x() ).arg( point.y() );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user