Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have added the GetFeatureInfo Tool to my Viewer but the PopUp does not have a grid in it to display the Feature Info neatly.

How do I get the grid layout in the Feature Info PopUp, like the one that we are able to see in the popup box in the feature edit tool?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The default format of the WMSGetFeatureInfo plugin is html, which leverages server side templates for the output. If you want the grid format, you have to configure the plugin with the 'format' option set to 'grid':

{
    ptype: 'gxp_wmsgetfeatureinfo',
    format: 'grid'
}

See http://suite.opengeo.org/opengeo-docs/sdk-api/lib/plugins/WMSGetFeatureInfo.html for the full documentation of the WMSGetFeatureInfo plugin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.