@@ -617,18 +617,6 @@ QgsSymbolLayerV2* QgsMarkerLineSymbolLayerV2::create( const QgsStringMap& props
617
617
rotate = ( props[" rotate" ] == " 1" );
618
618
619
619
QgsMarkerLineSymbolLayerV2* x = new QgsMarkerLineSymbolLayerV2 ( rotate, interval );
620
- if ( props.contains ( " width" ) )
621
- {
622
- x->setWidth ( props[" width" ].toDouble () );
623
- }
624
- if ( props.contains ( " width_unit" ) )
625
- {
626
- x->setWidthUnit ( QgsSymbolLayerV2Utils::decodeOutputUnit ( props[" width_unit" ] ) );
627
- }
628
- if ( props.contains ( " width_map_unit_scale" ) )
629
- {
630
- x->setWidthMapUnitScale ( QgsSymbolLayerV2Utils::decodeMapUnitScale ( props[" width_map_unit_scale" ] ) );
631
- }
632
620
if ( props.contains ( " offset" ) )
633
621
{
634
622
x->setOffset ( props[" offset" ].toDouble () );
@@ -1145,9 +1133,6 @@ QgsStringMap QgsMarkerLineSymbolLayerV2::properties() const
1145
1133
map[" rotate" ] = ( mRotateMarker ? " 1" : " 0" );
1146
1134
map[" interval" ] = QString::number ( mInterval );
1147
1135
map[" offset" ] = QString::number ( mOffset );
1148
- map[" width" ] = QString::number ( mWidth );
1149
- map[" width_unit" ] = QgsSymbolLayerV2Utils::encodeOutputUnit ( mWidthUnit );
1150
- map[" width_map_unit_scale" ] = QgsSymbolLayerV2Utils::encodeMapUnitScale ( mWidthMapUnitScale );
1151
1136
map[" offset_along_line" ] = QString::number ( mOffsetAlongLine );
1152
1137
map[" offset_along_line_unit" ] = QgsSymbolLayerV2Utils::encodeOutputUnit ( mOffsetAlongLineUnit );
1153
1138
map[" offset_along_line_map_unit_scale" ] = QgsSymbolLayerV2Utils::encodeMapUnitScale ( mOffsetAlongLineMapUnitScale );
@@ -1195,9 +1180,6 @@ QgsSymbolLayerV2* QgsMarkerLineSymbolLayerV2::clone() const
1195
1180
x->setSubSymbol ( mMarker ->clone () );
1196
1181
x->setOffset ( mOffset );
1197
1182
x->setPlacement ( mPlacement );
1198
- x->setWidth ( mWidth );
1199
- x->setWidthUnit ( mWidthUnit );
1200
- x->setWidthMapUnitScale ( mWidthMapUnitScale );
1201
1183
x->setOffsetUnit ( mOffsetUnit );
1202
1184
x->setOffsetMapUnitScale ( mOffsetMapUnitScale );
1203
1185
x->setIntervalUnit ( mIntervalUnit );
0 commit comments