Polyline can be not editable
Editable toggling sample