Hi Esa, I'm trying to implement something similar. From an info window I'd like to load a kml file when a button is clicked.
If you could please take a moment and look at my code I'd appreciate it. http://gce-lter.marsci.uga.edu/public/gis/practice.html I noticed that you drew attention to global, so my guess is that I'm doing something wrong there? Thanks! On Jul 20, 3:19 pm, Esa <[email protected]> wrote: > Try putting this html to yourinfowindow: > > var html = "<buttononclick='map.zoomOut()'> Zoom out </button>"; > > Instead ofbuttonyou can use any html element. And instead of > map.zoomOut() you can call any *global* function. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
