Bund
-
Neuigkeiten
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.checkStringArgs=function(a,b,d){if(null==a)throw new TypeError("The 'this' value for String.prototype."+d+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+d+" must not be a regular expression");return a+""};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,d){a!=Array.prototype&&a!=Object.prototype&&(a[b]=d.value)};$jscomp.getGlobal=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,a];for(var b=0;b=g}},"es6","es3");cp.log("cp.adminphp_ol: version 2024-08-16");pagetype=CP_ADMPAGE;mapMode=cp.maps.DENSITY_MODE;valArr1Colors=[new cp.maps.Color(51,102,204)];valArr2Colors=[new cp.maps.Color(0,0,0),new cp.maps.Color(51,102,204)];
valArr3Colors=[new cp.maps.Color(0,0,0),new cp.maps.Color(215,12,10),new cp.maps.Color(33,167,41)];var isCity=!isAdmin;
function init_data(){cp.log("init_data");tableDiv=document.getElementById("admtable");document.getElementById("inforowdiv").innerHTML='';objid&&(doScroll=!1);vizMode!=cp.VIZMODE_DESKTOP&&(objid&&1==lev_num?sym(objid):objid&&showInfoRow(objtype,objid),$("#chartgrid tr").removeAttr("onclick"),$("#chartgrid a").each(function(){$(this).replaceWith($(this).text())}));0<$(".mainsection").length&&setInfoSymbols(".mainsection")}
function unselectInMap(){if(adminLayer){var a=selectedID?adminLayer.getFeaturePropsByID(selectedID):null;if(null!=a){var b={strokeColor:"#000000",zIndex:"adm1"==a.type?3:2,strokeWeight:"adm1"==a.type&&1lev_num?"adm1":"adm"+a),map.setVisibleLayer(adminmode),b||(showID("XXX"),showHTMLInfo(null)),redrawMap(),b=document.getElementById("cb_adm0"))b.firstElementChild.src="/images/icons/"+adminmode+".svg"}else map.setVisibleLayer("c")}
function getCurrLevel(){return adminmode}function changeDate(a){changeDateDisplay(a)&&showHTMLInfoSelected(adminLayer)}
function storeAreas(a,b,d){minlatio&&(io=0);dateTxts=c.cols;if(1==b){for(a=0;a=d&&($("#load_ol").css("display","none"),setInitialMapProps());changeLevel("adm"+b,!0);"undefined"!=typeof startMode&&b>=d&&changeLevel(startMode,!0);1==d&&1>=adminLayer.size()&&!c&&closeMap();loadStep=b}function redrawMap(){if(null!=map){for(var a=0;a'+cp.getLoc(a)+" ("+e+')
';a=a+(''+b+'')+(d+'')+(c+"");a+="
";$("#helptab").after(a)}var admPopSizeDivisor=4E5;
function getSymbolStyle(a,b){b=adminLayer.getFeaturePropsByID(a.getId());if(!b||getCurrLevel()!=b.type&&"c"!=b.type)return cp.maps.Style.cache[cp.maps.Style.UNVIZ];if(map.getMode()==cp.maps.POP_MODE){if(b.valArr&&2<=b.valArr.length){var d=2==b.valArr.length?valArr2Colors:valArr3Colors;a=Math.pow(1.3,map.getZoom());var c=null;0
');$("#mapdiv").remove();$("#mapcontainer").append('