mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Merge pull request #1860 from marcel-dancak/getfeatureinfo-bbox-fix
Mapserver: using bbox filter on features in GetFeatureInfo only when BBOX parameter is given
This commit is contained in:
commit
e09437b269
@ -1992,7 +1992,7 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
|
||||
searchRect.set( infoPoint->x() - searchRadius, infoPoint->y() - searchRadius,
|
||||
infoPoint->x() + searchRadius, infoPoint->y() + searchRadius );
|
||||
}
|
||||
else
|
||||
else if ( mParameters.contains( "BBOX" ) )
|
||||
{
|
||||
searchRect = layerRect;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user