W trakcie analizy

WMS layer definition using javascript code

Anonim 10 lat temu Ostatnio zmodyfikowane przez kuba szostak 10 lat temu 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.
W trakcie analizy
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");