HEX
Server: Apache
System: Linux webm004.cluster123.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: dronicaehy (124008)
PHP: 8.5.0
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/dronicaehy/www/consejeria/imidadata/graphics/KolorMap/js/KolorMap.min.js
(function(){var m=!0,o=null,p=!1;
KolorMap=function(a,c){function d(){var b=document.createElement("div");b.id="mapdiv_m7";b.style.display="none";document.body.appendChild(b);new mxn.Mapstraction("mapdiv_m7","microsoftv7")}this.api=this.api=c;this.domElement=this.domElement=a;this.mxnMap=this.mxnMap=new mxn.Mapstraction(a,c);var f=0,h=new ktools.Map,g=p,e=new ktools.Map,n=o,q=o,s=o,u="",v=0,w="",x="FFFFFF",y="desktop",z=1,A=p,i="",k="",l="",t="",B=p,C=100;this.setMapContainer=this.setMapContainer=function(b){i=b};this.setPanoContainer=
this.setPanoContainer=function(b){k=b};this.setTourContainer=this.setTourContainer=function(b){l=b};this.setMapLayer=this.setMapLayer=function(b){t=b};this.getMxnMap=this.getMxnMap=function(){return this.mxnMap};this.getMarkers=this.getMarkers=function(){return h};this.getRadars=this.getRadars=function(){return e};this.activateMarkersAnimation=this.b=function(b){g=b};this.getActiveMarker=this.getActiveMarker=function(){return n};this.setActiveMarker=this.setActiveMarker=function(b,j,a){"undefined"==
typeof j&&(j=m);"undefined"==typeof a&&(a=m);this.getActiveRadar()&&this.getActiveRadar().hide();this.getActiveMarker()&&this.getActiveMarker().getAttribute("id")!=b&&this.getActiveMarker().closeBubble();g&&this.getActiveMarker()&&this.getActiveMarker().getAttribute("id")!=b&&this.getActiveMarker().getAttribute("animated")&&this.getActiveMarker().stopMarkerAnimation(this.getActiveMarker().getAttribute("id"));b==o?(this.setActiveRadar(o),n=o):(n=this.getMarkers().item(b),q=this.getRadars().item(b),
q!=o&&(this.getMxnMap().changeZoom.fire(),a?q.show():q.hide()),g&&n!=o&&n.getAttribute("animated")&&n.startMarkerAnimation(b),j&&n!=o&&this.getMxnMap().setCenter(n.location,{}))};this.setActiveRadar=this.setActiveRadar=function(b){q=b};this.getActiveRadar=this.getActiveRadar=function(){return q};this.setStartPoint=this.setStartPoint=function(b,j){s={};s.point=b;s.zoom=j};this.getStartPoint=this.getStartPoint=function(){return s};this.setMapPosition=this.setMapPosition=function(b){u=b};this.getMapPosition=
this.getMapPosition=function(){return u};this.setMapSize=this.setMapSize=function(b){v=b};this.getMapSize=this.getMapSize=function(){return v};this.setGraphicsUrl=this.setGraphicsUrl=function(b){w=b};this.getGraphicsUrl=this.getGraphicsUrl=function(){return w};this.setMapZorder=this.setMapZorder=function(b){f=b};this.getMapZorder=this.getMapZorder=function(){return f};this.setMapResizable=this.setMapResizable=function(b){A=b};this.getMapResizable=this.getMapResizable=function(){return A};this.setBgColor=
this.setBgColor=function(b){x=b};this.getBgColor=this.getBgColor=function(){return x};this.setDeviceUsed=this.k=function(b){y=b};this.getDeviceUsed=this.f=function(){return y};this.setDeviceScale=this.j=function(b){z=b};this.getDeviceScale=this.e=function(){return z};this.changeLanguage=this.c=function(){};this.geocodePosition=this.geocodePosition=function(b,j,a,f){var e=this,g=this.api;"microsoft"==this.api&&(g="microsoftv7",d());(new mxn.Geocoder(g,function(b){(typeof f=="undefined"||f)&&e.getMxnMap().setCenterAndZoom(b[0].point,
e.getMxnMap().getZoom());j(b[0].point)},function(){a()})).geocode(b)};this.addRadar=this.addRadar=function(b,j,a){if("undefined"==typeof j)return o;void 0==a&&(a={quality:8,radius:8E3,color:"#FFFFFF",opacity:0.5,width:1,fillColor:"#FFFFFF",fillOpacity:0.3,heading:0,fov:90,linkToZoom:m});j=new mxn.LatLonPoint(j.lat,j.lon);j=new mxn.Radar(j,a);j.setAttribute("id",b);this.getMxnMap().addRadar(j,p);e.add(b,j);a.linkToZoom&&this.getMxnMap().changeZoom.addHandler(function(b,j){var a=this.getActiveRadar();
a!=o&&a.currentZoomLevel!=j.getZoom()&&(a.currentZoomLevel=j.getZoom(),KolorMap.util.rotation(a,a.center,a.currentViewHeading,this.getMxnMap()))},this);j.hide();return j};this.removeRadar=this.removeRadar=function(b){var j=e.item(b);"undefined"==typeof j||j==o||(this.getActiveRadar()==j&&this.setActiveRadar(o),e.remove(b))};this.addMarker=this.addMarker=function(b,j,a,d,f,e,g,k,c,i,l){a=new mxn.Marker(a);"undefined"!=typeof g&&""!=g&&("label"==k?a.setLabel(g):"tooltip"==k?a.setInfoTooltip(g):a.setInfoBubble(g));
"undefined"!=typeof c&&c&&a.setHover(c);"undefined"!=typeof d&&""!=d&&a.setIcon(d,f,e);"undefined"!=typeof i&&i&&a.setDraggable(i);a.setZIndex(C);C++;a.setAttribute("id",b);a.setAttribute("plugName",j);a.setAttribute("animated",l);this.getMxnMap().addMarker(a,p);h.add(b,a);return a};this.removeMarker=this.removeMarker=function(b){var a=h.item(b);"undefined"==typeof a||a==o||(this.getActiveMarker()==a&&this.setActiveMarker(o,p,p),this.getMxnMap().removeMarker(a),h.remove(b))};this.addKmlOverlay=this.addKmlOverlay=
function(b,a){"undefined"==typeof a&&(a=p);this.getMxnMap().addOverlay(b,a);if("microsoftv7"!=this.api){var d=this.getMxnMap().getZoom();this.getMxnMap().setZoom(d)}};this.addImageOverlay=this.addImageOverlay=function(b,a,d,f,g,e,c,k){this.getMxnMap().addImageOverlay(b,a,d,g,f,c,e,k)};this.changeProvider=this.changeProvider=function(b,a){this.getMxnMap().swap(b,a);this.getActiveRadar()&&(this.getActiveRadar().show(),this.setActiveRadar(KolorMap.util.rotation(this.getActiveRadar(),this.getActiveRadar().center,
this.getActiveRadar().currentViewHeading,this.getActiveRadar().mapstraction)))};this.addControls=this.addControls=function(b,a,d,f,g,e){var c={};b&&(c.zoom="small");a&&(c.pan=m);d&&(c.scale=m);f&&(c.map_type=m);g&&(c.overview=m);e&&(e.streetview&&(c.streetview=m),e.view45degree&&(c.view45degree=m));this.getMxnMap().addControls(c)};this.setMapType=this.setMapType=function(b){switch(strtolower(b)){case "satellite":this.getMxnMap().setMapType(mxn.Mapstraction.SATELLITE);break;case "hybrid":this.getMxnMap().setMapType(mxn.Mapstraction.HYBRID);
break;case "physical":this.getMxnMap().setMapType(mxn.Mapstraction.PHYSICAL);break;default:this.getMxnMap().setMapType(mxn.Mapstraction.ROAD)}};this.initMapSize=this.initMapSize=function(){this.getBgColor()||this.setBgColor("F2F2F2");var b="100%",a="100%",d="none",c="0px",f="0px";switch(this.getMapPosition()){case "right":b=this.getMapSize()+"%";a="100%";d="left";c=100-this.getMapSize()+"%";break;case "top":b="100%";a=this.getMapSize()+"%";d="none";break;case "bottom":b="100%";a=this.getMapSize()+
"%";d="none";f=100-this.getMapSize()+"%";break;default:b=this.getMapSize()+"%",a="100%",d="none"}jQuery("#"+i).css({"z-index":this.getMapZorder(),width:b,height:a,"float":d,left:c,top:f,background:"#"+this.getBgColor(),position:"absolute"})};this.initMapLayer=this.initMapLayer=function(b){b&&(t=b);jQuery("#"+t).css({width:"100%",height:"100%",position:"relative"})};this.initResizableMap=this.initResizableMap=function(){B=m;var b=this.getMapPosition(),a=100-this.getMapSize();this.getBgColor()||this.setBgColor("F2F2F2");
var d=0;this.getMapResizable()&&(d=5);var c=jQuery("#"+l).width(),f=jQuery("#"+l).height(),g,e,h;switch(b){case "right":g="w";e="#"+i+" div.ui-resizable-handle { background: #"+this.getBgColor()+" url('"+this.getGraphicsUrl()+"resizey_vert.png') no-repeat center left; width: 5px; height: 100%; left: 0px; }";h="#"+l+" #"+k+" { width: "+a+"%; height: 100%; float: left; position: absolute; }";break;case "top":g="s";e="#"+i+" div.ui-resizable-handle { background: #"+this.getBgColor()+" url('"+this.getGraphicsUrl()+
"resizey_hori.png') no-repeat bottom center; width: 100%; height: 5px; bottom: 0px; }";jQuery("#"+l+" #"+k).css("width","100%");jQuery("#"+l+" #"+k).css("float","none");jQuery("#"+l+" #"+k).css("position","absolute");jQuery("#"+l+" #"+k).css("top",this.getMapSize()+"%");jQuery("#"+l+" #"+k).style("height",a+"%","important");break;case "bottom":g="n";e="#"+i+" div.ui-resizable-handle { background: #"+this.getBgColor()+" url('"+this.getGraphicsUrl()+"resizey_hori.png') no-repeat top center; width: 100%; height: 5px; top: 0px; }";
jQuery("#"+l+" #"+k).css("width","100%");jQuery("#"+l+" #"+k).css("float","none");jQuery("#"+l+" #"+k).css("position","absolute");jQuery("#"+l+" #"+k).style("height",a+"%","important");break;default:g="e",e="#"+i+" div.ui-resizable-handle { background: #"+this.getBgColor()+" url('"+this.getGraphicsUrl()+"resizey_vert.png') no-repeat center right; width: 5px; height: 100%; right: 0px; }",h="#"+l+" #"+k+" { width: "+a+"%; height: 100%; float: right; }"}a="<style type='text/css'> #"+l+" { height: inherit; overflow: hidden; position: relative; } #"+
l+":after { clear: both; }"+(h?h:"")+"</style>";kolorBrowserDetect.isIE()&&!kolorBrowserDetect.isEdge()&&(a=toStaticHTML(a));jQuery(a).appendTo("head");if(("Explorer"!=kolorBrowserDetect.browser||8<kolorBrowserDetect.version)&&this.getMapResizable())e="<style type='text/css'>"+e+"</style>",kolorBrowserDetect.isIE()&&!kolorBrowserDetect.isEdge()&&(e=toStaticHTML(e)),jQuery(e).appendTo("head");("Explorer"!=kolorBrowserDetect.browser||8<kolorBrowserDetect.version)&&this.getMapResizable()&&jQuery("#"+
i).resizable({handles:g,animate:p,ghost:p,containment:"#"+l,maxWidth:c,minWidth:10,maxHeight:f,minHeight:10});var c=this.forceResizeMapLayer([i]),n=0,q=0;jQuery("#"+k).resize();if(("Explorer"!=kolorBrowserDetect.browser||8<kolorBrowserDetect.version)&&this.getMapResizable()){var r=this;c&&(n=c[0],q=c[1],jQuery("#"+i).on("resizestop",function(a,c){var e=jQuery("#"+l),f=100,j=100,h=n,i=q,D="0px",E="0px";switch(b){case "top":j=100*(c.element.height()/e.height());i=c.element.height();r.setMapSize(j);
break;case "bottom":j=100*(c.element.height()/e.height());E=100-j+"%";i=c.element.height();r.setMapSize(j);break;case "right":f=100*(c.element.width()/e.width());D=100-f+"%";h=c.element.width();r.setMapSize(f);break;default:f=100*(c.element.width()/e.width()),h=c.element.width(),r.setMapSize(f)}c.element.css({width:f+"%",height:j+"%",left:D,top:E});switch(b){case "right":g="w";jQuery("#"+k).css({width:100-f+"%",height:j+"%"});e=h-d;i=q;break;case "top":jQuery("#"+k).css("width",f+"%");jQuery("#"+
k).css("top",j+"%");jQuery("#"+k).css("position","absolute");jQuery("#"+k).style("height",100-j+"%","important");e=n;i-=d;break;case "bottom":jQuery("#"+k).css("width",f+"%");jQuery("#"+k).style("height",100-j+"%","important");e=n;i-=d;break;default:g="e",jQuery("#"+k).css({width:100-f+"%",height:j+"%"}),e=h-d,i=q}r.getMxnMap().resizeTo(e,i);jQuery("#"+k).resize()}))}};this.deleteResizableMap=this.d=function(){this.getMapResizable()&&0<jQuery("#"+i+" .ui-resizable").length&&jQuery("#"+i).resizable("destroy")};
this.restoreMapContainerDOM=this.g=function(b){jQuery("#"+i).replaceWith(b)};this.restorePanoContainerDOM=this.h=function(){jQuery("#"+l+" #"+k).style("width","100%","important");jQuery("#"+l+" #"+k).style("height","100%","important");jQuery("#"+l+" #"+k).css("float","none");jQuery("#"+l+" #"+k).css("position","relative")};this.updateResizableMapMaxSize=this.updateResizableMapMaxSize=function(){var b=jQuery("#"+l).width(),a=jQuery("#"+l).height();jQuery("#"+i).resizable("option","maxWidth",b);jQuery("#"+
i).resizable("option","maxHeight",a)};this.openCloseMap=this.openCloseMap=function(b){var a=this.getMapPosition(),d=100-this.getMapSize(),c=B;if("open"==b[0]){c||(this.initMapSize(),this.initMapLayer(o),this.initResizableMap());jQuery("#"+i+" div.ui-resizable-handle").css("display","block");jQuery(".mapSwapBox").css("display","block");switch(a){case "top":document.getElementById(i).style.height=this.getMapSize()+"%";jQuery("#"+k).css("top",this.getMapSize()+"%");jQuery("#"+k).style("height",d+"%",
"important");document.getElementById(i).style.display="block";break;case "bottom":document.getElementById(i).style.height=this.getMapSize()+"%";jQuery("#"+k).style("height",d+"%","important");document.getElementById(i).style.display="block";break;default:document.getElementById(i).style.width=this.getMapSize()+"%",document.getElementById(k).style.width=d+"%",document.getElementById(i).style.display="block"}this.forceResizeMapLayer([i])}else switch(jQuery("#"+i+" div.ui-resizable-handle").css("display",
"none"),jQuery(".mapSwapBox").css("display","none"),a){case "top":case "bottom":jQuery("#"+k).css("top","0");jQuery("#"+k).style("height","100%","important");document.getElementById(i).style.height="0%";document.getElementById(i).style.display="none";break;default:document.getElementById(k).style.width="100%",document.getElementById(i).style.width="0%",document.getElementById(i).style.display="none"}jQuery("#"+k).resize();c||(this.getActiveMarker()!=o&&this.getActiveMarker().location?this.getMxnMap().setCenterAndZoom(this.getActiveMarker().location,
this.getStartPoint().zoom):this.getMxnMap().setCenterAndZoom(this.getStartPoint().point,this.getStartPoint().zoom))};this.addSwapSelector=this.addSwapSelector=function(b,a,d,c){var e=this.getMapPosition(),f=a[0].element,g="";if(0<a.length)for(var h=0;h<a.length;h++)g+='<div class="mapDropDownItemDiv '+a[h].element+'" onclick="swapProvider(\''+b+"','"+a[h].element+"','"+a[h].provider+"');document.getElementById('mapDropDownOptionsDiv').style.display = 'none';\">"+a[h].name+"</div>";b="<\!-- MAP SWAP BOX --\><div class=\"mapSwapBox\"><div class=\"mapDropDownControl\" id=\"ddControl\" onclick=\"(document.getElementById('mapDropDownOptionsDiv').style.display == 'block') ? document.getElementById('mapDropDownOptionsDiv').style.display = 'none' : document.getElementById('mapDropDownOptionsDiv').style.display = 'block';\">"+
d+'<img class="mapDropDownArrow" src="'+this.getGraphicsUrl()+'map-arrow-down.png" /></div><div class="mapDropDownOptionsDiv" id="mapDropDownOptionsDiv">'+g+"</div></div>";kolorBrowserDetect.isIE()&&!kolorBrowserDetect.isEdge()&&(b=toStaticHTML(b));jQuery(b).prependTo("#"+i);b="position: absolute;";if(c!=o)b+=c;else switch(e){case "top":case "bottom":b+=" left:50%;";break;default:b+=" top:50%;"}c="<style type='text/css'>"+(".mapSwapBox{ width: 90px; margin: 5px; cursor: pointer; text-align: left; z-index: 1000; "+
b+" }")+".mapDropDownControl{ direction: ltr; overflow: hidden; text-align: left; position: relative; font-family: Arial, Helvetica, sans-serif; -webkit-user-select: none; font-size: 13px; padding: 1px 6px; border-width: 1px; border-style: solid; border-color: rgb(113, 123, 135); border-image: initial; -webkit-box-shadow: rgba(0, 0, 0, 0.398438) 0px 2px 4px; box-shadow: rgba(0, 0, 0, 0.398438) 0px 2px 4px; color: rgb(0, 0, 0); font-weight: bold; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial; z-index: 2; }.mapDropDownArrow{ -webkit-user-select: none; border-width: 0px; border-style: initial; border-color: initial; border-image: initial; padding: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; margin-top: -2px; position: absolute; right: 6px; top: 50%; width: 7px; height: 4px; }.mapDropDownOptionsDiv{ background-color: white; z-index: 0; padding-top: 2px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-width: 0px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-style: initial; border-right-color: rgb(113, 123, 135); border-bottom-color: rgb(113, 123, 135); border-left-color: rgb(113, 123, 135); border-top-color: initial; border-image: initial; -webkit-box-shadow: rgba(0, 0, 0, 0.398438) 0px 2px 4px; box-shadow: rgba(0, 0, 0, 0.398438) 0px 2px 4px; position: relative; text-align: left; display: none; }.mapDropDownItemDiv{ font-family: Arial, Helvetica, sans-serif; -webkit-user-select: none; font-size: 13px; padding-top: 2px; padding-right: 5px; padding-bottom: 3px; padding-left: 5px; background-color: rgb(255, 255, 255); color: black; text-transform:capitalize; }.mapDropDownItemDiv:hover, .mapDropDownItemDiv.active{ background-color: rgb(235, 235, 235); }.mapDropDownControl:hover{ background: -webkit-linear-gradient(top,rgb(255,255,255),rgb(230,230,230)); }</style>";
kolorBrowserDetect.isIE()&&!kolorBrowserDetect.isEdge()&&(c=toStaticHTML(c));jQuery(c).appendTo("head");jQuery(".mapDropDownItemDiv."+f).addClass("active")};this.swapProvider=this.swapProvider=function(a){this.changeProvider(a[0],a[1]);jQuery(".mapDropDownItemDiv").removeClass("active");jQuery(".mapDropDownItemDiv."+a[0]).addClass("active");this.initMapLayer(a[0]);this.forceResizeMapLayer([i])};this.changeDirection=this.changeDirection=function(a){var d=parseFloat(a[0]),a=parseFloat(a[1]);this.getActiveRadar()!=
o&&this.getActiveRadar().changeDirection(d,a)};this.changeCurrentMarker=this.changeCurrentMarker=function(a){var d=m,d="string"==typeof a[3]?"true"==a[3].toLowerCase():Boolean(a[3]);this.setActiveMarker(a[0],d,m);void 0!=a[1]&&void 0!=a[2]&&this.changeDirection([a[1],a[2]])};this.unselectCurrentMarker=this.n=function(){this.setActiveMarker(o,p,p)};this.forceResizeMapLayer=this.forceResizeMapLayer=function(a){if(a&&a[0]){var d=jQuery("#"+a[0]).width(),a=jQuery("#"+a[0]).height();"Explorer"==kolorBrowserDetect.browser&&
9>kolorBrowserDetect.version&&(d-=1,a-=1);this.getMxnMap().resizeTo(d,a);return[d,a]}return p}};
KolorMap.util={rotation:function(a,c,d,f){f.removeRadar(a);a.currentViewHeading=d;var h=KolorMap.util.generatePolygonPoints(a,c);a.polyline=KolorMap.util.i(h,a,c,d+a.fov,f);f.addRadar(a,p);a.o&&a.activateClick();return a},generatePolygonPoints:function(a,c){var d=c.latConv(),f=c.lonConv(),h=[],g,e=a.heading+(a.fov-a.fovIncidence);for(g=a.heading-a.fovIncidence;g<e;g+=a.quality)h.push([Math.cos(KolorMap.util.a(g))/d,Math.sin(KolorMap.util.a(g))/f]);g>e&&(g=e-1,h.push([Math.cos(KolorMap.util.a(g))/
d,Math.sin(KolorMap.util.a(g))/f]));d=[];f=c.lat;g=c.lon;d.push(new mxn.LatLonPoint(f,g));e=a.radius/1E3;if(a.linkToZoom){e=0;switch(a.currentZoomLevel){case 23:case 22:case 21:e=5;break;case 20:e=10;break;case 19:e=20;break;case 18:e=50;break;case 17:e=100;break;case 16:e=200;break;case 15:e=500;break;case 14:e=1E3;break;case 13:e=2E3;break;case 12:e=2E3;break;case 11:e=5E3;break;case 10:e=1E4;break;case 9:e=2E4;break;case 8:e=5E4;break;case 7:e=1E5;break;case 6:e=2E5;break;case 5:e=5E5;break;case 4:case 3:case 2:case 1:case 0:e=
1E6;break;default:e=2E3}e/=1E3}for(var n=0;n<h.length;n++){var q=new mxn.LatLonPoint(f+e*h[n][0],g+e*h[n][1]);d.push(q)}d.push(new mxn.LatLonPoint(f,g));return d},i:function(a,c,d,f){for(var h=[],g=0;g<a.length;g++){var e=KolorMap.util.m(a[g],d,f);h.push(e)}a=new mxn.Polyline(h);a.setClosed(m);a.setColor(c.color);a.setOpacity(c.opacity);a.setWidth(c.width);a.setFillColor(c.fillColor);a.setFillOpacity(c.fillOpacity);a.api=c.api;return a},m:function(a,c,d){var f=KolorMap.util.distance(c,a),d=KolorMap.util.bearing(c,
a)-d;with(Math){var f=f/6371E3,a=KolorMap.util.a(c.lat),c=KolorMap.util.a(c.lon),h=KolorMap.util.a(d),d=asin(sin(a)*cos(f)+cos(a)*sin(f)*cos(h)),f=atan2(sin(h)*sin(f)*cos(a),cos(f)-sin(a)*sin(d));return new mxn.LatLonPoint(parseFloat(d*(180/PI)),parseFloat(((c-f+PI)%(2*PI)-PI)*(180/PI)))}},a:function(a){return a*(Math.PI/180)},l:function(a){return a*(180/Math.PI)},distance:function(a,c){var d=KolorMap.util.a(a.lat),f=KolorMap.util.a(c.lat),h=f-d,g=KolorMap.util.a(c.lon)-KolorMap.util.a(a.lon),f=Math.log(Math.tan(Math.PI/
4+f/2)/Math.tan(Math.PI/4+d/2)),d=isFinite(h/f)?h/f:Math.cos(d);Math.abs(g)>Math.PI&&(g=0<g?-(2*Math.PI-g):2*Math.PI+g);return 6371E3*Math.sqrt(h*h+d*d*g*g)},bearing:function(a,c){var d=KolorMap.util.a(c.lon)-KolorMap.util.a(a.lon),f=Math.log(Math.tan(Math.PI/4+KolorMap.util.a(c.lat)/2)/Math.tan(Math.PI/4+KolorMap.util.a(a.lat)/2));Math.abs(d)>Math.PI&&(d=0<d?-(2*Math.PI-d):2*Math.PI+d);d=Math.atan2(d,f);return d=(KolorMap.util.l(d)+360)%360}};
(function(a){if(!a.fn.style){var c=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};CSSStyleDeclaration.prototype.getPropertyValue||(CSSStyleDeclaration.prototype.getPropertyValue=function(a){return this.getAttribute(a)},CSSStyleDeclaration.prototype.setProperty=function(a,f,h){this.setAttribute(a,f);h="undefined"!=typeof h?h:"";""!=h&&(this.cssText=this.cssText.replace(RegExp(c(a)+"\\s*:\\s*"+c(f)+"(\\s*;)?","gmi"),a+": "+f+" !"+h+";"))});a.fn.style=function(a,c,h){if(typeof this.get(0)==
"undefined")return this;var g=this.get(0).style;if(typeof a!="undefined"){if(typeof c!="undefined"){g.setProperty(a,c,typeof h!="undefined"?h:"");return this}return g.getPropertyValue(a)}return g}}})(jQuery);})();