[OpenLayers-Users] Get Feature Info from GML Layer (not to a popup)

Frederick Löbig frederick.loebig at live.de
Mon Nov 4 06:23:13 PST 2013


Thanks for the answer. It turned out to be quite easy since the returned object (the selected feature) is contained in "e". So using a function to show the objects properties showed me how to reference to the attributes. For example: I am getting the features ID like this: e.feature.attributes.Id
I had tried this before, but I wrote "id" instead of "Id". 
Thanks again, problem solved.
Cheers,Freddy

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20131104/0a314271/attachment.html>


More information about the Users mailing list