+1
En revisión
WMS layer definition using javascript code
Would it be possible to add specific WMS layer with javascript hard coding, not turning on the layer from the WMS layer list ? Users can see the layer immediately, without need to turn off other layers from the list.
Servicio de atención al cliente por UserEcho
https://github.com/kubaszostak/mapviewer/blob/gh-pages/js-mapviewer/mapviewer-config.js
You can also add line somwere in your code:
mapViewer.mapServices.add("WMS", "http://wms.gdos.gov.pl/geoserver/wms?", "WMS Map Title");