var nordeca = nordeca || {}; (function(){nordeca.location = nordeca.getParam("location"); nordeca.zoomlevels = { '1':'2799.9999999999995', '2':'1399.9999999999998', '3':'560.0', '4':'280.0', '5':'140.0', '6':'70.0', '7':'27.999999999999996', '8':'13.999999999999998', '9':'6.999999999999999', '10':'2.8', '11':'1.4' } console.log(nordeca.getParam("debug")); nordeca.config = nordeca.getParam("debug")!==undefined?{ map: { div: 'map', units: "meter", numZoomLevels: 11, resolutions: [2799.9999999999995, 1399.9999999999998, 560.0, 280.0, 140.0, 70.0, 27.999999999999996, 13.999999999999998, 6.999999999999999, 2.8, 1.4] }, layers: { skyggesender: { name: "SkyggeSendere", url: "GeoServerProxyServlet?location=" + nordeca.getParam("location"), preferances: { LAYERS: 'ntv_skyggesendere', transparent: true }, options: { buffer: 0, isBaseLayer: false, maxResolution: nordeca.zoomlevels["3"] } }, sendere: { name: "Sendere", url: "GeoServerProxyServlet?location=" + nordeca.getParam("location"), preferances: { LAYERS: 'ntv_sendere', transparent: true }, options: { buffer: 0, isBaseLayer: false, maxResolution: nordeca.zoomlevels["3"] } }, ltesender: { name: "LteSender", url: "GeoServerProxyServlet?location=" + nordeca.getParam("location"), preferances: { LAYERS: 'ntv_ltesenders_obj', transparent: true }, options: { buffer: 0, isBaseLayer: false, maxResolution: nordeca.zoomlevels["3"] } }, background:{ ntv:{ urls:[ "GeoServerBackgroundProxyServlet?location=" + nordeca.location ] }, rikstv:{ urls:[ "GeoServerBackgroundProxyServlet?location=" + nordeca.location ] } } }, style: { 0: {externalGraphic: "https://li-static.nordeca.com/icons/ntv/beste_sender.png", graphicHeight: 28, graphicWidth: 28}, 1: {externalGraphic: "../img/marker-blue.png"}, 2: {externalGraphic: "https://li-static.nordeca.com/icons/ntv/pin.png", graphicHeight: 28, graphicWidth: 28} }, styleMap: { fillOpacity: 1, pointRadius: 20 }, location:nordeca.getParam("location"), version:"test" }:{ map: { div: 'map', units: "meter", numZoomLevels: 11, resolutions: [2799.9999999999995, 1399.9999999999998, 560.0, 280.0, 140.0, 70.0, 27.999999999999996, 13.999999999999998, 6.999999999999999, 2.8, 1.4] }, layers: { skyggesender: { name: "SkyggeSendere", url: "GeoServerProxyServlet?location=" + nordeca.getParam("location"), preferances: { LAYERS: 'ntv_skyggesendere', transparent: true }, options: { buffer: 1, isBaseLayer: false, maxResolution: nordeca.zoomlevels["3"], transitionEffect: null } }, sendere: { name: "Sendere", url: "GeoServerProxyServlet?location=" + nordeca.getParam("location"), preferances: { LAYERS: 'ntv_sendere', transparent: true }, options: { buffer: 1, isBaseLayer: false, maxResolution: nordeca.zoomlevels["3"], transitionEffect: null } }, ltesender: { name: "LteSender", url: "GeoServerProxyServlet?location=" + nordeca.getParam("location"), preferances: { LAYERS: 'ntv_ltesenders_obj', transparent: true }, options: { buffer: 1, isBaseLayer: false, maxResolution: nordeca.zoomlevels["3"], transitionEffect: null } }, background:{ ntv:{ urls:[ "https://cf-tiles-ntv-ntv.nordeca.com/geoserver_ntv/gwc/service/wms" ] }, rikstv:{ urls:[ "https://cf-tiles-ntv-rikstv.nordeca.com/geoserver_ntv/gwc/service/wms" ] } } }, style: { 0: {externalGraphic: "https://li-static.nordeca.com/icons/ntv/beste_sender.png", graphicHeight: 28, graphicWidth: 28}, 1: {externalGraphic: "../img/marker-blue.png"}, 2: {externalGraphic: "https://li-static.nordeca.com/icons/ntv/pin.png", graphicHeight: 28, graphicWidth: 28} }, styleMap: { fillOpacity: 1, pointRadius: 20 }, location:nordeca.getParam("location"), version:"2023-04-18:0529" }; })();