add LineString element support and sample for this element.