Added centroids function and change visualization.
Change code for use centroid in buffer and routes.