[Qgis-developer] Qgis-Web-Client Search

Emilio Loi loi at faunalia.it
Mon Mar 18 03:32:33 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130318/d9776f31/attachment.html>


More information about the Qgis-developer mailing list