I have the following basic OpenLayers 3 code that opens a OSM background mapping and this works fine:
Hello PMS
I am now looking to bring in a WMS layer from GeoServer with the code below, where would it be placed and what needs to be changed?
var pms = new ol.layer.WMS("PMS", "http://10.0.1.127:8080/geoserver/PMS/wms", {layers: 'PMS:QGIS'} ); map.addLayer(pms);
أكثر...
Hello PMS
I am now looking to bring in a WMS layer from GeoServer with the code below, where would it be placed and what needs to be changed?
var pms = new ol.layer.WMS("PMS", "http://10.0.1.127:8080/geoserver/PMS/wms", {layers: 'PMS:QGIS'} ); map.addLayer(pms);
أكثر...