À l'étude

WMS layer definition using javascript code

Anonyme il y a 10 ans mis à jour par kuba szostak il y a 10 ans 1
 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.
À l'étude
You can init Your map via mapViewer.config.initConfig. See

You can also add line somwere in your code:
mapViewer.mapServices.add("WMS", "http://wms.gdos.gov.pl/geoserver/wms?", "WMS Map Title");