Skip to content
Snippets Groups Projects

feat: Add test page (spatial) with mapserver layer in openlayers map

Merged Lene Wasskog requested to merge feature/gridv-6-mapserver-layer into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -55,7 +55,7 @@ function initSpatialMap(lonLat, zoomLevel, mapAttribution) {
@@ -55,7 +55,7 @@ function initSpatialMap(lonLat, zoomLevel, mapAttribution) {
// Create wms source
// Create wms source
var carrotLayerSource = new ol.source.ImageWMS({
var carrotLayerSource = new ol.source.ImageWMS({
url: 'https://testvips.nibio.no/cgi-bin/PSILAROSAE',
url: 'https://testvips.nibio.no/cgi-bin/PSILARTEMP',
params: { 'LAYERS': 'PSILARTEMP_LAYER', 'TRANSPARENT': 'TRUE' },
params: { 'LAYERS': 'PSILARTEMP_LAYER', 'TRANSPARENT': 'TRUE' },
serverType: 'mapserver',
serverType: 'mapserver',
ratio: 1,
ratio: 1,
Loading