On Apr 21, 8:25 am, ". Emanuele ." <[email protected]> wrote: > Hi, I am using an external kml file to display some items in my map. I would > like to personalize the behaviour and the aspect of the baloon that appears > when a user click on an element. At least it would be useful that when a > user click outside the baloon it closes and, if possible, I would like to > change the CSS of it. > I already use the <IconStyle> tag into my KML file to change the icon but I > would like to do more. > How can I do?
You can suppress the automatic infowindow, see suppressInfowindows in the documentation: http://code.google.com/apis/maps/documentation/javascript/reference.html#KmlLayerOptions Then you can add a click listener to the KmlLayer and do whatever you want with the infowindow. -- Larry > Thanks, > Emanuele -- 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.
