thanks phil. now trying to apply sld_body to layer on click (so
feature whose info is returned is highlighted):

var query = {
 click: new OpenLayers.Control.WMSGetFeatureInfo({
  layers: [layer1],
  queryVisible: true
  /* is this where i put this???
  sld_body: sld1 */
 })
};


On 2/26/14, Phil Scadden <[email protected]> wrote:
> I do not think id and fid are stored in attributes. That is where using
> the debugger (I use firebug or chrome developer tools) is better because
> you can examine the structure.
>
> Try looking instead for features[i][fid]
>
> Notice: This email and any attachments are confidential.
> If received in error please destroy and immediately notify us.
> Do not copy or disclose the contents.
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to