Skip to content

Wms get feature info

mbarto edited this page Jun 7, 2013 · 1 revision

WMS Get Feature Info is a plugin that adds an OpenLayers WMSGetFeatureInfo button to the toolbar.

Enabling this tool and clicking on the map the user can get information on all WMS active layers.

The configuration is:

  • ptype:"gxp_wmsgetfeatureinfo"
  • toggleGroup: String - the name of the button group mutually exclusive
  • closePrevious: boolean - if true just one popup at time will be shown (only for click). default: true
  • useTabPanel: boolean - get the feature info of the layer in tabs insead of accordion panels (only for click),default: false
  • loadingMask: boolean - show the loading mask while loading get feature info.only for click) (default:true)
  • actionTarget: Object - info about where to place the tool
  • target String - the id of the component (default: paneltbar)
  • index int - the position inside the target component.

Example:

{
    "ptype":"gxp_wmsgetfeatureinfo",
    "toggleGroup":"toolGroup",
    "closePrevious": true,
    "useTabPanel": false,
    "loadingMask": true,
    "actionTarget":{
        "target":"paneltbar",
        "index":20
    }
}