On Nov 1, 5:45 am, Christopher Watson <[email protected]> wrote: > hey joseph, > > does loading an xml fall into a kml/kmz category?
Your page builds your own infowindows (so you can do what you want in them). If they are created automatically by KmlLayer then google creates the contents. > > is there a easy example of building the infowindow somewhere that i can > integrate javascript? See your script. (hint: you need to wait for the infowindow to be added to the DOM before you can use document.getElementById to access it) -- Larry > > cheers > > Chris Watson > > Portfolio |http://vism.ag/inkplay > Vis Mag |http://vism.ag<http://vism.ag/inkplay> > Creative Maps |http://vism.ag/maps > Blog | Edinburgh Creative > Map<http://visualisationmagazine.com/blogvisualthinkmap/2011/10/edinburgh...> > [image: Twitter] <http://twitter.com/visualthinkmap>tweeted: @CreativeEdin > thx > Follow @visualthinkmap <http://twitter.com/visualthinkmap> Reply > <http://twitter.com/?status=@visualthinkmap%20&in_reply_to_status_id=1...> > Retweet > <http://twitter.com/?status=RT%20%40visualthinkmap%3A%20%40CreativeEdi...> > 17:48 Oct-30<http://twitter.com/visualthinkmap/statuses/130702704514314240> > Get this email app! > <http://www.wisestamp.com/apps/twitter?utm_source=extension&utm_medium...> > > Get a signature like this. > <http://r1.wisestamp.com/r/landing?promo=19&dest=http%3A%2F%2Fwww.wise...> > CLICK > HERE.<http://r1.wisestamp.com/r/landing?promo=19&dest=http%3A%2F%2Fwww.wise...> > > On Mon, Oct 31, 2011 at 5:19 PM, Joseph Elfelt <[email protected]>wrote: > > > > > > > > > Question: Can javascript be used in an infowindow? > > > From a PM I traded with Google staff the answer is: yes and no. > > > Yes - if you are building the infowindow yourself with API calls. > > > No - if you are displaying a KML/KMZ file. > > > -- > > 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. -- 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.
