Have a look at adding an onclick event to the button... i.e. <input type="button" class="someClass" value="Something" onclick="javascript:someFunction();"
so if you want the button to zoom in you might say: onclick="javascript:map.setZoom(map.getZoom) + 1);" On Nov 6, 5:29 am, ferquesada <[email protected]> wrote: > I have prepared this example where you can find a "button" in the > infowindow:http://www.sipa.es/prueba_fer/index_prueba.html > > How can I associate an action to that button? For example, changing > the zoom, open a new window, etc. > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
