add panto function to marker click event