Polyline and Smartlines now are more smart. centroids and marks