I want some sample to show infowindow when pins or features are clicked

Hello,

I want to show info window when pins (billboard) or polylines are clicked.
But I can't find any sample to do so.
Is there any sample to do it?

Ko-hei