Under review

WMS layer definition using javascript code

Anonymous 6 years ago updated by kuba.szostak 6 years ago 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.
Under review
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");