Skip to content

Commit f74f785

Browse files
committedSep 27, 2018
Fixes #19906 - GetMap request with line in the SLD is correctly rendered
1 parent 2275853 commit f74f785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/server/services/wms/qgswmsrenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2493,7 +2493,7 @@ namespace QgsWms
24932493
}
24942494

24952495
// build url for vector layer
2496-
QString typeName = QgsWkbTypes::geometryDisplayString( param.mGeom.type() );
2496+
const QString typeName = QgsWkbTypes::displayString( param.mGeom.wkbType() );
24972497
QString url = typeName + "?crs=" + crs;
24982498
if ( ! param.mLabel.isEmpty() )
24992499
{

0 commit comments

Comments
 (0)
Please sign in to comment.