On Tuesday, December 21, 2010, Planet)x <[email protected]> wrote: > > So now that I have this working ok I just have a small issue. I notice that > when outputting the getfeatureinfo using - > > getfeatureinfo: function(e) { > > and setting the popup html value to e.text then the attributes of my feature > are displayed properly in a table. Now I see that in the html the attributes > are being directly called by variable named such as OwnerName. My question > is.. can I directly access this attribute through the e object because I > attempted to debug it through firebird and navigate the e.features but it > appears empty.. although it obviously is containing my attribute variables > such as OwnerName somewhere.. how do I access this? Thanks for advice!
I'm not sure I understand your question. As I understand it your GFI service outputs HTML, so the GFI control makes the HTML available to you through the e.text property. If you used GML the GFI control would give you features throuh the e.features property. Please clarify, possibly showing us what your GFI responses look like, and what you get in e.text. Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
