Hi Dan, When you receive the result of a GetFeatureInfo, the features are not added to a layer yet so the property layer should be null. You should have a look on others properties of your feature like event.features[i].attributes or event.features[i].type. If the name of the layer isn't in these properties try look directly in the code how the class OpenLayers.Format.WMSGetFeatureInfo parse the result of the request Regards Le 19 juin 2012 à 12:24, vrbikdan a écrit :
Olivier Terral GEOMATIC Ingénierie SA Société du groupe Ringier Chemin des Croisettes 26 1066 Epalinges www.geomatic.ch |
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
