Info on google maps

Hi, does anyone know how to program a marker on google maps by pressing a button?