We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a2fed commit 4473efeCopy full SHA for 4473efe
src/core/symbology-ng/qgslinesymbollayerv2.cpp
@@ -139,6 +139,8 @@ QgsSymbolLayerV2* QgsSimpleLineSymbolLayerV2::create( const QgsStringMap& props
139
//pre 2.5 projects used "width_unit"
140
l->setWidthUnit( QgsSymbolLayerV2Utils::decodeOutputUnit( props["width_unit"] ) );
141
}
142
+ if ( props.contains( "width_map_unit_scale" ) )
143
+ l->setWidthMapUnitScale( QgsSymbolLayerV2Utils::decodeMapUnitScale( props["width_map_unit_scale"] ) );
144
if ( props.contains( "offset" ) )
145
l->setOffset( props["offset"].toDouble() );
146
if ( props.contains( "offset_unit" ) )
0 commit comments