Hi to all,
I was configuring search panel in qgis-web-cilent following the readmin you
can find on gh

https://github.com/qgis/qgis-web-client

I noticed that search panels are configured statically in GlobalOptions.js
declaring vars as following

var simpleWmsSearch =  {
 /* ... */
  formItems: [
    {
     /* ... */
      fieldLabel: "fieldname",
    }
  ],
  /*... */
  selectionLayer: 'layername',
};

var mapSearchPanelConfigs = {
  "projectname": [simpleWmsSearch]
};

It's ok for a limited number of projects, but what if I wish to make it
indipendent from projects? (so I can have a search panel for any project I
have on the server without touch GlobalOptions.js).
Is there any way to do this dynamically in qgis-web-client or it needs to
be implemented?

Thanks,
-- 
Emilio Loi
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to