@@ -3093,7 +3093,7 @@ QgsRectangle QgsWMSServer::featureInfoSearchRect( QgsVectorLayer* ml, QgsMapRend
3093
3093
double mapUnitTolerance = 0.0 ;
3094
3094
if ( ml->geometryType () == QGis::Polygon )
3095
3095
{
3096
- QMap<QString, QString>::const_iterator tolIt = mParameters .find ( " POLYGON_TOLERANCE " );
3096
+ QMap<QString, QString>::const_iterator tolIt = mParameters .find ( " FI_POLYGON_TOLERANCE " );
3097
3097
if ( tolIt != mParameters .constEnd () )
3098
3098
{
3099
3099
mapUnitTolerance = tolIt.value ().toInt () * rct.mapToPixel ().mapUnitsPerPixel ();
@@ -3105,7 +3105,7 @@ QgsRectangle QgsWMSServer::featureInfoSearchRect( QgsVectorLayer* ml, QgsMapRend
3105
3105
}
3106
3106
else if ( ml->geometryType () == QGis::Line )
3107
3107
{
3108
- QMap<QString, QString>::const_iterator tolIt = mParameters .find ( " LINE_TOLERANCE " );
3108
+ QMap<QString, QString>::const_iterator tolIt = mParameters .find ( " FI_LINE_TOLERANCE " );
3109
3109
if ( tolIt != mParameters .constEnd () )
3110
3110
{
3111
3111
mapUnitTolerance = tolIt.value ().toInt () * rct.mapToPixel ().mapUnitsPerPixel ();
@@ -3117,7 +3117,7 @@ QgsRectangle QgsWMSServer::featureInfoSearchRect( QgsVectorLayer* ml, QgsMapRend
3117
3117
}
3118
3118
else // points
3119
3119
{
3120
- QMap<QString, QString>::const_iterator tolIt = mParameters .find ( " POINT_TOLERANCE " );
3120
+ QMap<QString, QString>::const_iterator tolIt = mParameters .find ( " FI_POINT_TOLERANCE " );
3121
3121
if ( tolIt != mParameters .constEnd () )
3122
3122
{
3123
3123
mapUnitTolerance = tolIt.value ().toInt () * rct.mapToPixel ().mapUnitsPerPixel ();
0 commit comments