Skip to content

Commit

Permalink
Merge pull request #1860 from marcel-dancak/getfeatureinfo-bbox-fix
Browse files Browse the repository at this point in the history
Mapserver: using bbox filter on features in GetFeatureInfo only when BBOX parameter is given
  • Loading branch information
mhugent committed Feb 20, 2015
2 parents 34a6a36 + 494c36a commit e09437b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgswmsserver.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit e09437b

Please sign in to comment.