Skip to content

Commit

Permalink
Fix conversion of mapbox gl line cap/join styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 9, 2020
1 parent 3ea6dff commit 0f044f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/vectortile/qgsmapboxglstyleconverter.cpp
Expand Up @@ -489,7 +489,7 @@ bool QgsMapBoxGlStyleConverter::parseLineLayer( const QVariantMap &jsonLayer, Qg
Qt::PenJoinStyle penJoinStyle = Qt::MiterJoin;
if ( jsonLayer.contains( QStringLiteral( "layout" ) ) )
{
const QVariantMap jsonLayout = jsonPaint.value( QStringLiteral( "layout" ) ).toMap();
const QVariantMap jsonLayout = jsonLayer.value( QStringLiteral( "layout" ) ).toMap();
if ( jsonLayout.contains( QStringLiteral( "line-cap" ) ) )
{
penCapStyle = parseCapStyle( jsonLayout.value( QStringLiteral( "line-cap" ) ).toString() );
Expand Down

0 comments on commit 0f044f9

Please sign in to comment.