Polyline revertDirection implemented.