camptocamp/cgxp — pull request #226 by kalbermattenm (2012-09-27 08:19:17+00:00)
Title: Add an optional WMS service list to the WMS browser

If ```serverStore``` is defined as an optional array containing WMS service URLs in ```\templates\viewer.js```, then the textfield is converted to a combobox enabling a simpler selection of WMS services.

An example of an array as ```serverStore``` option in the ```cgxp_wmsbrowser``` plugin:

```javascript
serverStore: [
'http://wms.geo.admin.ch/?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.0.0&lang=fr',
'http://cartoserver.vd.ch/ogcccgeo/wms?'
]
```