Skip to content
Permalink
Browse files
fix last commit - not my day - sorry
  • Loading branch information
jef-n committed May 16, 2012
1 parent 3a252fc commit bfd846a192de1c1da98f8f0b7b89a598c7c5d960
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/providers/wms/qgswmsprovider.cpp
@@ -2936,7 +2936,7 @@ QStringList QgsWmsProvider::identifyAs( const QgsPoint& point, QString format )
++layers, ++styles )
{
// Is sublayer visible?
if ( !mActiveSubLayerVisibility.find( *layers ).value() )
if ( !activeSubLayerVisibility.find( *layers ).value() )
continue;

// Is sublayer queryable?
@@ -2950,12 +2950,12 @@ QStringList QgsWmsProvider::identifyAs( const QgsPoint& point, QString format )
setQueryItem( requestUrl, "VERSION", mCapabilities.version );
setQueryItem( requestUrl, "REQUEST", "GetFeatureInfo" );
setQueryItem( requestUrl, "BBOX", bbox );
setQueryItem( requestUrl, crsKey, mImageCrs );
setQueryItem( requestUrl, "WIDTH", QString::number( mCachedViewWidth ) );
setQueryItem( requestUrl, "HEIGHT", QString::number( mCachedViewHeight ) );
setQueryItem( requestUrl, crsKey, imageCrs );
setQueryItem( requestUrl, "WIDTH", QString::number( cachedViewWidth ) );
setQueryItem( requestUrl, "HEIGHT", QString::number( cachedViewHeight ) );
setQueryItem( requestUrl, "LAYERS", *layers );
setQueryItem( requestUrl, "STYLES", *styles );
setQueryItem( requestUrl, "FORMAT", mImageMimeType );
setQueryItem( requestUrl, "FORMAT", imageMimeType );
setQueryItem( requestUrl, "QUERY_LAYERS", *layers );
setQueryItem( requestUrl, "INFO_FORMAT", format );

0 comments on commit bfd846a

Please sign in to comment.