We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 9d15ed8 commit 8af3dd1Copy full SHA for 8af3dd1
src/core/symbology-ng/qgslinesymbollayerv2.cpp
@@ -237,8 +237,12 @@ QgsSymbolLayerV2* QgsMarkerLineSymbolLayerV2::create( const QgsStringMap& props
237
238
QgsMarkerLineSymbolLayerV2* x = new QgsMarkerLineSymbolLayerV2( rotate, interval );
239
if ( props.contains( "offset" ) )
240
+ {
241
x->setOffset( props["offset"].toDouble() );
242
+ }
243
+
244
if ( props.contains( "placement" ) )
245
246
if ( props["placement"] == "vertex" )
247
x->setPlacement( Vertex );
248
else if ( props["placement"] == "lastvertex" )
@@ -249,6 +253,7 @@ QgsSymbolLayerV2* QgsMarkerLineSymbolLayerV2::create( const QgsStringMap& props
249
253
x->setPlacement( CentralPoint );
250
254
else
251
255
x->setPlacement( Interval );
256
252
257
return x;
258
}
259
0 commit comments