Hi, I have the same problem : how to add custom content to a infowindow of a maker load from a kml file. Examples are oepning a div whixh is not the infowindow.
Dom On Jun 25, 12:26 am, PeterB <[email protected]> wrote: > Blotto, > > v3 has better tools for those of us who wish to use KML. > See:http://code.google.com/apis/maps/documentation/javascript/examples/la... > > andhttp://code.google.com/apis/maps/documentation/javascript/reference.h... > > The infoWindowHtml option works quite well in maintaining the > <description> tag in your kml > > Peter > > On Jun 23, 7:23 pm, blotto <[email protected]> wrote: > > > > > Hi , > > > I have an onclick event on a DIV element that I wish to trigger an > > InfoWindow.open event on a Marker loaded from a KML Layer. But am at a > > loss as to how to add a listener to each marker in the KML > > featureData, and then trigger it from the DIV. > > > I'm new to API v3, and was able to do this in v2 when loading markers > > and adding event listeners from my own data > > a source. > > > But now I am loading a KML Layer into the viewport, and don't have as > > much control on each object as I did before. > > > Any suggestions? > > > Thanks!- Hide quoted text - > > - Show quoted text - -- 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.
