Yes, you blindly copied the code and even didn't look at tha name of the passed variable.
So replace var info = new Infowin(latlng, address); with var info = new Infowin(point, address); and at least this should work. Now you'd need to implement the two graphics to display an infowindow http://www.weheartplaces.com//images/infow-bottom.png http://www.weheartplaces.com//images/infow-top.png and adapt the path in infowin.js to these images. On Jul 7, 8:42 am, Dave_Tenen <[email protected]> wrote: > testing this on a simple map but cannot seem to get it working... > > I'd like to implement custom infowindows, mainly Ben Nolan's one and > to also include a 'close' button. > > link to my map;http://twizla.com.au/test/ > link to bens site;http://bennolan.com/?p=177 > > it says 'latlng is undefined' ??? > > Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
