mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
[OAPIF provider] Add workaround for QGIS server 3.10.0
This commit is contained in:
parent
c7f29d501f
commit
2d3414a041
@ -102,6 +102,14 @@ void QgsOapifLandingPageRequest::processReply()
|
||||
apiTypes );
|
||||
}
|
||||
#endif
|
||||
#ifndef REMOVE_SUPPORT_QGIS_SERVER_3_10_0_WRONG_SERVICE_DESC
|
||||
if ( mApiUrl.isEmpty() )
|
||||
{
|
||||
mApiUrl = QgsOAPIFJson::findLink( links,
|
||||
QStringLiteral( "service_desc" ),
|
||||
apiTypes );
|
||||
}
|
||||
#endif
|
||||
|
||||
QStringList collectionsTypes;
|
||||
collectionsTypes << QStringLiteral( "application/json" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user