set timeout function on markers