Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
|
@@ -1042,7 +1042,7 @@ bool QgsMapToolIdentify::identifyRasterLayer( QList<IdentifyResult> *results, Qg |
|
|
} |
|
|
|
|
|
// list of feature stores for a single sublayer |
|
|
const QgsFeatureStoreList featureStoreList = it.value().value<QgsFeatureStoreList>(); |
|
|
const QgsFeatureStoreList featureStoreList = value.value<QgsFeatureStoreList>(); |
|
|
|
|
|
for ( const QgsFeatureStore &featureStore : featureStoreList ) |
|
|
{ |
|
|
|
@@ -883,7 +883,7 @@ QgsRasterIdentifyResult QgsAmsProvider::identify( const QgsPointXY &point, QgsRa |
|
|
params[QStringLiteral( "featureType" )] = attributesMap[resultMap[QStringLiteral( "displayFieldName" )].toString()].toString(); |
|
|
store.setParams( params ); |
|
|
store.addFeature( feature ); |
|
|
entries.insert( entries.size(), QVariant::fromValue( QList<QgsFeatureStore>() << store ) ); |
|
|
entries.insert( entries.size(), QVariant::fromValue( QgsFeatureStoreList() << store ) ); |
|
|
} |
|
|
} |
|
|
return QgsRasterIdentifyResult( format, entries ); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.