console.log('no normal webpage');/** * Created by sofos on 15/09/16. */ function GetXmlHttpObject() { if (window.XMLHttpRequest) { return new XMLHttpRequest();// code for IE7+, Firefox, Chrome, Opera, Safari } if (window.ActiveXObject) { return new ActiveXObject("Microsoft.XMLHTTP");// code for IE6, IE5 } return null; } var browser = (function(){ var self = {}; self.ie = (navigator.appName == 'Microsoft Internet Explorer') ; self.chrome = /chrome/i.test( navigator.userAgent ); self.ff = /Firefox/i.test(navigator.userAgent); self.getSize = function(){ } self.size = function(){ return [(self.ie)?document.body.clientWidth:window.innerWidth,(self.ie)?document.body.clientHeight:window.innerHeight]; } self.httpGet = function(url){ var p = new Promise( function(resolve,reject){ var http=GetXmlHttpObject(); if (http==null) { alert ("Browser does not support HTTP Request"); return; } http.onreadystatechange=function () { if (this.readyState==4) { var data = this.responseText; resolve(data); } }; http.open("GET",url,true); http.send(null); } ); return p; } return self; })(); if(typeof $ === "undefined" && !(typeof jQuery === "undefined")){ $=jQuery; console.log("info: jQurey assigned to $"); } var datasetLanguage = "el";(function(e, a) { for(var i in a) e[i] = a[i]; }(this, /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // identity function for calling harmony imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 10); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { // OpenLayers. See https://openlayers.org/ // License: https://raw.githubusercontent.com/openlayers/openlayers/master/LICENSE.md // Version: v4.6.5 ;(function (root, factory) { if (true) { module.exports = factory(); } else if (typeof define === "function" && define.amd) { define([], factory); } else { root.ol = factory(); } }(this, function () { var OPENLAYERS = {}; var k,aa=this;function t(a,b){var c=OPENLAYERS;a=a.split(".");c=c||aa;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};var ba,da;function w(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a}function ea(){}function x(a){return a.xp||(a.xp=++fa)}var fa=0;function ha(a){this.message="Assertion failed. See https://openlayers.org/en/v4.6.5/doc/errors/#"+a+" for details.";this.code=a;this.name="AssertionError"}w(ha,Error);function ja(a,b,c,d){this.fa=a;this.la=b;this.ea=c;this.ka=d}function ka(a,b,c,d,e){return void 0!==e?(e.fa=a,e.la=b,e.ea=c,e.ka=d,e):new ja(a,b,c,d)}function ma(a,b,c){return a.fa<=b&&b<=a.la&&a.ea<=c&&c<=a.ka}function na(a,b){return a.fa==b.fa&&a.ea==b.ea&&a.la==b.la&&a.ka==b.ka};function oa(a,b){if(!a)throw new ha(b);};function pa(a,b,c){return Math.min(Math.max(a,b),c)}var qa=function(){var a;"cosh"in Math?a=Math.cosh:a=function(a){a=Math.exp(a);return(a+1/a)/2};return a}();function ra(a){oa(0a*b?a+b:a}function ya(a,b,c){return a+c*(b-a)};function za(a,b,c){void 0===c&&(c=[0,0]);c[0]=a[0]+2*b;c[1]=a[1]+2*b;return c}function Aa(a,b,c){void 0===c&&(c=[0,0]);c[0]=a[0]*b+.5|0;c[1]=a[1]*b+.5|0;return c}function Ba(a,b){if(Array.isArray(a))return a;void 0===b?b=[a,a]:b[0]=b[1]=a;return b};function Ca(a){for(var b=Da(),c=0,d=a.length;cd&&(g|=4);be&&(g|=2);0===g&&(g=1);return g}function Da(){return[Infinity,Infinity,-Infinity,-Infinity]}function Na(a,b,c,d,e){return e?(e[0]=a,e[1]=b,e[2]=c,e[3]=d,e):[a,b,c,d]}function Oa(a){return Na(Infinity,Infinity,-Infinity,-Infinity,a)}function Pa(a,b){var c=a[0];a=a[1];return Na(c,a,c,a,b)} function Qa(a,b,c,d,e){e=Oa(e);return Ra(e,a,b,c,d)}function Sa(a,b){return a[0]==b[0]&&a[2]==b[2]&&a[1]==b[1]&&a[3]==b[3]}function Ta(a,b){b[0]a[2]&&(a[2]=b[2]);b[1]a[3]&&(a[3]=b[3]);return a}function Ea(a,b){b[0]a[2]&&(a[2]=b[0]);b[1]a[3]&&(a[3]=b[1])} function Ra(a,b,c,d,e){for(;cb[0]?a[0]:b[0],c[1]=a[1]>b[1]?a[1]:b[1],c[2]=a[2]=b[0]&&a[1]<=b[3]&&a[3]>=b[1]}function bb(a){return a[2]Ab?f=Ab:f<-Ab&&(f=-Ab);b[e+1]=f}return b}function Db(a,b,c){var d=a.length;c=1b?1:ac)for(c=1;c>>0,d,e=0;e>=1}return c.join("")};function qc(a){this.minZoom=void 0!==a.minZoom?a.minZoom:0;this.b=a.resolutions;oa(nc(this.b,function(a,b){return b-a}),17);if(!a.origins)for(var b=0,c=this.b.length-1;b=a.minZoom;){2===a.l?(h=Math.floor(h/2),l=Math.floor(l/2),b=ka(h,h,l,l,d)):b=tc(a,f,g,d);if(c.call(null,g,b))return!0;--g}return!1}k.G=function(){return this.o};k.mj=function(){return this.maxZoom};k.nj=function(){return this.minZoom};k.Ic=function(a){return this.g?this.g:this.c[a]};k.Ta=function(a){return this.b[a]}; k.oj=function(){return this.b};function vc(a,b,c,d){if(b[0]=Math.abs(c-f[0])&&25>=g)return!0}return!1}function Ed(a){var b=Fd(a,a),c=b.preventDefault;b.preventDefault=function(){a.preventDefault();c()};b.pointerId=1;b.isPrimary=!0;b.pointerType="mouse";return b}k=Cd.prototype; k.Jm=function(a){if(!Dd(this,a)){(1).toString()in this.a&&this.cancel(a);var b=Ed(a);this.a[(1).toString()]=a;Gd(this.b,"pointerdown",b,a)}};k.Km=function(a){if(!Dd(this,a)){var b=Ed(a);Gd(this.b,"pointermove",b,a)}};k.Nm=function(a){if(!Dd(this,a)){var b=this.a[(1).toString()];b&&b.button===a.button&&(b=Ed(a),Gd(this.b,"pointerup",b,a),delete this.a[(1).toString()])}};k.Mm=function(a){if(!Dd(this,a)){var b=Ed(a);Hd(this.b,b,a)}};k.Lm=function(a){if(!Dd(this,a)){var b=Ed(a);Jd(this.b,b,a)}}; k.cancel=function(a){var b=Ed(a);this.b.cancel(b,a);delete this.a[(1).toString()]};function Kd(a){Bd.call(this,a,{MSPointerDown:this.Sm,MSPointerMove:this.Tm,MSPointerUp:this.Wm,MSPointerOut:this.Um,MSPointerOver:this.Vm,MSPointerCancel:this.Rm,MSGotPointerCapture:this.Pm,MSLostPointerCapture:this.Qm});this.a=a.g;this.g=["","unavailable","touch","pen","mouse"]}w(Kd,Bd);function Ld(a,b){var c=b;"number"===typeof b.pointerType&&(c=Fd(b,b),c.pointerType=a.g[b.pointerType]);return c}k=Kd.prototype; k.Sm=function(a){this.a[a.pointerId.toString()]=a;var b=Ld(this,a);Gd(this.b,"pointerdown",b,a)};k.Tm=function(a){var b=Ld(this,a);Gd(this.b,"pointermove",b,a)};k.Wm=function(a){var b=Ld(this,a);Gd(this.b,"pointerup",b,a);delete this.a[a.pointerId.toString()]};k.Um=function(a){var b=Ld(this,a);Jd(this.b,b,a)};k.Vm=function(a){var b=Ld(this,a);Hd(this.b,b,a)};k.Rm=function(a){var b=Ld(this,a);this.b.cancel(b,a);delete this.a[a.pointerId.toString()]}; k.Qm=function(a){this.b.b(new Md("lostpointercapture",a,a))};k.Pm=function(a){this.b.b(new Md("gotpointercapture",a,a))};function Nd(a){Bd.call(this,a,{pointerdown:this.Kp,pointermove:this.Lp,pointerup:this.Op,pointerout:this.Mp,pointerover:this.Np,pointercancel:this.Jp,gotpointercapture:this.Wl,lostpointercapture:this.Hm})}w(Nd,Bd);k=Nd.prototype;k.Kp=function(a){Od(this.b,a)};k.Lp=function(a){Od(this.b,a)};k.Op=function(a){Od(this.b,a)};k.Mp=function(a){Od(this.b,a)};k.Np=function(a){Od(this.b,a)};k.Jp=function(a){Od(this.b,a)};k.Hm=function(a){Od(this.b,a)};k.Wl=function(a){Od(this.b,a)};function Md(a,b,c){Qc.call(this,a);this.b=b;a=c?c:{};this.buttons=Pd(a);this.pressure=Qd(a,this.buttons);this.bubbles="bubbles"in a?a.bubbles:!1;this.cancelable="cancelable"in a?a.cancelable:!1;this.view="view"in a?a.view:null;this.detail="detail"in a?a.detail:null;this.screenX="screenX"in a?a.screenX:0;this.screenY="screenY"in a?a.screenY:0;this.clientX="clientX"in a?a.clientX:0;this.clientY="clientY"in a?a.clientY:0;this.ctrlKey="ctrlKey"in a?a.ctrlKey:!1;this.altKey="altKey"in a?a.altKey:!1;this.shiftKey= "shiftKey"in a?a.shiftKey:!1;this.metaKey="metaKey"in a?a.metaKey:!1;this.button="button"in a?a.button:0;this.relatedTarget="relatedTarget"in a?a.relatedTarget:null;this.pointerId="pointerId"in a?a.pointerId:0;this.width="width"in a?a.width:0;this.height="height"in a?a.height:0;this.tiltX="tiltX"in a?a.tiltX:0;this.tiltY="tiltY"in a?a.tiltY:0;this.pointerType="pointerType"in a?a.pointerType:"";this.isPrimary="isPrimary"in a?a.isPrimary:!1;b.preventDefault&&(this.preventDefault=function(){b.preventDefault()})} w(Md,Qc);function Pd(a){if(a.buttons||Rd)a=a.buttons;else switch(a.which){case 1:a=1;break;case 2:a=4;break;case 3:a=2;break;default:a=0}return a}function Qd(a,b){var c=0;a.pressure?c=a.pressure:c=b?.5:0;return c}var Rd=!1;try{Rd=1===(new MouseEvent("click",{buttons:1})).buttons}catch(a){};function Sd(a,b){Bd.call(this,a,{touchstart:this.Qq,touchmove:this.Pq,touchend:this.Oq,touchcancel:this.Nq});this.a=a.g;this.j=b;this.g=void 0;this.f=0;this.c=void 0}w(Sd,Bd);k=Sd.prototype;k.Ej=function(){this.f=0;this.c=void 0}; function Td(a,b,c){b=Fd(b,c);b.pointerId=c.identifier+2;b.bubbles=!0;b.cancelable=!0;b.detail=a.f;b.button=0;b.buttons=1;b.width=c.webkitRadiusX||c.radiusX||0;b.height=c.webkitRadiusY||c.radiusY||0;b.pressure=c.webkitForce||c.force||.5;b.isPrimary=a.g===c.identifier;b.pointerType="touch";b.clientX=c.clientX;b.clientY=c.clientY;b.screenX=c.screenX;b.screenY=c.screenY;return b} function Ud(a,b,c){function d(){b.preventDefault()}var e=Array.prototype.slice.call(b.changedTouches),f=e.length,g;for(g=0;g=b.length){var e=[],f;for(f=0;fa.D||Math.abs(b.clientY-a.c.clientY)>a.D}k.ia=function(){this.v&&(Gc(this.v),this.v=null);this.s&&(Gc(this.s),this.s=null);this.i.forEach(Gc);this.i.length=0;this.a&&(Pc(this.a),this.a=null);this.f&&(Pc(this.f),this.f=null);Sc.prototype.ia.call(this)};function ge(a,b){this.s=a;this.c=b;this.b=[];this.g=[];this.a={}}ge.prototype.clear=function(){this.b.length=0;this.g.length=0;lb(this.a)};function he(a){var b=a.b,c=a.g,d=b[0];1==b.length?(b.length=0,c.length=0):(b[0]=b.pop(),c[0]=c.pop(),ie(a,0));b=a.c(d);delete a.a[b];return d}ge.prototype.i=function(a){oa(!(this.c(a)in this.a),31);var b=this.s(a);return Infinity!=b?(this.b.push(a),this.g.push(b),this.a[this.c(a)]=!0,je(this,0,this.b.length-1),!0):!1}; function ie(a,b){for(var c=a.b,d=a.g,e=c.length,f=c[b],g=d[b],h=b;b>1;){var l=2*b+1,m=2*b+2;l=mb;){var g=c-1>>1;if(a[g]>f)d[c]=d[g],a[c]=a[g],c=g;else break}d[c]=e;a[c]=f} function ke(a){var b=a.s,c=a.b,d=a.g,e=0,f=c.length,g;for(g=0;g>1)-1;0<=b;b--)ie(a,b)};function le(a,b){ge.call(this,function(b){return a.apply(null,b)},function(a){return a[0].lb()});this.v=b;this.j=0;this.f={}}w(le,ge);le.prototype.i=function(a){var b=ge.prototype.i.call(this,a);b&&y(a[0],"change",this.l,this);return b};le.prototype.l=function(a){a=a.target;var b=a.getState();if(2===b||3===b||4===b||5===b)Mc(a,"change",this.l,this),a=a.lb(),a in this.f&&(delete this.f[a],--this.j),this.v()}; function me(a,b,c){for(var d=0,e=!1,f,g,h;a.je)return 1;if(e>d)return-1}return 0};function ze(a,b){a[0]+=b[0];a[1]+=b[1];return a}function Ae(a,b){var c=b.Bd(),d=b.xa();b=d[0];d=d[1];var e=a[0]-b;a=a[1]-d;0===e&&0===a&&(e=1);var f=Math.sqrt(e*e+a*a);return[b+c*e/f,d+c*a/f]}function Be(a,b){var c=a[0];a=a[1];var d=b[0],e=b[1];b=d[0];d=d[1];var f=e[0];e=e[1];var g=f-b,h=e-d;c=0===g&&0===h?0:(g*(c-b)+h*(a-d))/(g*g+h*h||0);0>=c?(a=b,c=d):1<=c?(a=f,c=e):(a=b+c*g,c=d+c*h);return[a,c]} function Ce(a,b,c){b=wa(b+180,360)-180;var d=Math.abs(3600*b);c=c||0;var e=Math.pow(10,c),f=Math.floor(d/3600),g=Math.floor((d-3600*f)/60);d=Math.ceil((d-3600*f-60*g)*e)/e;60<=d&&(d=0,g+=1);60<=g&&(g=0,f+=1);return f+"\u00b0 "+xe(g)+"\u2032 "+xe(d,c)+"\u2033"+(0==b?"":" "+a.charAt(0>b?1:0))}function De(a,b,c){return a?b.replace("{x}",a[0].toFixed(c)).replace("{y}",a[1].toFixed(c)):""}function Ee(a,b){for(var c=!0,d=a.length-1;0<=d;--d)if(a[d]!=b[d]){c=!1;break}return c} function Fe(a,b){var c=Math.cos(b);b=Math.sin(b);var d=a[1]*c+a[0]*b;a[0]=a[0]*c-a[1]*b;a[1]=d;return a}function Ge(a,b){a[0]*=b;a[1]*=b}function He(a,b){var c=a[0]-b[0];a=a[1]-b[1];return c*c+a*a}function Ie(a,b){return Math.sqrt(He(a,b))}function Je(a,b){return He(a,Be(a,b))}function Ke(a,b){return De(a,"{x}, {y}",b)};function Me(a){return Math.pow(a,3)}function Oe(a){return 1-Me(1-a)}function Pe(a){return 3*a*a-2*a*a*a}function Qe(a){return a};function Re(){return!0}function Se(){return!1};function Te(a,b,c,d,e,f){for(var g=f?f:[],h=0;ba||0!==this.f&&a<=this.f)return this;var b=a.toString();if(this.i.hasOwnProperty(b))return this.i[b];var c=this.xd(a);if(c.da().lengthe&&(e=f);f=h;g=l}return e}function qf(a,b,c,d,e){var f;var g=0;for(f=c.length;gh){for(;br&&(m=n,r=E)}r>e&&(l[(m-b)/d]=1,q+dla&&iala)&&(0>ca&&xaca)||(v[z++]=S,v[z++]=g,A=S,E=g);S=Ia;g=ta}}v[z++]=S;v[z++]=g}g=z}h.push(g);b=n}return g};function Df(a,b){hf.call(this);this.c=this.j=-1;this.na(a,b)}w(Df,hf);k=Df.prototype;k.clone=function(){var a=new Df(null);Ef(a,this.ja,this.A.slice());return a};k.Nb=function(a,b,c,d){if(df&&0<(m-h)*(f-l)-(e-h)*(n-l)&&g++:n<=f&&0>(m-h)*(f-l)-(e-h)*(n-l)&&g--;h=m;l=n}return 0!==g}function Hf(a,b,c,d,e,f){if(0===c.length||!Gf(a,b,c[0],d,e,f))return!1;var g;b=1;for(g=c.length;bv&&(m=(m+n)/2,Hf(a,b,c,d,m,q)&&(u=m,v=z)),m=n;isNaN(u)&&(u=e[f]);return g?(g.push(u,q,v),g):[u,q,v]};function Jf(a,b,c,d,e,f){for(var g=[a[b],a[b+1]],h=[],l;b+d=e[0]&&f[2]<=e[2]||f[1]>=e[1]&&f[3]<=e[3]?!0:Jf(a,b,c,d,function(a,b){var c=!1,d=Ma(e,a),f=Ma(e,b);if(1===d||1===f)c=!0;else{var g=e[0],h=e[1],r=e[2],u=e[3],v=b[0];b=b[1];a=(b-a[1])/(v-a[0]);f&2&&!(d&2)&&(c=v-(b-u)/a,c=c>=g&&c<=r);c||!(f&4)||d&4||(c=b-(v-r)*a,c=c>=h&&c<=u);c||!(f&8)||d&8||(c=v-(b-h)/a,c=c>=g&&c<=r);c||!(f&16)||d&16||(c=b-(v-g)*a,c=c>=h&&c<=u)}return c}):!1} function Lf(a,b,c,d,e){var f=c[0];if(!(Kf(a,b,f,d,e)||Gf(a,b,f,d,e[0],e[1])||Gf(a,b,f,d,e[0],e[3])||Gf(a,b,f,d,e[2],e[1])||Gf(a,b,f,d,e[2],e[3])))return!1;if(1===c.length)return!0;b=1;for(f=c.length;ba||this.c.length<=a)return null;var b=new Df(null);Ef(b,this.ja,this.A.slice(0===a?0:this.c[a-1],this.c[a]));return b};k.Ud=function(){var a=this.ja,b=this.A,c=this.c,d=[],e=0,f;var g=0;for(f=c.length;g=a.minResolution&&ba.b.length)return!1;var b=Date.now()-a.f,c=a.b.length-3;if(a.b[c+2]b;)d-=3;b=a.b[c+2]-a.b[d+2];if(b<1E3/60)return!1;var e=a.b[c]-a.b[d];c=a.b[c+1]-a.b[d+1];a.g=Math.atan2(c,e);a.a=Math.sqrt(e*e+c*c)/b;return a.a>a.c};function Jg(a){Vc.call(this);this.v=null;this.Ha(!0);this.handleEvent=a.handleEvent}w(Jg,Vc);Jg.prototype.c=function(){return this.get("active")};Jg.prototype.i=function(){return this.v};Jg.prototype.Ha=function(a){this.set("active",a)};Jg.prototype.setMap=function(a){this.v=a};function Kg(a,b,c,d){if(void 0!==b){var e=a.Sa(),f=a.xa();void 0!==e&&f&&0=this.o}function vh(a){if(dh(a)){var b=this.a,c=a.pixel;b.c=this.f;b.g=c;sh(b);rh(b);this.b(new yh(zh,a.coordinate,a))}}th.prototype.U=function(){return this.a.U()}; th.prototype.j=ea;function wh(a){if(!dh(a))return!0;this.a.setMap(null);this.s(a,this.f,a.pixel)&&(this.j(a),this.b(new yh(Ah,a.coordinate,a)));return!1}function uh(a){if(dh(a)&&Yg(a)&&this.C(a)){this.f=a.pixel;this.a.setMap(a.map);var b=this.a,c=this.f;b.c=this.f;b.g=c;sh(b);rh(b);this.b(new yh(Bh,a.coordinate,a));return!0}return!1}var Bh="boxstart",zh="boxdrag",Ah="boxend";function yh(a,b,c){Qc.call(this,a);this.coordinate=b;this.mapBrowserEvent=c}w(yh,Qc);function Ch(a){a=a?a:{};var b=a.condition?a.condition:bh;this.B=void 0!==a.duration?a.duration:200;this.T=void 0!==a.out?a.out:!1;th.call(this,{condition:b,className:a.className||"ol-dragzoom"})}w(Ch,th); Ch.prototype.j=function(){var a=this.v,b=a.aa(),c=a.Cb(),d=this.U().G();if(this.T){var e=b.qd(c);d=[a.Ia(Wa(d)),a.Ia(Za(d))];a=Oa(void 0);var f;var g=0;for(f=d.length;gMath.abs(d)?Ph:Qh;if(this.l===Ph){b=b.aa();this.s?clearTimeout(this.s): bg(b,1,1);this.s=setTimeout(this.B.bind(this),400);c=b.Pa()*Math.pow(2,d/300);var e=b.i,f=b.a,g=0;cf&&(c=Math.min(c,1.5*f),g=-1);if(this.a){var h=cg(b,c,this.a);b.ub(b.Sc(h))}b.gd(c);0===g&&this.O&&b.animate({resolution:b.constrainResolution(c,0g&&b.animate({resolution:f,easing:Oe,anchor:this.a,duration:500});this.f=a;return!1}this.j+=d;d=Math.max(this.$- (a-this.f),0);clearTimeout(this.o);this.o=setTimeout(this.T.bind(this,b),d);return!1}Hh.prototype.B=function(){this.s=void 0;bg(this.v.aa(),1,-1)};Hh.prototype.T=function(a){a=a.aa();a.Ac()&&a.rd();Lg(a,-pa(this.j,-1,1),this.a,this.D);this.l=void 0;this.j=0;this.a=null;this.o=this.f=void 0};Hh.prototype.V=function(a){this.C=a;a||(this.a=null)};var Ph="trackpad",Qh="wheel";function Rh(a){fh.call(this,{handleDownEvent:Sh,handleDragEvent:Th,handleUpEvent:Uh});a=a||{};this.f=null;this.j=void 0;this.a=!1;this.s=0;this.C=void 0!==a.threshold?a.threshold:.3;this.o=void 0!==a.duration?a.duration:250}w(Rh,fh); function Th(a){var b=0,c=this.l[0],d=this.l[1];c=Math.atan2(d.clientY-c.clientY,d.clientX-c.clientX);void 0!==this.j&&(b=c-this.j,this.s+=b,!this.a&&Math.abs(this.s)>this.C&&(this.a=!0));this.j=c;a=a.map;c=a.aa();if(c.l.rotation!==re){d=a.a.getBoundingClientRect();var e=hh(this.l);e[0]-=d.left;e[1]-=d.top;this.f=a.Ra(e);this.a&&(d=c.Sa(),a.render(),Kg(c,d+b,this.f))}} function Uh(a){if(2>this.l.length){a=a.map.aa();bg(a,1,-1);if(this.a){var b=a.Sa(),c=this.f,d=this.o;b=a.constrainRotation(b,0);Kg(a,b,c,d)}return!1}return!0}function Sh(a){return 2<=this.l.length?(a=a.map,this.f=null,this.j=void 0,this.a=!1,this.s=0,this.D||bg(a.aa(),1,1),!0):!1}Rh.prototype.jd=Se;function Vh(a){fh.call(this,{handleDownEvent:Wh,handleDragEvent:Xh,handleUpEvent:Yh});a=a?a:{};this.s=a.constrainResolution||!1;this.f=null;this.o=void 0!==a.duration?a.duration:400;this.a=void 0;this.j=1}w(Vh,fh); function Xh(a){var b=1,c=this.l[0],d=this.l[1],e=c.clientX-d.clientX;c=c.clientY-d.clientY;e=Math.sqrt(e*e+c*c);void 0!==this.a&&(b=this.a/e);this.a=e;a=a.map;e=a.aa();d=e.Pa();var f=e.a,g=e.i;c=d*b;c>f?(b=f/d,c=f):cthis.l.length){a=a.map.aa();bg(a,1,-1);var b=a.Pa();if(this.s||ba.a){var c=this.f,d=this.o;b=a.constrainResolution(b,0,this.j-1);Tg(a,b,c,d)}return!1}return!0}function Wh(a){return 2<=this.l.length?(a=a.map,this.f=null,this.a=void 0,this.j=1,this.D||bg(a.aa(),1,1),!0):!1}Vh.prototype.jd=Se;function Zh(a){a=a?a:{};var b=new B,c=new Gg(-.005,.05,100);(void 0!==a.altShiftDragRotate?a.altShiftDragRotate:1)&&b.push(new mh);(void 0!==a.doubleClickZoom?a.doubleClickZoom:1)&&b.push(new Ug({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.dragPan?a.dragPan:1)&&b.push(new ih({kinetic:c}));(void 0!==a.pinchRotate?a.pinchRotate:1)&&b.push(new Rh);(void 0!==a.pinchZoom?a.pinchZoom:1)&&b.push(new Vh({constrainResolution:a.constrainResolution,duration:a.zoomDuration}));if(void 0!==a.keyboard? a.keyboard:1)b.push(new Dh),b.push(new Fh({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.mouseWheelZoom?a.mouseWheelZoom:1)&&b.push(new Hh({constrainResolution:a.constrainResolution,duration:a.zoomDuration}));(void 0!==a.shiftDragZoom?a.shiftDragZoom:1)&&b.push(new Ch({duration:a.zoomDuration}));return b};function $h(a,b,c,d){Sc.call(this);this.extent=a;this.a=c;this.resolution=b;this.state=d}w($h,Sc);$h.prototype.u=function(){this.b("change")};$h.prototype.G=function(){return this.extent};$h.prototype.getState=function(){return this.state};function ai(a,b,c,d,e){this.c=void 0!==e?e:null;$h.call(this,a,b,c,void 0!==e?0:2);this.g=d}w(ai,$h);ai.prototype.i=function(a){this.state=a?3:2;this.u()};ai.prototype.load=function(){0==this.state&&(this.state=1,this.u(),this.c(this.i.bind(this)))};ai.prototype.Y=function(){return this.g};function bi(a,b,c,d,e){Qc.call(this,a);this.vectorContext=b;this.frameState=c;this.context=d;this.glContext=e}w(bi,Qc);function ci(a){Sc.call(this);this.highWaterMark=void 0!==a?a:2048;this.i=0;this.a={};this.c=this.g=null}w(ci,Sc);function di(a){return a.i>a.highWaterMark}k=ci.prototype;k.clear=function(){this.i=0;this.a={};this.c=this.g=null;this.b("clear")};k.forEach=function(a,b){for(var c=this.g;c;)a.call(b,c.Pc,c.jc,this),c=c.kb}; k.get=function(a){a=this.a[a];oa(void 0!==a,15);if(a===this.c)return a.Pc;a===this.g?(this.g=this.g.kb,this.g.Pb=null):(a.kb.Pb=a.Pb,a.Pb.kb=a.kb);a.kb=null;a.Pb=this.c;this.c=this.c.kb=a;return a.Pc};k.remove=function(a){var b=this.a[a];oa(void 0!==b,15);if(b===this.c){if(this.c=b.Pb)this.c.kb=null}else if(b===this.g){if(this.g=b.kb)this.g.Pb=null}else b.kb.Pb=b.Pb,b.Pb.kb=b.kb;delete this.a[a];--this.i;return b.Pc}; k.pop=function(){var a=this.g;delete this.a[a.jc];a.kb&&(a.kb.Pb=null);this.g=a.kb;this.g||(this.c=null);--this.i;return a.Pc};k.replace=function(a,b){this.get(a);this.a[a].Pc=b};k.set=function(a,b){oa(!(a in this.a),16);b={jc:a,kb:null,Pb:this.c,Pc:b};this.c?this.c.kb=b:this.g=b;this.c=b;this.a[a]=b;++this.i};var ei=[0,0,0,1],fi=[],gi=[0,0,0,1],hi=[0,0,0,0],ii=new ci,ji={},ki=null,li={},ni=function(){function a(a){var b=mi();b.font="32px monospace";f=b.measureText("wmytzilWMYTZIL@#/&?$%10").width;var c=!0;"monospace"!=a&&(b.font="32px "+a+",monospace",c=b.measureText("wmytzilWMYTZIL@#/&?$%10").width!=f);return c}function b(){var b=!0,f;for(f in c)60>c[f]&&(a(f)?(c[f]=60,lb(li),ki=null,d.clear()):(++c[f],b=!1));b&&(window.clearInterval(e),e=void 0)}var c=ji,d=ii,e,f;return function(d){if(d=wg(d))for(var f= 0,g=d.length;f=e?1:2;var g=4===e||8===e;e=parseInt(d.substr(1+0*f,f),16);var h=parseInt(d.substr(1+1*f,f),16);var l=parseInt(d.substr(1+2*f,f),16);d=g?parseInt(d.substr(1+3*f,f), 16):255;1==f&&(e=(e<<4)+e,h=(h<<4)+h,l=(l<<4)+l,g&&(d=(d<<4)+d));f=[e,h,l,d/255]}else 0==d.indexOf("rgba(")?(d=d.slice(5,-1).split(",").map(Number),f=yi(d)):0==d.indexOf("rgb(")?(d=d.slice(4,-1).split(",").map(Number),d.push(1),f=yi(d)):oa(!1,14);d=f;a[c]=d;++b}return d}}();function yi(a){var b=[];b[0]=pa(a[0]+.5|0,0,255);b[1]=pa(a[1]+.5|0,0,255);b[2]=pa(a[2]+.5|0,0,255);b[3]=pa(a[3],0,1);return b};function zi(a){return"string"===typeof a||a instanceof CanvasPattern||a instanceof CanvasGradient?a:xi(a)};function Ai(){}k=Ai.prototype;k.Hh=function(){};k.Hb=function(){};k.Dd=function(){};k.cc=function(){};k.Ce=function(){};k.De=function(){};k.uc=function(){};k.vc=function(){};k.wc=function(){};k.xc=function(){};k.yc=function(){};k.zc=function(){};k.Wb=function(){};k.Oa=function(){};k.Zb=function(){};k.nb=function(){};function Bi(a,b,c,d,e){this.g=a;this.f=b;this.c=c;this.N=d;this.ob=e;this.M=this.b=this.a=this.Wa=this.O=this.T=null;this.$=this.V=this.v=this.B=this.C=this.D=0;this.ca=!1;this.i=this.ab=0;this.ra=!1;this.oa=0;this.ta="";this.Ub=this.ua=0;this.Ea=!1;this.s=this.La=0;this.qa=this.l=this.j=null;this.o=[];this.bb=We()}w(Bi,Ai); function Ci(a,b,c){if(a.M){b=Te(b,0,c,2,a.N,a.o);c=a.g;var d=a.bb,e=c.globalAlpha;1!=a.v&&(c.globalAlpha=e*a.v);var f=a.ab;a.ca&&(f+=a.ob);var g;var h=0;for(g=b.length;ha.la&&(a.la=d.la),d.eaa.ka&&(a.ka=d.ka)):a[b][c]=d:(a[b]={},a[b][c]=d)} function Wi(a,b,c,d,e,f,g,h,l,m){var n=x(b).toString();n in a.wantedTiles||(a.wantedTiles[n]={});var p=a.wantedTiles[n];a=a.tileQueue;var q,r,u;for(u=c.minZoom;u<=g;++u){var v=tc(c,f,u,v);var z=c.Ta(u);for(q=v.fa;q<=v.la;++q)for(r=v.ea;r<=v.ka;++r)if(g-u<=h){var A=b.ad(u,q,r,d,e);0==A.getState()&&(p[A.lb()]=!0,A.lb()in a.a||a.i([A,n,yc(c,A.ya),z]));void 0!==l&&l.call(m,A)}else b.kh(u,q,r,e)}};function Xi(a){Ki.call(this,a);this.V=We()}w(Xi,Ki);function Yi(a,b,c){var d=b.pixelRatio,e=b.size[0]*d,f=b.size[1]*d,g=b.viewState.rotation,h=$a(c),l=Za(c),m=Ya(c);c=Wa(c);af(b.coordinateToPixelTransform,h);af(b.coordinateToPixelTransform,l);af(b.coordinateToPixelTransform,m);af(b.coordinateToPixelTransform,c);a.save();qi(a,-g,e/2,f/2);a.beginPath();a.moveTo(h[0]*d,h[1]*d);a.lineTo(l[0]*d,l[1]*d);a.lineTo(m[0]*d,m[1]*d);a.lineTo(c[0]*d,c[1]*d);a.clip();qi(a,g,e/2,f/2)} function Zi(a,b,c,d,e){var f=a.a;if(Tc(f,b)){var g=d.size[0]*d.pixelRatio,h=d.size[1]*d.pixelRatio,l=d.viewState.rotation;qi(c,-l,g/2,h/2);a=void 0!==e?e:$i(a,d,0);f.b(new bi(b,new Bi(c,d.pixelRatio,d.extent,a,d.viewState.rotation),d,c,null));qi(c,l,g/2,h/2)}}Xi.prototype.s=function(a,b,c,d){if(this.wa(a,b,0,Re,this))return c.call(d,this.a,null)};Xi.prototype.pf=function(a,b,c,d){Zi(this,"postcompose",a,b,d)}; function $i(a,b,c){var d=b.viewState,e=b.pixelRatio,f=e/d.resolution;return ef(a.V,e*b.size[0]/2,e*b.size[1]/2,f,-f,-d.rotation,-d.center[0]+c,-d.center[1])};function aj(a){Xi.call(this,a);this.l=We();this.j=null}w(aj,Xi);aj.prototype.df=function(a,b,c){Zi(this,"precompose",c,a,void 0);var d=this.Y();if(d){var e=b.extent,f=void 0!==e&&!La(e,a.extent)&&hb(e,a.extent);f&&Yi(c,a,e);e=this.v();var g=c.globalAlpha;c.globalAlpha=b.opacity;c.drawImage(d,0,0,+d.width,+d.height,Math.round(e[4]),Math.round(e[5]),Math.round(d.width*e[0]),Math.round(d.height*e[3]));c.globalAlpha=g;f&&c.restore()}this.pf(c,a,b)}; aj.prototype.wa=function(a,b,c,d,e){var f=this.a;return f.ha().wa(a,b.viewState.resolution,b.viewState.rotation,c,b.skippedFeatureUids,function(a){return d.call(e,a,f)})}; aj.prototype.s=function(a,b,c,d){if(this.Y()){if(this.a.ha().wa!==ea)return Xi.prototype.s.apply(this,arguments);var e=af(this.l,a.slice());Ge(e,b.viewState.resolution/this.i);this.j||(this.j=hg(1,1));this.j.clearRect(0,0,1,1);this.j.drawImage(this.Y(),e[0],e[1],1,1,0,0,1,1);e=this.j.getImageData(0,0,1,1).data;if(0a.g){var b=0,c;for(c in a.b){var d=a.b[c];0!==(b++&3)||Tc(d)||(delete a.b[c],--a.a)}}}cj.prototype.get=function(a,b,c){a=b+":"+a+":"+(c?xi(c):"null");return a in this.b?this.b[a]:null};cj.prototype.set=function(a,b,c,d){this.b[b+":"+a+":"+(c?xi(c):"null")]=d;++this.a};cj.prototype.c=function(a){this.g=a;dj(this)};var ej=new cj;function fj(a,b){this.l=b;this.c={};this.v={}}w(fj,Oc);function gj(a){var b=a.viewState,c=a.coordinateToPixelTransform,d=a.pixelToCoordinateTransform;ef(c,a.size[0]/2,a.size[1]/2,1/b.resolution,-1/b.resolution,-b.rotation,-b.center[0],-b.center[1]);ff($e(d,c))}function hj(){dj(ej)}k=fj.prototype; k.wa=function(a,b,c,d,e,f,g){function h(a,c){var f=x(a).toString(),g=b.layerStates[x(c)].Te;if(!(f in b.skippedFeatureUids)||g)return d.call(e,a,g?c:null)}var l,m=b.viewState,n=m.resolution,p=m.projection;m=a;if(p.g){p=p.G();var q=cb(p),r=a[0];if(rp[2])m=[r+q*Math.ceil((p[0]-r)/q),a[1]]}p=b.layerStatesArray;for(q=p.length-1;0<=q;--q){var u=p[q];r=u.layer;if(yg(u,n)&&f.call(g,r)&&(u=ij(this,r),r.ha()&&(l=u.wa(r.ha().D?m:a,b,c,h,e)),l))return l}}; k.Ui=function(a,b,c,d,e){return void 0!==this.wa(a,b,c,Re,this,d,e)};function ij(a,b){var c=x(b).toString();if(c in a.c)return a.c[c];for(var d,e=a.S(),f=0,g=pg.length;fb?1:ae;){if(600l-h/2?-1:1);c(a,b,Math.max(e,Math.floor(b-l*n/h+m)),Math.min(f,Math.floor(b+(h-l)*n/h+m)),g)}h=a[b];l=e;n=f;d(a,e,b);for(0g(a[l],h);)l++;for(;0b?1:0}function f(a,b){if(!(this instanceof f))return new f(a,b);this.Lf=Math.max(4,a||9);this.wh=Math.max(2,Math.ceil(.4*this.Lf));b&&this.Ak(b);this.clear()}function g(a,b){h(a,0,a.children.length,b,a)}function h(a,b,c,d,e){e||(e=v(null));e.fa=Infinity;e.ea=Infinity;e.la=-Infinity;e.ka=-Infinity;for(var f;b=a.fa&&b.ka>=a.ea}function v(a){return{children:a,height:1,fb:!0,fa:Infinity,ea:Infinity,la:-Infinity,ka:-Infinity}}function z(a,b,c,d,e){for(var f=[b,c],g;f.length;)c=f.pop(),b=f.pop(),c-b<=d||(g= b+Math.ceil((c-b)/d/2)*d,A(a,g,b,c,e),f.push(b,g,g,c))}var A=b;A.default=b;f.prototype={all:function(){return this.rh(this.data,[])},search:function(a){var b=this.data,c=[],d=this.xb;if(!u(a,b))return c;for(var e=[],f,g,h,l;b;){f=0;for(g=b.children.length;fthis.Lf)this.Dk(d, b),b--;else break;this.uk(c,d,b)},Dk:function(a,b){var c=a[b],d=c.children.length,e=this.wh;this.vk(c,e,d);d=this.wk(c,e,d);d=v(c.children.splice(d,c.children.length-d));d.height=c.height;d.fb=c.fb;g(c,this.xb);g(d,this.xb);b?a[b-1].children.push(d):this.yh(c,d)},yh:function(a,b){this.data=v([a,b]);this.data.height=a.height+1;this.data.fb=!1;g(this.data,this.xb)},wk:function(a,b,c){var d,e;var f=e=Infinity;for(d=b;d<=c-b;d++){var g=h(a,0,d,this.xb);var l=h(a,d,c,this.xb);var m=Math.max(0,Math.min(g.la, l.la)-Math.max(g.fa,l.fa))*Math.max(0,Math.min(g.ka,l.ka)-Math.max(g.ea,l.ea));g=p(g)+p(l);if(m=b;m--)n=a.children[m],l(f,a.fb?d(n):n),g+=q(f);return g}, uk:function(a,b,c){for(;0<=c;c--)l(b[c],a)},yk:function(a){for(var b=a.length-1,c;0<=b;b--)0===a[b].children.length?0e.width?e.width-n:v;l=l+p>e.height?e.height-p:l;v=a.La;var ta=z[3]+u*r+z[1],la=z[0]+l*r+z[2],ca=c-z[3],ia=d-z[0];if(S||0!==q){var xa=[ca,ia];var Va=[ca+ta,ia];var ic=[ca+ta,ia+la];var Xa=[ca,ia+la]}z=null;0!==q?(f=c+f,g=d+g,z=ef(Ia,f,g,1,1,q,-f,-g),Oa(v),Ea(v,af(Ia,xa)),Ea(v,af(Ia,Va)),Ea(v,af(Ia,ic)),Ea(v,af(Ia,Xa))):Na(ca,ia,ca+ta,ia+la,v);q=b.canvas;q=v[0]<=q.width&& 0<=v[2]&&v[1]<=q.height&&0<=v[3];if(h){if(q||1!=h[4])Ta(h,v),(a=q?[b,z?z.slice(0):null,m,e,n,p,u,l,c,d,r]:null)&&S&&a.push(A,E,xa,Va,ic,Xa),h.push(a)}else q&&(S&&xj(a,b,xa,Va,ic,Xa,A,E),si(b,z,m,e,n,p,u,l,c,d,r))}function Aj(a,b){var c=a.pixelRatio;return 1==c?b:b.map(function(a){return a*c})} function Bj(a,b,c,d,e,f,g){var h=a.coordinates.length,l=Cj(a);g&&(c+=e);g=[b[c],b[c+1]];var m=[NaN,NaN],n=!0,p;for(p=c+e;pXa&&(a.Xa(b),ta= 0);la>Xa&&(b.stroke(),la=0);ta||la||(b.beginPath(),v=z=NaN);++m;break;case 2:p=Z[1];var Le=h[p],Uf=h[p+1],Id=h[p+2]-Le,te=h[p+3]-Uf,Jh=Math.sqrt(Id*Id+te*te);b.moveTo(Le+Jh,Uf);b.arc(Le,Uf,Jh,0,2*Math.PI,!0);++m;break;case 3:b.closePath();++m;break;case 4:p=Z[1];q=Z[2];var Mg=Z[4],Ng=6==Z.length?Z[5]:void 0;ic.geometry=Z[3];ic.feature=Zb;m in xa||(xa[m]=[]);var Wf=xa[m];Ng?Ng(h,p,q,2,Wf):(Wf[0]=h[p],Wf[1]=h[p+1],Wf.length=2);Mg(Wf,ic);++m;break;case 6:p=Z[1];q=Z[2];Ia=Z[3];r=Z[4];u=Z[5];S=f?null: Z[6];var rf=Z[7],yu=Z[8],zu=Z[9],Au=Z[10],Bu=Z[11],jp=Z[12],Cu=Z[13],Du=Z[14],Eu=Z[15];if(16sf[zp-2],Cp=Ap.length,Lh=sf[ve],Mh=sf[ve+1];ve+=2;for(var Og=sf[ve],Pg=sf[ve+1],Ok=0,Oi=Math.sqrt(Math.pow(Og-Lh,2)+Math.pow(Pg-Mh,2)),Yf="",Pk=0,Pi=0;PiMath.PI?-2*Math.PI:Qi<-Math.PI?2*Math.PI:0;if(Math.abs(Qi)>Iu){var Sg=null;break a}}var Ep=Ju/Oi,Fp=ya(Lh,Og,Ep),Gp=ya(Mh,Pg,Ep);Ni==Rg?(Kh&&(Xf[0]=Fp,Xf[1]=Gp,Xf[2]=Qg/2),Xf[4]=Yf):(Yf=Qk,Pk=Qg,Xf=[Fp,Gp,Qg/2,Rg,Yf],Kh?Nk.unshift(Xf):Nk.push(Xf),Ni=Rg);Bp+=Qg}Sg=Nk}if(Sg){var Ri;if(sp){var Zf=0;for(Ri=Sg.length;Zfthis.Wa&&(this.Wa=c.lineWidth,this.i=null)):(c.strokeStyle=void 0,c.lineCap=void 0,c.lineDash=null,c.lineDashOffset=void 0,c.lineJoin=void 0,c.lineWidth=void 0,c.miterLimit= void 0)};k.Ah=function(a,b){var c=a.fillStyle;a=[10,c];"string"!==typeof c&&(b=b.G(),a.push([b[0],b[3]]));this.a.push(a)};k.pd=function(a){this.a.push([11,a.strokeStyle,a.lineWidth*this.pixelRatio,a.lineCap,a.lineJoin,a.miterLimit,Aj(this,a.lineDash),a.lineDashOffset*this.pixelRatio])};function Kj(a,b,c,d){var e=b.fillStyle;if("string"!==typeof e||b.Pk!=e)c.call(a,b,d),b.Pk=e} function Lj(a,b,c){var d=b.strokeStyle,e=b.lineCap,f=b.lineDash,g=b.lineDashOffset,h=b.lineJoin,l=b.lineWidth,m=b.miterLimit;if(b.Vk!=d||b.Qk!=e||f!=b.Fh&&!jc(b.Fh,f)||b.Rk!=g||b.Sk!=h||b.Tk!=l||b.Uk!=m)c.call(a,b),b.Vk=d,b.Qk=e,b.Fh=f,b.Rk=g,b.Sk=h,b.Tk=l,b.Uk=m}function Fj(a,b){a.qa[2]=a.a.length;a.qa=null;a.T[2]=a.b.length;a.T=null;b=[7,b];a.a.push(b);a.b.push(b)}k.bf=ea;function Cj(a){a.i||(a.i=Ga(a.Ea),0e.maxAngle&&(S>E&&(E=S,n=Ia,A=m),S=0,Ia=m-h)),z=g,v=r,u=q);r=ta;q=la}g=S+g>E?[Ia,m]:[n,A];m=g[0];n=g[1]}else n=l[f];for(g=m;g=p)&&d.push(n[g],n[g+1]);g=d.length;if(0==g)return}g=Bj(this,d,0,g,h,!1,!1);Ej(this,b);if(e.backgroundFill||e.backgroundStroke)this.Oa(e.backgroundFill,e.backgroundStroke),Kj(this,this.state, this.Ah,a),Lj(this,this.state,this.pd);Uj(this,l,c,g)}Fj(this,b)}}; Sj.prototype.Y=function(a,b,c,d){var e=d+b+a+c+this.pixelRatio;if(!ii.a.hasOwnProperty(e)){var f=d?this.ab[d]||this.g:null,g=c?this.o[c]||this.c:null,h=this.s[b]||this.f,l=h.scale*this.pixelRatio,m=vj[h.textAlign||"center"];b=d&&f.lineWidth?f.lineWidth:0;a=a.split("\n");var n=a.length,p=[],q=h.font;var r=a.length;var u=0;var v;for(v=0;v=e)for(d=e;d=d;)Xj(c,a+b,a+d),Xj(c,a+d,a+b),Xj(c,a-d,a+b),Xj(c,a-b,a+d),Xj(c,a-b,a-d),Xj(c,a-d,a-b),Xj(c,a+d,a-b),Xj(c,a+b,a-d),d++,e+=1+2*d,0<2*(e-b)+1&&(--b,e+=1-2*b);return Wj[a]=c}k=Vj.prototype;k.Vb=function(a){var b=null;this.a&&(a?(b=this.g,b[4]++):(b=this.g=Da(),b.push(1)));return b};function Zj(a){for(var b in a.b){var c=a.b[b],d;for(d in c)c[d].bf()}} k.wa=function(a,b,c,d,e,f,g){function h(a){for(var b=n.getImageData(0,0,l,l).data,c=0;cm[2];)++Ia,p=n*Ia,p=$i(this,a,p),r.Na(A,p,l,f),h-=n;p=$i(this,a,0)}qi(A,l,S/2,e/2);A!=c&&(z&&Zi(this,"render",A,a,p),v?(d=c.globalAlpha,c.globalAlpha=b.opacity,c.drawImage(A.canvas,-q,-u),c.globalAlpha=d):c.drawImage(A.canvas, -q,-u),A.translate(-q,-u));v||(A.globalAlpha=E)}g&&c.restore();this.pf(c,a,b,p)};k.wa=function(a,b,c,d,e){if(this.c){var f=this.a,g={};return this.c.wa(a,b.viewState.resolution,b.viewState.rotation,c,{},function(a){var b=x(a).toString();if(!(b in g))return g[b]=!0,d.call(e,a,f)},null)}};k.Vi=function(){var a=this.a;a.Jb()&&this.c&&a.u()};k.Wi=function(){Mi(this)}; k.$c=function(a){var b=this.a,c=b.ha();Ui(a,c);var d=a.viewHints[0],e=a.viewHints[1],f=b.ca,g=b.ra;if(!this.i&&!f&&d||!g&&e)return!0;f=a.extent;var h=a.viewState;g=h.projection;var l=h.resolution,m=a.pixelRatio;d=b.g;var n=b.f;e=b.get(ik);void 0===e&&(e=ck);f=Fa(f,n*l);n=h.projection.G();c.D&&h.projection.g&&!La(n,a.extent)&&(a=Math.max(cb(f)/2,cb(n)),f[0]=n[0]-a,f[2]=n[2]+a);if(!this.i&&this.o==l&&this.N==d&&this.v==e&&La(this.l,f))return this.j=!1,!0;this.c=null;this.i=!1;var p=new Vj(.5*l/m,f, l,m,c.$,this.f,b.f);c.ae(f,l,g);a=function(a){var c=a.ib();if(c)var d=c.call(a,l);else(c=b.ib())&&(d=c(a,l));if(d){if(d){c=!1;if(Array.isArray(d))for(var e=0,f=d.length;e>1),h=+dc(g[e],c),0>h?l=e+1:(m=e,n=!h);e=n?l:~l;0>e?(c=(c-g[-e-2])/(g[-e-1]-g[-e-2]),b+=(-e-2)*d,g=ya(a[b],a[b+d],c),h=ya(a[b+1],a[b+d+1],c)):(g=a[b+e*d],h=a[b+e*d+1])}return f? (f[0]=g,f[1]=h,f):[g,h]}function Sk(a,b,c,d,e,f){if(c==b)return null;if(e>1,e=a.j?1:Me(b/a.j)};function el(a,b,c,d,e,f){cl.call(this,a,b,f);this.f=d;this.l=c;this.M=new Image;null!==d&&(this.M.crossOrigin=d);this.c=null;this.v=e}w(el,cl);k=el.prototype;k.ia=function(){1==this.state&&(fl(this),this.M=gl());this.g&&Pc(this.g);this.state=5;this.u();cl.prototype.ia.call(this)};k.Y=function(){return this.M};k.lb=function(){return this.l};k.hn=function(){this.state=3;fl(this);this.M=gl();this.u()};k.jn=function(){this.state=this.M.naturalWidth&&this.M.naturalHeight?2:4;fl(this);this.u()}; k.load=function(){3==this.state&&(this.state=0,this.M=new Image,null!==this.f&&(this.M.crossOrigin=this.f));0==this.state&&(this.state=1,this.u(),this.c=[Lc(this.M,"error",this.hn,this),Lc(this.M,"load",this.jn,this)],this.v(this,this.l))};function fl(a){a.c.forEach(Gc);a.c=null}function gl(){var a=hg(1,1);a.fillStyle="rgba(0,0,0,0)";a.fillRect(0,0,1,1);return a.canvas};function hl(a){this.b=a};function il(a){this.b=a}w(il,hl);il.prototype.S=function(){return 35632};function jl(a){this.b=a}w(jl,hl);jl.prototype.S=function(){return 35633};var kl=new il("precision mediump float;varying vec2 a;varying vec2 b;varying float c;varying float d;uniform float m;uniform vec4 n;uniform vec4 o;uniform vec2 p;void main(void){vec2 windowCenter=vec2((a.x+1.0)/2.0*p.x*d,(a.y+1.0)/2.0*p.y*d);vec2 windowOffset=vec2((b.x+1.0)/2.0*p.x*d,(b.y+1.0)/2.0*p.y*d);float radius=length(windowCenter-windowOffset);float dist=length(windowCenter-gl_FragCoord.xy);if(dist>radius+c){if(o.a==0.0){gl_FragColor=n;}else{gl_FragColor=o;}gl_FragColor.a=gl_FragColor.a-(dist-(radius+c));}else if(n.a==0.0){gl_FragColor=o;if(diststrokeDist){gl_FragColor=o;}else if(dist>=strokeDist-antialias){float step=smoothstep(strokeDist-antialias,strokeDist,dist);gl_FragColor=mix(n,o,step);}} gl_FragColor.a=gl_FragColor.a*m;if(gl_FragColor.a<=0.0){discard;}}"), ll=new jl("varying vec2 a;varying vec2 b;varying float c;varying float d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;void main(void){mat4 offsetMatrix=i*j;a=vec4(h*vec4(e,0.0,1.0)).xy;d=l;float lineWidth=k*l;c=lineWidth/2.0;if(lineWidth==0.0){lineWidth=2.0*l;}vec2 offset;float radius=g+3.0*l;//Until we get gl_VertexID in WebGL,we store an instruction.if(f==0.0){//Offsetting the edges of the triangle by lineWidth/2 is necessary,however//we should also leave some space for the antialiasing,thus we offset by lineWidth.offset=vec2(-1.0,1.0);}else if(f==1.0){offset=vec2(-1.0,-1.0);}else if(f==2.0){offset=vec2(1.0,-1.0);}else{offset=vec2(1.0,1.0);}gl_Position=h*vec4(e+offset*radius,0.0,1.0)+offsetMatrix*vec4(offset*lineWidth,0.0,0.0);b=vec4(h*vec4(e.x+g,e.y,0.0,1.0)).xy;if(distance(a,b)>20000.0){gl_Position=vec4(a,0.0,1.0);}}");function ml(a,b){this.g=a.getUniformLocation(b,"h");this.i=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.oa=a.getUniformLocation(b,"k");this.qa=a.getUniformLocation(b,"l");this.a=a.getUniformLocation(b,"m");this.C=a.getUniformLocation(b,"n");this.O=a.getUniformLocation(b,"o");this.T=a.getUniformLocation(b,"p");this.b=a.getAttribLocation(b,"e");this.j=a.getAttribLocation(b,"f");this.N=a.getAttribLocation(b,"g")};function nl(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function pl(a,b){a[0]=b[0];a[1]=b[1];a[4]=b[2];a[5]=b[3];a[12]=b[4];a[13]=b[5];return a};function ql(a,b){this.origin=eb(b);this.bb=We();this.Ea=We();this.La=We();this.V=nl();this.b=[];this.j=null;this.g=[];this.i=[];this.a=[];this.s=null;this.f=void 0}w(ql,Ai); ql.prototype.Na=function(a,b,c,d,e,f,g,h,l,m,n){var p=a.b;if(this.f){var q=p.isEnabled(p.STENCIL_TEST);var r=p.getParameter(p.STENCIL_FUNC);var u=p.getParameter(p.STENCIL_VALUE_MASK);var v=p.getParameter(p.STENCIL_REF);var z=p.getParameter(p.STENCIL_WRITEMASK);var A=p.getParameter(p.STENCIL_FAIL);var E=p.getParameter(p.STENCIL_PASS_DEPTH_PASS);var S=p.getParameter(p.STENCIL_PASS_DEPTH_FAIL);p.enable(p.STENCIL_TEST);p.clear(p.STENCIL_BUFFER_BIT);p.stencilMask(255);p.stencilFunc(p.ALWAYS,1,255);p.stencilOp(p.KEEP, p.KEEP,p.REPLACE);this.f.Na(a,b,c,d,e,f,g,h,l,m,n);p.stencilMask(0);p.stencilFunc(p.NOTEQUAL,1,255)}rl(a,34962,this.s);rl(a,34963,this.j);f=this.Bf(p,a,e,f);var Ia=Xe(this.bb);cf(Ia,2/(c*e[0]),2/(c*e[1]));bf(Ia,-d);df(Ia,-(b[0]-this.origin[0]),-(b[1]-this.origin[1]));b=Xe(this.La);cf(b,2/e[0],2/e[1]);e=Xe(this.Ea);0!==d&&bf(e,-d);p.uniformMatrix4fv(f.g,!1,pl(this.V,Ia));p.uniformMatrix4fv(f.i,!1,pl(this.V,b));p.uniformMatrix4fv(f.c,!1,pl(this.V,e));p.uniform1f(f.a,g);if(void 0===l)this.Od(p,a,h,!1); else{m?a=this.Ee(p,a,h,l,n):(p.clear(p.COLOR_BUFFER_BIT|p.DEPTH_BUFFER_BIT),this.Od(p,a,h,!0),a=(a=l(null))?a:void 0);var ta=a}this.Cf(p,f);this.f&&(q||p.disable(p.STENCIL_TEST),p.clear(p.STENCIL_BUFFER_BIT),p.stencilFunc(r,v,u),p.stencilMask(z),p.stencilOp(A,S,E));return ta};function sl(a,b,c,d){a.drawElements(4,d-c,b.f?5125:5123,c*(b.f?4:2))};var tl=[0,0,0,1],ul=[],vl=[0,0,0,1];function wl(a,b,c,d,e,f){a=(c-a)*(f-b)-(e-a)*(d-b);return a<=xl&&a>=-xl?void 0:0f;f+=d)this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=0,this.a[b++]=this.N,this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=1,this.a[b++]=this.N,this.a[b++]=a[f],this.a[b++]=a[f+1],this.a[b++]=2,this.a[b++]=this.N,this.a[b++]=a[f],this.a[b++]= a[f+1],this.a[b++]=3,this.a[b++]=this.N,this.b[c++]=e,this.b[c++]=e+1,this.b[c++]=e+2,this.b[c++]=e+2,this.b[c++]=e+3,this.b[c++]=e,e+=4}else this.c.u&&(this.l.pop(),this.l.length&&(d=this.l[this.l.length-1],this.c.fillColor=d[0],this.c.strokeColor=d[1],this.c.lineWidth=d[2],this.c.u=!1))};k.gb=function(){this.s=new yl(this.a);this.j=new yl(this.b);this.g.push(this.b.length);0===this.o.length&&0=h;){var l=this.g[g];var m=this.i[g];m=x(m).toString();c[m]&&(d!==f&&sl(a,b,d,f),f=l);g--;d=l}d!==f&&sl(a,b,d,f);d=f=h}}}; k.Ee=function(a,b,c,d,e){var f,g;var h=this.g.length-2;var l=this.g[h+1];for(f=this.o.length-1;0<=f;--f){var m=this.l[f];a.uniform4fv(this.v.C,m[0]);Dl(this,a,m[1],m[2]);for(g=this.o[f];0<=h&&this.g[h]>=g;){m=this.g[h];var n=this.i[h];var p=x(n).toString();if(void 0===c[p]&&n.U()&&(void 0===e||hb(e,n.U().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),sl(a,b,m,l),l=d(n)))return l;h--;l=m}}};function Dl(a,b,c,d){b.uniform4fv(a.v.O,c);b.uniform1f(a.v.oa,d)} k.Oa=function(a,b){if(b){var c=b.g;this.c.lineDash=c?c:ul;c=b.i;this.c.lineDashOffset=c?c:0;c=b.a;c instanceof CanvasGradient||c instanceof CanvasPattern?c=vl:c=vi(c).map(function(a,b){return 3!=b?a/255:a})||vl;b=b.c;b=void 0!==b?b:1}else c=[0,0,0,0],b=0;a=a?a.b:[0,0,0,0];a instanceof CanvasGradient||a instanceof CanvasPattern?a=tl:a=vi(a).map(function(a,b){return 3!=b?a/255:a})||tl;this.c.strokeColor&&jc(this.c.strokeColor,c)&&this.c.fillColor&&jc(this.c.fillColor,a)&&this.c.lineWidth===b||(this.c.u= !0,this.c.fillColor=a,this.c.strokeColor=c,this.c.lineWidth=b,this.l.push([a,c,b]))};var El=new il("precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),Fl=new jl("varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.0,0.0);gl_Position=h*vec4(c,0.0,1.0)+offsets;a=d;b=f;}");function Gl(a,b){this.g=a.getUniformLocation(b,"h");this.i=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.a=a.getUniformLocation(b,"k");this.b=a.getAttribLocation(b,"c");this.B=a.getAttribLocation(b,"d");this.v=a.getAttribLocation(b,"e");this.o=a.getAttribLocation(b,"f");this.D=a.getAttribLocation(b,"g")};function Hl(a,b){this.j=a;this.b=b;this.a={};this.c={};this.g={};this.s=this.v=this.i=this.l=null;(this.f=ec(da,"OES_element_index_uint"))&&b.getExtension("OES_element_index_uint");y(this.j,"webglcontextlost",this.zp,this);y(this.j,"webglcontextrestored",this.Ap,this)}w(Hl,Oc); function rl(a,b,c){var d=a.b,e=c.b,f=String(x(c));if(f in a.a)d.bindBuffer(b,a.a[f].buffer);else{var g=d.createBuffer();d.bindBuffer(b,g);var h;34962==b?h=new Float32Array(e):34963==b&&(h=a.f?new Uint32Array(e):new Uint16Array(e));d.bufferData(b,h,c.a);a.a[f]={tc:c,buffer:g}}}function Bl(a,b){var c=a.b;b=String(x(b));var d=a.a[b];c.isContextLost()||c.deleteBuffer(d.buffer);delete a.a[b]}k=Hl.prototype; k.ia=function(){Nc(this.j);var a=this.b;if(!a.isContextLost()){for(var b in this.a)a.deleteBuffer(this.a[b].buffer);for(b in this.g)a.deleteProgram(this.g[b]);for(b in this.c)a.deleteShader(this.c[b]);a.deleteFramebuffer(this.i);a.deleteRenderbuffer(this.s);a.deleteTexture(this.v)}};k.yp=function(){return this.b}; function Il(a){if(!a.i){var b=a.b,c=b.createFramebuffer();b.bindFramebuffer(b.FRAMEBUFFER,c);var d=Jl(b,1,1),e=b.createRenderbuffer();b.bindRenderbuffer(b.RENDERBUFFER,e);b.renderbufferStorage(b.RENDERBUFFER,b.DEPTH_COMPONENT16,1,1);b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,d,0);b.framebufferRenderbuffer(b.FRAMEBUFFER,b.DEPTH_ATTACHMENT,b.RENDERBUFFER,e);b.bindTexture(b.TEXTURE_2D,null);b.bindRenderbuffer(b.RENDERBUFFER,null);b.bindFramebuffer(b.FRAMEBUFFER,null);a.i=c; a.v=d;a.s=e}return a.i}function Kl(a,b){var c=String(x(b));if(c in a.c)return a.c[c];var d=a.b,e=d.createShader(b.S());d.shaderSource(e,b.b);d.compileShader(e);return a.c[c]=e}function Cl(a,b,c){var d=x(b)+"/"+x(c);if(d in a.g)return a.g[d];var e=a.b,f=e.createProgram();e.attachShader(f,Kl(a,b));e.attachShader(f,Kl(a,c));e.linkProgram(f);return a.g[d]=f}k.zp=function(){lb(this.a);lb(this.c);lb(this.g);this.s=this.v=this.i=this.l=null};k.Ap=function(){}; k.cd=function(a){if(a==this.l)return!1;this.b.useProgram(a);this.l=a;return!0};function Ll(a,b,c){var d=a.createTexture();a.bindTexture(a.TEXTURE_2D,d);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);void 0!==b&&a.texParameteri(3553,10242,b);void 0!==c&&a.texParameteri(3553,10243,c);return d}function Jl(a,b,c){var d=Ll(a,void 0,void 0);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,b,c,0,a.RGBA,a.UNSIGNED_BYTE,null);return d} function Ml(a,b){var c=Ll(a,33071,33071);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b);return c};function Nl(a,b){ql.call(this,a,b);this.C=this.D=void 0;this.v=[];this.o=[];this.qa=this.oa=this.height=void 0;this.Wa=null;this.width=this.scale=this.rotation=this.rotateWithView=this.O=this.T=this.opacity=void 0}w(Nl,ql);k=Nl.prototype;k.Db=function(a){var b=this.s,c=this.j,d=this.ig(!0),e=a.b;return function(){if(!e.isContextLost()){var f;var g=0;for(f=d.length;g=m;){var n=this.g[h];var p=this.i[h];var q=x(p).toString();if(void 0===c[q]&&p.U()&&(void 0===e||hb(e,p.U().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),sl(a,b,n,g),g=d(p)))return g;g=n;h--}}}; k.gb=function(){this.qa=this.oa=this.height=this.C=this.D=void 0;this.b=null;this.scale=this.rotation=this.rotateWithView=this.O=this.T=this.opacity=void 0;this.a=null;this.width=void 0};function Ql(a,b){Nl.call(this,a,b);this.l=[];this.c=[];this.B=[];this.N=[]}w(Ql,Nl);k=Ql.prototype;k.wc=function(a,b){this.g.push(this.b.length);this.i.push(b);b=a.da();Ol(this,b,b.length,a.pa())};k.yc=function(a,b){this.g.push(this.b.length);this.i.push(b);b=a.da();Ol(this,b,b.length,a.pa())}; k.gb=function(a){var b=a.b;this.v.push(this.b.length);this.o.push(this.b.length);this.s=new yl(this.a);this.j=new yl(this.b);var c={};Pl(this.B,this.l,c,b);Pl(this.N,this.c,c,b);this.c=this.l=null;Nl.prototype.gb.call(this,a)}; k.Zb=function(a){var b=a.Vc(),c=a.Y(1),d=a.He(),e=a.Eg(),f=a.i,g=a.bd(),h=a.s,l=a.f,m=a.oc();a=a.a;if(0===this.l.length)this.l.push(c);else{var n=this.l[this.l.length-1];x(n)!=x(c)&&(this.v.push(this.b.length),this.l.push(c))}0===this.c.length?this.c.push(e):(n=this.c[this.c.length-1],x(n)!=x(e)&&(this.o.push(this.b.length),this.c.push(e)));this.D=b[0];this.C=b[1];this.height=m[1];this.oa=d[1];this.qa=d[0];this.opacity=f;this.T=g[0];this.O=g[1];this.rotation=l;this.rotateWithView=h;this.scale=a;this.width= m[0]};k.ig=function(a){return a?this.B.concat(this.N):this.B};k.ag=function(){return this.N};function Rl(a,b,c){var d=b-c;return a[0]===a[d]&&a[1]===a[d+1]&&3<(b-0)/c?!!mf(a,0,b,c):!1};var Sl=new il("precision mediump float;varying float a;varying vec2 aVertex;varying float c;uniform float m;uniform vec4 n;uniform vec2 o;uniform float p;void main(void){if(a>0.0){vec2 windowCoords=vec2((aVertex.x+1.0)/2.0*o.x*p,(aVertex.y+1.0)/2.0*o.y*p);if(length(windowCoords-gl_FragCoord.xy)>c*p){discard;}} gl_FragColor=n;float alpha=n.a*m;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),Tl=new jl("varying float a;varying vec2 aVertex;varying float c;attribute vec2 d;attribute vec2 e;attribute vec2 f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;bool nearlyEquals(in float value,in float ref){float epsilon=0.000000000001;return value>=ref-epsilon&&value<=ref+epsilon;}void alongNormal(out vec2 offset,in vec2 nextP,in float turnDir,in float direction){vec2 dirVect=nextP-e;vec2 normal=normalize(vec2(-turnDir*dirVect.y,turnDir*dirVect.x));offset=k/2.0*normal*direction;}void miterUp(out vec2 offset,out float round,in bool isRound,in float direction){float halfWidth=k/2.0;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=f-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;round=0.0;if(isRound){round=1.0;}else if(miterLength>l+k){offset=halfWidth*tmpNormal*direction;}} bool miterDown(out vec2 offset,in vec4 projPos,in mat4 offsetMatrix,in float direction){bool degenerate=false;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=d-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));vec2 longOffset,shortOffset,longVertex;vec4 shortProjVertex;float halfWidth=k/2.0;if(length(f-e)>length(d-e)){longOffset=tmpNormal*direction*halfWidth;shortOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=f;shortProjVertex=h*vec4(d,0.0,1.0);}else{shortOffset=tmpNormal*direction*halfWidth;longOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=d;shortProjVertex=h*vec4(f,0.0,1.0);}vec4 p1=h*vec4(longVertex,0.0,1.0)+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p2=projPos+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p3=shortProjVertex+offsetMatrix*vec4(-shortOffset,0.0,0.0);vec4 p4=shortProjVertex+offsetMatrix*vec4(shortOffset,0.0,0.0);float denom=(p4.y-p3.y)*(p2.x-p1.x)-(p4.x-p3.x)*(p2.y-p1.y);float firstU=((p4.x-p3.x)*(p1.y-p3.y)-(p4.y-p3.y)*(p1.x-p3.x))/denom;float secondU=((p2.x-p1.x)*(p1.y-p3.y)-(p2.y-p1.y)*(p1.x-p3.x))/denom;float epsilon=0.000000000001;if(firstU>epsilon&&firstU<1.0-epsilon&&secondU>epsilon&&secondU<1.0-epsilon){shortProjVertex.x=p1.x+firstU*(p2.x-p1.x);shortProjVertex.y=p1.y+firstU*(p2.y-p1.y);offset=shortProjVertex.xy;degenerate=true;}else{float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;}return degenerate;}void squareCap(out vec2 offset,out float round,in bool isRound,in vec2 nextP,in float turnDir,in float direction){round=0.0;vec2 dirVect=e-nextP;vec2 firstNormal=normalize(dirVect);vec2 secondNormal=vec2(turnDir*firstNormal.y*direction,-turnDir*firstNormal.x*direction);vec2 hypotenuse=normalize(firstNormal-secondNormal);vec2 normal=vec2(turnDir*hypotenuse.y*direction,-turnDir*hypotenuse.x*direction);float length=sqrt(c*c*2.0);offset=normal*length;if(isRound){round=1.0;}} void main(void){bool degenerate=false;float direction=float(sign(g));mat4 offsetMatrix=i*j;vec2 offset;vec4 projPos=h*vec4(e,0.0,1.0);bool round=nearlyEquals(mod(g,2.0),0.0);a=0.0;c=k/2.0;aVertex=projPos.xy;if(nearlyEquals(mod(g,3.0),0.0)||nearlyEquals(mod(g,17.0),0.0)){alongNormal(offset,f,1.0,direction);}else if(nearlyEquals(mod(g,5.0),0.0)||nearlyEquals(mod(g,13.0),0.0)){alongNormal(offset,d,-1.0,direction);}else if(nearlyEquals(mod(g,23.0),0.0)){miterUp(offset,a,round,direction);}else if(nearlyEquals(mod(g,19.0),0.0)){degenerate=miterDown(offset,projPos,offsetMatrix,direction);}else if(nearlyEquals(mod(g,7.0),0.0)){squareCap(offset,a,round,f,1.0,direction);}else if(nearlyEquals(mod(g,11.0),0.0)){squareCap(offset,a,round,d,-1.0,direction);}if(!degenerate){vec4 offsets=offsetMatrix*vec4(offset,0.0,0.0);gl_Position=projPos+offsets;}else{gl_Position=vec4(offset,0.0,1.0);}}");function Ul(a,b){this.g=a.getUniformLocation(b,"h");this.i=a.getUniformLocation(b,"i");this.c=a.getUniformLocation(b,"j");this.oa=a.getUniformLocation(b,"k");this.O=a.getUniformLocation(b,"l");this.a=a.getUniformLocation(b,"m");this.C=a.getUniformLocation(b,"n");this.T=a.getUniformLocation(b,"o");this.qa=a.getUniformLocation(b,"p");this.l=a.getAttribLocation(b,"d");this.b=a.getAttribLocation(b,"e");this.s=a.getAttribLocation(b,"f");this.f=a.getAttribLocation(b,"g")};function Vl(a,b){ql.call(this,a,b);this.v=null;this.o=[];this.l=[];this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,u:!1}}w(Vl,ql); function Wl(a,b,c,d){var e,f=a.a.length,g=a.b.length,h="bevel"===a.c.lineJoin?0:"miter"===a.c.lineJoin?1:2,l="butt"===a.c.lineCap?0:"square"===a.c.lineCap?1:2,m=Rl(b,c,d),n=g,p=1;for(e=0;ec&&(this.g.push(c),this.i.push(b),this.c.u&&(this.l.push(c),this.c.u=!1))}; function gm(a,b,c,d){Rl(b,b.length,d)||(b.push(b[0]),b.push(b[1]));Wl(a,b,b.length,d);if(c.length){var e;b=0;for(e=c.length;b=n;){var p=this.g[m]; var q=this.i[m];q=x(q).toString();c[q]&&(g!==l&&(sl(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT)),l=p);m--;g=p}g!==l&&(sl(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT));g=l=n}}d||(a.disable(a.DEPTH_TEST),a.clear(a.DEPTH_BUFFER_BIT),a.depthMask(f),a.depthFunc(e))}; k.Ee=function(a,b,c,d,e){var f,g;var h=this.g.length-2;var l=this.g[h+1];for(f=this.l.length-1;0<=f;--f){var m=this.o[f];im(this,a,m[0],m[1],m[2]);for(g=this.l[f];0<=h&&this.g[h]>=g;){m=this.g[h];var n=this.i[h];var p=x(n).toString();if(void 0===c[p]&&n.U()&&(void 0===e||hb(e,n.U().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),sl(a,b,m,l),l=d(n)))return l;h--;l=m}}};function im(a,b,c,d,e){b.uniform4fv(a.v.C,c);b.uniform1f(a.v.oa,d);b.uniform1f(a.v.O,e)} k.Oa=function(a,b){a=b.f;this.c.lineCap=void 0!==a?a:"round";a=b.g;this.c.lineDash=a?a:ul;a=b.i;this.c.lineDashOffset=a?a:0;a=b.j;this.c.lineJoin=void 0!==a?a:"round";a=b.a;a instanceof CanvasGradient||a instanceof CanvasPattern?a=vl:a=vi(a).map(function(a,b){return 3!=b?a/255:a})||vl;var c=b.c;c=void 0!==c?c:1;b=b.l;b=void 0!==b?b:10;this.c.strokeColor&&jc(this.c.strokeColor,a)&&this.c.lineWidth===c&&this.c.miterLimit===b||(this.c.u=!0,this.c.strokeColor=a,this.c.lineWidth=c,this.c.miterLimit=b, this.o.push([a,c,b]))};var Zl=3,$l=5,Yl=7,am=11,bm=13,cm=17,dm=19,em=23;var jm=new il("precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"),km=new jl("attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}");function lm(a,b){this.g=a.getUniformLocation(b,"b");this.i=a.getUniformLocation(b,"c");this.c=a.getUniformLocation(b,"d");this.C=a.getUniformLocation(b,"e");this.a=a.getUniformLocation(b,"f");this.b=a.getAttribLocation(b,"a")};function mm(){this.b=this.a=this.g=void 0;this.c=0}function nm(a){var b=a.b;if(b){var c=b.next,d=b.Eb;c&&(c.Eb=d);d&&(d.next=c);a.b=c||d;a.g===a.a?(a.b=void 0,a.g=void 0,a.a=void 0):a.g===b?a.g=a.b:a.a===b&&(a.a=d?a.b.Eb:a.b);a.c--}}function om(a){a.b=a.g;if(a.b)return a.b.data}function pm(a){if(a.b&&a.b.next)return a.b=a.b.next,a.b.data}function qm(a){if(a.b&&a.b.next)return a.b.next.data}function rm(a){if(a.b&&a.b.Eb)return a.b=a.b.Eb,a.b.data}function sm(a){if(a.b&&a.b.Eb)return a.b.Eb.data} function tm(a){if(a.b)return a.b.data}mm.prototype.concat=function(a){if(a.b){if(this.b){var b=this.b.next;this.b.next=a.g;a.g.Eb=this.b;b.Eb=a.a;a.a.next=b;this.c+=a.c}else this.b=a.b,this.g=a.g,this.a=a.a,this.c=a.c;a.b=void 0;a.g=void 0;a.a=void 0;a.c=0}};function um(){this.a=rj.Jc(void 0);this.b={}}k=um.prototype;k.Ca=function(a,b){a={fa:a[0],ea:a[1],la:a[2],ka:a[3],value:b};this.a.Ca(a);this.b[x(b)]=a};k.load=function(a,b){for(var c=Array(b.length),d=0,e=b.length;d=g;p-=c)q=Im(a,b[p],b[p+1],h++),m.push(Jm(n,q,d)),l.push([Math.min(n.x,q.x),Math.min(n.y,q.y),Math.max(n.x,q.x),Math.max(n.y,q.y)]),n=q;m.push(Jm(q,f,d));l.push([Math.min(n.x,q.x), Math.min(n.y,q.y),Math.max(n.x,q.x),Math.max(n.y,q.y)]);e.load(l,m)}function Dm(a){var b=om(a),c=b,d=[c.Z.x,c.Z.y];do c=pm(a),c.Z.x>d[0]&&(d=[c.Z.x,c.Z.y]);while(c!==b);return d}function Em(a,b,c){var d=om(a),e=d,f=pm(a),g=!1;do{var h=c?wl(f.X.x,f.X.y,e.X.x,e.X.y,e.Z.x,e.Z.y):wl(e.Z.x,e.Z.y,e.X.x,e.X.y,f.X.x,f.X.y);void 0===h?(Km(e,f,a,b),g=!0,f===d&&(d=qm(a)),f=e,rm(a)):e.X.Kb!==h&&(e.X.Kb=h,g=!0);e=f;f=pm(a)}while(e!==d);return g} function Gm(a,b,c,d,e){for(var f=om(a);f.X.x!==b;)f=pm(a);b=f.X;d={x:d,y:b.y,qb:-1};var g=Infinity,h;var l=Fm({Z:b,X:d},e,!0);var m=0;for(h=l.length;mxl&&d<1-xl&&c>xl&&c<1-xl||e&&0<=d&&1>=d&&0<=c&&1>=c))return[a.x+d*(b.x-a.x),a.y+d*(b.y-a.y)]} function Qm(a,b,c,d,e){if(void 0===b.Kb||void 0===d.Kb)return!1;var f=(c.x-d.x)*(b.y-d.y)>(c.y-d.y)*(b.x-d.x);e=(e.x-d.x)*(b.y-d.y)<(e.y-d.y)*(b.x-d.x);a=(a.x-b.x)*(d.y-b.y)>(a.y-b.y)*(d.x-b.x);c=(c.x-b.x)*(d.y-b.y)<(c.y-b.y)*(d.x-b.x);b=b.Kb?c||a:c&&a;return(d.Kb?e||f:e&&f)&&b}k=Am.prototype; k.xc=function(a,b){var c=a.td(),d=a.pa(),e=this.b.length,f=this.f.b.length;a=a.da();var g,h,l;var m=h=0;for(g=c.length;me&&(this.g.push(e),this.i.push(b),this.l.u&&(this.c.push(e),this.l.u=!1));this.f.b.length>f&&hm(this.f, b,f)};k.zc=function(a,b){var c=a.pb(),d=a.pa();if(0=n;){var p=this.g[m];var q=this.i[m];q=x(q).toString(); c[q]&&(g!==l&&(sl(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT)),l=p);m--;g=p}g!==l&&(sl(a,b,g,l),a.clear(a.DEPTH_BUFFER_BIT));g=l=n}}d||(a.disable(a.DEPTH_TEST),a.clear(a.DEPTH_BUFFER_BIT),a.depthMask(f),a.depthFunc(e))}; k.Ee=function(a,b,c,d,e){var f,g;var h=this.g.length-2;var l=this.g[h+1];for(f=this.c.length-1;0<=f;--f){var m=this.o[f];a.uniform4fv(this.v.C,m);for(g=this.c[f];0<=h&&this.g[h]>=g;){m=this.g[h];var n=this.i[h];var p=x(n).toString();if(void 0===c[p]&&n.U()&&(void 0===e||hb(e,n.U().G()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),sl(a,b,m,l),l=d(n)))return l;h--;l=m}}}; k.Oa=function(a,b){a=a?a.b:[0,0,0,0];a instanceof CanvasGradient||a instanceof CanvasPattern?a=tl:a=vi(a).map(function(a,b){return 3!=b?a/255:a})||tl;this.l.fillColor&&jc(a,this.l.fillColor)||(this.l.fillColor=a,this.l.u=!0,this.o.push(a));b?this.f.Oa(null,b):this.f.Oa(null,new Ak({color:[0,0,0,0],lineWidth:0}))};function Rm(a,b){this.b=b;this.a=[{x:0,y:0,width:a,height:a}];this.c={};this.g=hg(a,a);this.i=this.g.canvas}Rm.prototype.get=function(a){return this.c[a]||null}; Rm.prototype.add=function(a,b,c,d,e){var f;var g=0;for(f=this.a.length;g=b+this.b&&h.height>=c+this.b)return f={offsetX:h.x+this.b,offsetY:h.y+this.b,image:this.i},this.c[a]=f,d.call(e,this.g,h.x+this.b,h.y+this.b),a=g,b+=this.b,d=c+this.b,h.width-b>h.height-d?(c={x:h.x+b,y:h.y,width:h.width-b,height:h.height},b={x:h.x,y:h.y+d,width:b,height:h.height-d},Sm(this,a,c,b)):(c={x:h.x+b,y:h.y,width:h.width-b,height:d},b={x:h.x,y:h.y+d,width:h.width,height:h.height-d}, Sm(this,a,c,b)),f}return null};function Sm(a,b,c,d){b=[b,1];0this.g||c+this.b>this.g)return null;d=Wm(this,!1,a,b,c,d,f);if(!d)return null;a=Wm(this,!0,a,b,c,void 0!==e?e:ea,f);return Vm(d,a)};function Wm(a,b,c,d,e,f,g){var h=b?a.i:a.f,l;var m=0;for(l=h.length;ma[0]||a[0]>e[0]||0>a[1]||a[1]>e[1])&&(this.i|| (this.i=hg(1,1)),this.i.clearRect(0,0,1,1),this.i.drawImage(this.M.Y(),a[0],a[1],1,1,0,0,1,1),e=this.i.getImageData(0,0,1,1).data,0d?b[0]=d-c:0>e&&(b[0]=Math.abs(e)+c),0>f?b[1]=f-c:0>g&&(b[1]=Math.abs(g)+c),0=== b[0]&&0===b[1])||(c=a.aa().xa(),c=a.Ia(c),b=[c[0]+b[0],c[1]+b[1]],a.aa().animate({center:a.Ra(b),duration:this.autoPanAnimation.duration,easing:this.autoPanAnimation.easing}))}}};k.rm=function(){Hn(this)};k.Hj=function(a){this.set(Cn,a)};k.setMap=function(a){this.set(Dn,a)};k.Mj=function(a){this.set(En,a)};k.We=function(a){this.set(Fn,a)};function In(a,b){var c=a.getBoundingClientRect();a=c.left+window.pageXOffset;c=c.top+window.pageYOffset;return[a,c,a+b[0],c+b[1]]}k.Pj=function(a){this.set(Gn,a)}; function Jn(a,b){a.a.visible!==b&&(a.element.style.display=b?"":"none",a.a.visible=b)} function Hn(a){var b=a.Ve(),c=a.pi();if(b&&b.c&&c){c=b.Ia(c);var d=b.Cb();b=a.element.style;var e=a.Xh(),f=a.Yh();Jn(a,!0);var g=e[0];e=e[1];if("bottom-right"==f||"center-right"==f||"top-right"==f)""!==a.a.Se&&(a.a.Se=b.left=""),g=Math.round(d[0]-c[0]-g)+"px",a.a.xf!=g&&(a.a.xf=b.right=g);else{""!==a.a.xf&&(a.a.xf=b.right="");if("bottom-center"==f||"center-center"==f||"top-center"==f)g-=a.element.offsetWidth/2;g=Math.round(c[0]+g)+"px";a.a.Se!=g&&(a.a.Se=b.left=g)}if("bottom-left"==f||"bottom-center"== f||"bottom-right"==f)""!==a.a.Ef&&(a.a.Ef=b.top=""),c=Math.round(d[1]-c[1]-e)+"px",a.a.ze!=c&&(a.a.ze=b.bottom=c);else{""!==a.a.ze&&(a.a.ze=b.bottom="");if("center-left"==f||"center-center"==f||"center-right"==f)e-=a.element.offsetHeight/2;c=Math.round(c[1]+e)+"px";a.a.Ef!=c&&(a.a.Ef=b.top=c)}}else Jn(a,!1)}var Cn="element",Dn="map",En="offset",Fn="position",Gn="positioning";function Kn(a,b,c,d,e,f){cl.call(this,a,b,f);this.c=0;this.l=null;this.v=d;this.a=null;this.f={};this.C=e;this.N=c}w(Kn,cl);k=Kn.prototype;k.ia=function(){this.a=null;this.f={};this.state=5;this.u();cl.prototype.ia.call(this)};k.G=function(){return this.l||Ln};k.qn=function(){return this.v};k.pn=function(){return this.a};k.lb=function(){return this.N};k.rn=function(){return this.o};function ok(a,b,c){return a.f[x(b)+","+c]} k.load=function(){0==this.state&&(oj(this,1),this.C(this,this.N),this.D(null,NaN,null))};k.Cp=function(a,b,c){this.vg(b);this.Ij(a);this.ri(c)};k.Bp=function(){oj(this,3)};k.ri=function(a){this.l=a};k.Ij=function(a){this.a=a;oj(this,2)};k.vg=function(a){this.o=a};k.ug=function(a){this.D=a};var Ln=[0,0,4096,4096];function Mn(a){a=a?a:{};this.c=void 0!==a.className?a.className:"ol-full-screen";var b=void 0!==a.label?a.label:"\u2922";this.l="string"===typeof b?document.createTextNode(b):b;b=void 0!==a.labelActive?a.labelActive:"\u00d7";this.v="string"===typeof b?document.createTextNode(b):b;var c=a.tipLabel?a.tipLabel:"Toggle full-screen";b=document.createElement("button");b.className=this.c+"-"+Nn();b.setAttribute("type","button");b.title=c;b.appendChild(this.l);y(b,"click",this.C,this);c=document.createElement("div"); c.className=this.c+" ol-unselectable ol-control "+(On()?"":"ol-unsupported");c.appendChild(b);vg.call(this,{element:c,target:a.target});this.D=void 0!==a.keys?a.keys:!1;this.j=a.source}w(Mn,vg); Mn.prototype.C=function(a){a.preventDefault();On()&&(a=this.a)&&(Nn()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(a=this.j?"string"===typeof this.j?document.getElementById(this.j):this.j:a.Cc(),this.D?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT): Pn(a):Pn(a)))};Mn.prototype.o=function(){var a=this.element.firstElementChild,b=this.a;Nn()?(a.className=this.c+"-true",ig(this.v,this.l)):(a.className=this.c+"-false",ig(this.l,this.v));b&&b.Oc()};Mn.prototype.setMap=function(a){vg.prototype.setMap.call(this,a);a&&this.s.push(y(document,Qn(),this.o,this))}; function On(){var a=document.body;return!!(a.webkitRequestFullscreen||a.mozRequestFullScreen&&document.mozFullScreenEnabled||a.msRequestFullscreen&&document.msFullscreenEnabled||a.requestFullscreen&&document.fullscreenEnabled)}function Nn(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)} function Pn(a){a.requestFullscreen?a.requestFullscreen():a.msRequestFullscreen?a.msRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.webkitRequestFullscreen&&a.webkitRequestFullscreen()}var Qn=function(){var a;return function(){if(!a){var b=document.body;b.webkitRequestFullscreen?a="webkitfullscreenchange":b.mozRequestFullScreen?a="mozfullscreenchange":b.msRequestFullscreen?a="MSFullscreenChange":b.requestFullscreen&&(a="fullscreenchange")}return a}}();function Rn(a){a=a?a:{};var b=document.createElement("DIV");b.className=void 0!==a.className?a.className:"ol-mouse-position";vg.call(this,{element:b,render:a.render?a.render:Sn,target:a.target});y(this,Xc(Tn),this.En,this);a.coordinateFormat&&this.Gj(a.coordinateFormat);a.projection&&this.ti(a.projection);this.o=void 0!==a.undefinedHTML?a.undefinedHTML:"";this.v=b.innerHTML;this.l=this.j=this.c=null}w(Rn,vg); function Sn(a){a=a.frameState;a?this.c!=a.viewState.projection&&(this.c=a.viewState.projection,this.j=null):this.c=null;Un(this,this.l)}k=Rn.prototype;k.En=function(){this.j=null};k.Qh=function(){return this.get(Vn)};k.si=function(){return this.get(Tn)};k.mm=function(a){this.l=this.a.ud(a);Un(this,this.l)};k.nm=function(){Un(this,null);this.l=null};k.setMap=function(a){vg.prototype.setMap.call(this,a);a&&(a=a.a,this.s.push(y(a,"mousemove",this.mm,this),y(a,"mouseout",this.nm,this)))}; k.Gj=function(a){this.set(Vn,a)};k.ti=function(a){this.set(Tn,Ob(a))};function Un(a,b){var c=a.o;if(b&&a.c){if(!a.j){var d=a.si();a.j=d?Pb(a.c,d):$b}if(b=a.a.Ra(b))a.j(b,b),c=(c=a.Qh())?c(b):b.toString()}a.v&&c==a.v||(a.element.innerHTML=c,a.v=c)}var Tn="projection",Vn="coordinateFormat";function Wn(a){function b(a){a=h.Sd(a);l.a.aa().ub(a);window.removeEventListener("mousemove",c);window.removeEventListener("mouseup",b)}function c(a){a=h.Sd({clientX:a.clientX-n.offsetWidth/2,clientY:a.clientY+n.offsetHeight/2});m.We(a)}a=a?a:{};this.j=void 0!==a.collapsed?a.collapsed:!0;this.l=void 0!==a.collapsible?a.collapsible:!0;this.l||(this.j=!1);var d=void 0!==a.className?a.className:"ol-overviewmap",e=void 0!==a.tipLabel?a.tipLabel:"Overview map",f=void 0!==a.collapseLabel?a.collapseLabel: "\u00ab";"string"===typeof f?(this.o=document.createElement("span"),this.o.textContent=f):this.o=f;f=void 0!==a.label?a.label:"\u00bb";"string"===typeof f?(this.D=document.createElement("span"),this.D.textContent=f):this.D=f;var g=this.l&&!this.j?this.o:this.D;f=document.createElement("button");f.setAttribute("type","button");f.title=e;f.appendChild(g);y(f,"click",this.Hn,this);this.C=document.createElement("DIV");this.C.className="ol-overviewmap-map";var h=this.c=new G({controls:new B,interactions:new B, view:a.view});a.layers&&a.layers.forEach(function(a){h.xe(a)},this);e=document.createElement("DIV");e.className="ol-overviewmap-box";e.style.boxSizing="border-box";this.v=new Bn({position:[0,0],positioning:"bottom-left",element:e});this.c.ye(this.v);e=document.createElement("div");e.className=d+" ol-unselectable ol-control"+(this.j&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible");e.appendChild(this.C);e.appendChild(f);vg.call(this,{element:e,render:a.render?a.render:Xn,target:a.target}); var l=this,m=this.v,n=this.v.Rd();n.addEventListener("mousedown",function(){window.addEventListener("mousemove",c);window.addEventListener("mouseup",b)})}w(Wn,vg);k=Wn.prototype;k.setMap=function(a){var b=this.a;a!==b&&(b&&((b=b.aa())&&Mc(b,Xc("rotation"),this.Qe,this),this.c.Ad(null)),vg.prototype.setMap.call(this,a),a&&(this.c.Ad(this.C),this.s.push(y(a,"propertychange",this.lm,this)),0===this.c.Xe().kc()&&this.c.zf(a.hc()),a=a.aa()))&&(y(a,Xc("rotation"),this.Qe,this),ag(a)&&(this.c.Oc(),Yn(this)))}; k.lm=function(a){"view"===a.key&&((a=a.oldValue)&&Mc(a,Xc("rotation"),this.Qe,this),a=this.a.aa(),y(a,Xc("rotation"),this.Qe,this))};k.Qe=function(){this.c.aa().ce(this.a.aa().Sa())};function Xn(){var a=this.a,b=this.c;if(a.c&&b.c){var c=a.Cb();a=a.aa().qd(c);var d=b.Cb();c=b.aa().qd(d);var e=b.Ia($a(a)),f=b.Ia(Ya(a));b=Math.abs(e[0]-f[0]);e=Math.abs(e[1]-f[1]);f=d[0];d=d[1];b<.1*f||e<.1*d||b>.75*f||e>.75*d?Yn(this):La(c,a)||(a=this.c,c=this.a.aa(),a.aa().ub(c.xa()))}Zn(this)} function Yn(a){var b=a.a;a=a.c;var c=b.Cb();b=b.aa().qd(c);a=a.aa();ib(b,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));a.Uf(b)}function Zn(a){var b=a.a,c=a.c;if(b.c&&c.c){var d=b.Cb(),e=b.aa(),f=c.aa();c=e.Sa();b=a.v;var g=a.v.Rd(),h=e.qd(d);d=f.Pa();e=Wa(h);f=Za(h);if(a=a.a.aa().xa()){var l=[e[0]-a[0],e[1]-a[1]];Fe(l,c);ze(l,a)}b.We(l);g&&(g.style.width=Math.abs((e[0]-f[0])/d)+"px",g.style.height=Math.abs((f[1]-e[1])/d)+"px")}}k.Hn=function(a){a.preventDefault();$n(this)}; function $n(a){a.element.classList.toggle("ol-collapsed");a.j?ig(a.o,a.D):ig(a.D,a.o);a.j=!a.j;var b=a.c;a.j||b.c||(b.Oc(),Yn(a),Lc(b,"postrender",function(){Zn(this)},a))}k.Gn=function(){return this.l};k.Jn=function(a){this.l!==a&&(this.l=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.j&&$n(this))};k.In=function(a){this.l&&this.j!==a&&$n(this)};k.Fn=function(){return this.j};k.Hl=function(){return this.c};function ao(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-scale-line";this.l=document.createElement("DIV");this.l.className=b+"-inner";this.c=document.createElement("DIV");this.c.className=b+" ol-unselectable";this.c.appendChild(this.l);this.o=null;this.v=void 0!==a.minWidth?a.minWidth:64;this.j=!1;this.B=void 0;this.D="";vg.call(this,{element:this.c,render:a.render?a.render:bo,target:a.target});y(this,Xc(co),this.V,this);this.O(a.units||"metric")}w(ao,vg);var eo=[1,2,5];ao.prototype.C=function(){return this.get(co)}; function bo(a){(a=a.frameState)?this.o=a.viewState:this.o=null;fo(this)}ao.prototype.V=function(){fo(this)};ao.prototype.O=function(a){this.set(co,a)}; function fo(a){var b=a.o;if(b){var c=b.center,d=b.projection,e=a.C();b=Nb(d,b.resolution,c,"degrees"==e?"degrees":"m");"degrees"!=e&&(b*=d.Bc());var f=a.v*b;c="";"degrees"==e?(c=ub.degrees,"degrees"==d.a?f*=c:b/=c,ff?(c="in",b/=.0254):1609.344>f?(c="ft",b/=.3048):(c="mi",b/=1609.344):"nautical"==e?(b/=1852,c="nm"):"metric"==e?.001>f?(c="\u03bcm",b*=1E6):1>f?(c="mm",b*=1E3):1E3>f?c="m":(c="km",b/=1E3):"us"==e?.9144>f? (c="in",b*=39.37):1609.344>f?(c="ft",b/=.30480061):(c="mi",b/=1609.3472):oa(!1,33);for(e=3*Math.floor(Math.log(a.v*b)/Math.log(10));;){f=eo[(e%3+3)%3]*Math.pow(10,Math.floor(e/3));d=Math.round(f/b);if(isNaN(d)){a.c.style.display="none";a.j=!1;return}if(d>=a.v)break;++e}b=f+" "+c;a.D!=b&&(a.l.innerHTML=b,a.D=b);a.B!=d&&(a.l.style.width=d+"px",a.B=d);a.j||(a.c.style.display="",a.j=!0)}else a.j&&(a.c.style.display="none",a.j=!1)}var co="units";function go(a){a=a?a:{};this.c=void 0;this.j=ho;this.D=this.v=0;this.O=null;this.$=!1;this.V=void 0!==a.duration?a.duration:200;var b=void 0!==a.className?a.className:"ol-zoomslider",c=document.createElement("button");c.setAttribute("type","button");c.className=b+"-thumb ol-unselectable";var d=document.createElement("div");d.className=b+" ol-unselectable ol-control";d.appendChild(c);this.l=new Xd(d);y(this.l,"pointerdown",this.$l,this);y(this.l,"pointermove",this.Yl,this);y(this.l,"pointerup",this.Zl, this);y(d,"click",this.Xl,this);y(c,"click",Rc);vg.call(this,{element:d,render:a.render?a.render:io})}w(go,vg);go.prototype.ia=function(){Pc(this.l);vg.prototype.ia.call(this)};var ho=0;k=go.prototype;k.setMap=function(a){vg.prototype.setMap.call(this,a);a&&a.render()}; function io(a){if(a.frameState){if(!this.$){var b=this.element,c=b.offsetWidth,d=b.offsetHeight,e=b.firstElementChild,f=getComputedStyle(e);b=e.offsetWidth+parseFloat(f.marginRight)+parseFloat(f.marginLeft);e=e.offsetHeight+parseFloat(f.marginTop)+parseFloat(f.marginBottom);this.O=[b,e];c>d?(this.j=1,this.D=c-b):(this.j=ho,this.v=d-e);this.$=!0}a=a.frameState.viewState.resolution;a!==this.c&&(this.c=a,jo(this,a))}} k.Xl=function(a){var b=this.a.aa();a=ko(this,pa(1===this.j?(a.offsetX-this.O[0]/2)/this.D:(a.offsetY-this.O[1]/2)/this.v,0,1));b.animate({resolution:b.constrainResolution(a),duration:this.V,easing:Oe})};k.$l=function(a){this.o||a.b.target!==this.element.firstElementChild||(bg(this.a.aa(),1,1),this.C=a.clientX,this.B=a.clientY,this.o=!0)}; k.Yl=function(a){if(this.o){var b=this.element.firstElementChild;this.c=ko(this,pa(1===this.j?(a.clientX-this.C+parseInt(b.style.left,10))/this.D:(a.clientY-this.B+parseInt(b.style.top,10))/this.v,0,1));this.a.aa().gd(this.c);jo(this,this.c);this.C=a.clientX;this.B=a.clientY}};k.Zl=function(){if(this.o){var a=this.a.aa();bg(a,1,-1);a.animate({resolution:a.constrainResolution(this.c),duration:this.V,easing:Oe});this.o=!1;this.B=this.C=void 0}}; function jo(a,b){b=1-gg(a.a.aa())(b);var c=a.element.firstElementChild;1==a.j?c.style.left=a.D*b+"px":c.style.top=a.v*b+"px"}function ko(a,b){return fg(a.a.aa())(1-b)};function lo(a){a=a?a:{};this.extent=a.extent?a.extent:null;var b=void 0!==a.className?a.className:"ol-zoom-extent",c=void 0!==a.label?a.label:"E",d=void 0!==a.tipLabel?a.tipLabel:"Fit to extent",e=document.createElement("button");e.setAttribute("type","button");e.title=d;e.appendChild("string"===typeof c?document.createTextNode(c):c);y(e,"click",this.c,this);c=document.createElement("div");c.className=b+" ol-unselectable ol-control";c.appendChild(e);vg.call(this,{element:c,target:a.target})} w(lo,vg);lo.prototype.c=function(a){a.preventDefault();a=this.a.aa();var b=this.extent?this.extent:a.v.G();a.Uf(b)};var mo=document.implementation.createDocument("","",null);function no(a,b){return mo.createElementNS(a,b)}function oo(a,b){return po(a,b,[]).join("")}function po(a,b,c){if(a.nodeType==Node.CDATA_SECTION_NODE||a.nodeType==Node.TEXT_NODE)b?c.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):c.push(a.nodeValue);else for(a=a.firstChild;a;a=a.nextSibling)po(a,b,c);return c}function qo(a){return a instanceof Document}function ro(a){return a instanceof Node} function so(a){return(new DOMParser).parseFromString(a,"application/xml")}function to(a,b){return function(c,d){c=a.call(b,c,d);void 0!==c&&gc(d[d.length-1],c)}}function uo(a,b){return function(c,d){c=a.call(void 0!==b?b:this,c,d);void 0!==c&&d[d.length-1].push(c)}}function vo(a,b){return function(c,d){c=a.call(void 0!==b?b:this,c,d);void 0!==c&&(d[d.length-1]=c)}} function wo(a){return function(b,c){var d=a.call(this,b,c);if(void 0!==d){c=c[c.length-1];b=b.localName;var e;b in c?e=c[b]:e=c[b]=[];e.push(d)}}}function L(a,b){return function(c,d){var e=a.call(this,c,d);void 0!==e&&(d[d.length-1][void 0!==b?b:c.localName]=e)}}function M(a,b){return function(c,d,e){a.call(void 0!==b?b:this,c,d,e);e[e.length-1].node.appendChild(c)}} function xo(a){var b,c;return function(d,e,f){if(void 0===b){b={};var g={};g[d.localName]=a;b[d.namespaceURI]=g;c=yo(d.localName)}zo(b,c,e,f)}}function yo(a,b){return function(c,d,e){c=d[d.length-1].node;d=a;void 0===d&&(d=e);e=b;void 0===b&&(e=c.namespaceURI);return no(e,d)}}var Ao=yo();function Bo(a,b){for(var c=b.length,d=Array(c),e=0;eh.status){var a=b.S();if("json"==a||"text"==a)var e=h.responseText;else"xml"==a?(e=h.responseXML)||(e=so(h.responseText)):"arraybuffer"==a&&(e=h.response);e?c.call(this,b.Qa(e,{featureProjection:g}),b.sb(e),b.cg()):d.call(this)}else d.call(this)}.bind(this);h.onerror=function(){d.call(this)}.bind(this); h.send()}}function Fo(a,b){return Eo(a,b,function(a){this.Qc(a)},ea)};function Go(){this.i=this.defaultDataProjection=null}function Ho(a,b,c){var d;c&&(d={dataProjection:c.dataProjection?c.dataProjection:a.sb(b),featureProjection:c.featureProjection});return Io(a,d)}function Io(a,b){return kb({dataProjection:a.defaultDataProjection,featureProjection:a.i},b)}Go.prototype.cg=function(){return null}; function Jo(a,b,c){var d=c?Ob(c.featureProjection):null,e=c?Ob(c.dataProjection):null,f;d&&e&&!Xb(d,e)?a instanceof gf?f=(b?a.clone():a).mb(b?d:e,b?e:d):f=bc(a,e,d):f=a;if(b&&c&&void 0!==c.decimals){var g=Math.pow(10,c.decimals);f===a&&(f=f.clone());f.Rc(function(a){for(var b=0,c=a.length;ba||this.c.length<=a)return null;var b=new I(null);b.ba(this.ja,this.A.slice(0===a?0:this.c[a-1],this.c[a]));return b}; k.wd=function(){var a=this.A,b=this.c,c=this.ja,d=[],e=0,f;var g=0;for(f=b.length;ga||b<=a)return null;b=new C(null);b.ba(this.ja,this.A.slice(a*this.a,(a+1)*this.a));return b};k.de=function(){var a=this.A,b=this.ja,c=this.a,d=[],e;var f=0;for(e=a.length;fa||this.c.length<=a)return null;if(0===a)var b=0;else b=this.c[a-1],b=b[b.length-1];a=this.c[a].slice();var c=a[a.length-1];if(0!==b){var d;var e=0;for(d=a.length;ea||0!==this.f&&ac;++c){var d=parseInt(b[c],10).toString(16);b[c]=1==d.length?"0"+d:d}ip(a,b.join(""))}function us(a,b,c){a={node:a};var d=b.S();if("GeometryCollection"==d){var e=b.vd();var f=vs}else"MultiPoint"==d?(e=b.de(),f=ws):"MultiLineString"==d?(e=b.wd(),f=xs):"MultiPolygon"==d?(e=b.Vd(),f=ys):oa(!1,39);Do(a,zs,f,e,c)}function As(a,b,c){Do({node:a},Bs,Cs,[b],c)} function Ds(a,b,c){var d={node:a};b.c&&a.setAttribute("id",b.c);a=b.L();var e={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};e[b.a]=1;var f=Object.keys(a||{}).sort().filter(function(a){return!e[a]});if(0>4;if(128>f)return d(a,g,b);f=e[c.ga++];g|=(f&127)<<3;if(128>f)return d(a,g,b);f=e[c.ga++];g|=(f&127)<<10;if(128>f)return d(a,g,b);f=e[c.ga++];g|=(f&127)<<17;if(128>f)return d(a,g,b);f=e[c.ga++];g|=(f&127)<<24;if(128>f)return d(a,g,b);f=e[c.ga++];if(128>f)return d(a,g|(f&1)<<31,b);throw Error("Expected varint not more than 10 bytes"); }function d(a,b,c){return c?4294967296*b+(a>>>0):4294967296*(b>>>0)+(a>>>0)}var e={read:function(a,b,c,d,e){var f=8*e-d-1;var g=(1<>1,l=-7;e=c?e-1:0;var m=c?-1:1,v=a[b+e];e+=m;c=v&(1<<-l)-1;v>>=-l;for(l+=f;0>=-l;for(l+=d;0>1,m=23===e?Math.pow(2, -24)-Math.pow(2,-77):0;n=d?0:n-1;var z=d?1:-1,A=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,d=h):(d=Math.floor(Math.log(b)/Math.LN2),1>b*(f=Math.pow(2,-d))&&(d--,f*=2),b=1<=d+l?b+m/f:b+m*Math.pow(2,1-l),2<=b*f&&(d++,f/=2),d+l>=h?(b=0,d=h):1<=d+l?(b=(b*f-1)*Math.pow(2,e),d+=l):(b=b*Math.pow(2,l-1)*Math.pow(2,e),d=0));for(;8<=e;a[c+n]=b&255,n+=z,b/=256,e-=8);d=d<>3,f=this.ga;this.type=d&7;a(e,b,this);this.ga===f&&this.Lq(d)}return b},Zp:function(){var a=e.read(this.tc,this.ga,!0,23,4);this.ga+=4;return a},Vp:function(){var a=e.read(this.tc,this.ga,!0,52,8);this.ga+=8;return a},Ua:function(a){var b=this.tc;var d=b[this.ga++];var e=d&127;if(128>d)return e;d=b[this.ga++];e|=(d&127)<<7;if(128>d)return e;d=b[this.ga++];e|=(d&127)<<14;if(128>d)return e;d=b[this.ga++];e|=(d&127)<<21;if(128>d)return e;d=b[this.ga]; return c(e|(d&15)<<28,a,this)},lq:function(){return this.Ua(!0)},Ug:function(){var a=this.Ua();return 1===a%2?(a+1)/-2:a/2},Tp:function(){return!!this.Ua()},Vg:function(){for(var a=this.Ua()+this.ga,b=this.tc,c="",d=this.ga;da)break;if(1===p)128>e&&(n=e);else if(2===p){var q=b[d+1];128===(q&192)&&(n=(e&31)<<6|q&63,127>=n&&(n=null))}else if(3===p){q=b[d+1];var r=b[d+2];128===(q&192)&&128===(r&192)&&(n=(e&15)<<12|(q&63)<<6|r&63,2047>=n||55296<= n&&57343>=n)&&(n=null)}else if(4===p){q=b[d+1];r=b[d+2];var u=b[d+3];128===(q&192)&&128===(r&192)&&128===(u&192)&&(n=(e&15)<<18|(q&63)<<12|(r&63)<<6|u&63,65535>=n||1114112<=n)&&(n=null)}null===n?(n=65533,p=1):65535>>10&1023|55296),n=56320|n&1023);c+=String.fromCharCode(n);d+=p}this.ga=a;return c},Lq:function(a){a&=7;if(a===b.c)for(;127>3,a=1===a?c.Vg():2===a?c.Zp():3===a?c.Vp():4===a?c.lq():5===a?c.Ua():6===a?c.Ug():7===a?c.Tp():null;b.values.push(a)}} function mt(a,b,c){if(1==a)b.id=c.Ua();else if(2==a)for(a=c.Ua()+c.ga;c.ga>=3),n--,1===m||2===m?(p+=b.Ug(),q+=b.Ug(),1===m&&r>u&&(l.push(r),u=r),g.push(p,q),r+=2):7===m?r>u&&(g.push(g[u],g[u+1]),r+=2):oa(!1,59);r>u&&l.push(r);b=h.length;var v;1===d?v=1===b?"Point":"MultiPoint":2===d?v=1===b?"LineString":"MultiLineString":3===d&&(v="Polygon");d=v;if(a.b===it)g=new a.b(d, g,h,f,e);else{if("Polygon"==d){d=[];l=b=v=0;for(c=h.length;lc?~(c<<1):c<<1;b="";d=0;for(c=a.length;d>=5;g+=String.fromCharCode(f+63);b+=g}return b} function zt(a,b){b=b?b:1E5;var c=[],d=0,e=0,f;var g=0;for(f=a.length;gh?(c.push(d),e=d=0):e+=5}a=0;for(d=c.length;a>1):e>>1;a=0;for(d=c.length;a=b||"."==b||"-"==b){c.type=4;b=a.b;var d=!1,e=!1;do{if("."==f)d=!0;else if("e"==f||"E"==f)e=!0;var f=a.a.charAt(++a.b)}while("0"<=f&&"9">=f||"."==f&&(void 0===d||!d)||!e&&("e"==f||"E"==f)||e&&("-"==f||"+"==f));a=parseFloat(a.a.substring(b,a.b--));c.value=a}else if("a"<=b&&"z">=b||"A"<=b&&"Z">=b){c.type=1;b=a.b;do f=a.a.charAt(++a.b);while("a"<=f&&"z">= f||"A"<=f&&"Z">=f);a=a.a.substring(b,a.b--).toUpperCase();c.value=a}else{if(" "==b||"\t"==b||"\r"==b||"\n"==b)return Uu(a);if(""===b)c.type=6;else throw Error("Unexpected character: "+b);}return c}function Qu(a){this.g=a;this.a="XY"}function Su(a){a.b=Uu(a.g)}function Vu(a,b){(b=a.b.type==b)&&Su(a);return b} function Tu(a){var b=a.b;if(Vu(a,1)){b=b.value;var c="XY",d=a.b;1==a.b.type&&(d=d.value,"Z"===d?c="XYZ":"M"===d?c="XYM":"ZM"===d&&(c="XYZM"),"XY"!==c&&Su(a));a.a=c;if("GEOMETRYCOLLECTION"==b){a:{if(Vu(a,2)){b=[];do b.push(Tu(a));while(Vu(a,5));if(Vu(a,3)){a=b;break a}}else if(Wu(a)){a=[];break a}throw Error(Xu(a));}return new Mq(a)}d=Yu[b];c=Zu[b];if(!d||!c)throw Error("Invalid geometry type: "+b);b=d.call(a);return new c(b,a.a)}throw Error(Xu(a));}k=Qu.prototype; k.Hg=function(){if(Vu(this,2)){var a=$u(this);if(Vu(this,3))return a}else if(Wu(this))return null;throw Error(Xu(this));};k.Gg=function(){if(Vu(this,2)){var a=av(this);if(Vu(this,3))return a}else if(Wu(this))return[];throw Error(Xu(this));};k.Ig=function(){if(Vu(this,2)){var a=bv(this);if(Vu(this,3))return a}else if(Wu(this))return[];throw Error(Xu(this));}; k.Hp=function(){if(Vu(this,2)){var a;if(2==this.b.type)for(a=[this.Hg()];Vu(this,5);)a.push(this.Hg());else a=av(this);if(Vu(this,3))return a}else if(Wu(this))return[];throw Error(Xu(this));};k.Gp=function(){if(Vu(this,2)){var a=bv(this);if(Vu(this,3))return a}else if(Wu(this))return[];throw Error(Xu(this));};k.Ip=function(){if(Vu(this,2)){for(var a=[this.Ig()];Vu(this,5);)a.push(this.Ig());if(Vu(this,3))return a}else if(Wu(this))return[];throw Error(Xu(this));}; function $u(a){for(var b=[],c=a.a.length,d=0;d=b[0]||a[1]<=b[1]&&a[3]>=b[1]?!0:Ua(a,this.Bb,this)):!1}; k.ub=function(a){var b=this.a,c=a.slice();c[b]=c[0]+(this.A[b]-this.A[0]);var d;for(d=1;da.sc:e<=a.sc}a.s?(e=b.coordinate,c=a.j.U(),a.f===Kw?d=a.a:a.f===Jw?(d=a.a[0],d=d[d.length-1],Rw(a,b)&&(e=a.s.slice())):(d=a.a,d=d[d.length-1]),d[0]=e[0],d[1]=e[1],a.cb(a.a,c),a.B&&a.B.U().na(e),c instanceof D&&a.f!==Jw?(a.C||(a.C=new Hk(new I(null))),e=c.Wh(0),b=a.C.U(),b.ba(e.ja,e.da())):a.T&&(b=a.C.U(),b.na(a.T)),Tw(a)):(b=b.coordinate.slice(),a.B?a.B.U().na(b):(a.B=new Hk(new C(b)), Tw(a)));return!0}function Rw(a,b){var c=!1;if(a.j){var d=!1,e=[a.s];a.f===Lw?d=a.a.length>a.Ea:a.f===Jw&&(d=a.a[0].length>a.Ea,e=[a.a[0][0],a.a[0][a.a[0].length-2]]);if(d){d=b.map;for(var f=0,g=e.length;f=a.ua&&(a.o?e.pop():d=!0);e.push(b.slice());a.cb(e,c)}else a.f===Jw&&(e=a.a[0],e.length>=a.ua&&(a.o?e.pop():d=!0),e.push(b.slice()),d&&(a.s=e[0]),a.cb(a.a,c));Tw(a);d&&a.Pd()} k.nq=function(){if(this.j){var a=this.j.U();if(this.f===Lw){var b=this.a;b.splice(-2,1);this.cb(b,a);2<=b.length&&(this.s=b[b.length-2].slice())}else if(this.f===Jw){b=this.a[0];b.splice(-2,1);var c=this.C.U();c.na(b);this.cb(this.a,a)}0===b.length&&(this.s=null);Tw(this)}}; k.Pd=function(){var a=Sw(this),b=this.a,c=a.U();this.f===Lw?(b.pop(),this.cb(b,c)):this.f===Jw&&(b[0].pop(),this.cb(b,c),b=c.W());"MultiPoint"===this.O?a.Va(new No([b])):"MultiLineString"===this.O?a.Va(new P([b])):"MultiPolygon"===this.O&&a.Va(new Q([b]));this.b(new Uw("drawend",a));this.La&&this.La.push(a);this.ob&&this.ob.Gb(a)};function Sw(a){a.s=null;var b=a.j;b&&(a.j=null,a.B=null,a.C=null,a.ra.ha().clear(!0));return b} k.Zn=function(a){var b=a.U();this.j=a;this.a=b.W();a=this.a[this.a.length-1];this.s=a.slice();this.a.push(a.slice());Tw(this);this.b(new Uw("drawstart",this.j))};k.jd=Se;function Tw(a){var b=[];a.j&&b.push(a.j);a.C&&b.push(a.C);a.B&&b.push(a.B);a=a.ra.ha();a.clear(!0);a.Qc(b)}k.Ki=function(){var a=this.v,b=this.c();a&&b||Sw(this);this.ra.setMap(b?a:null)}; function Iw(a){var b;"Point"===a||"MultiPoint"===a?b=Kw:"LineString"===a||"MultiLineString"===a?b=Lw:"Polygon"===a||"MultiPolygon"===a?b=Jw:"Circle"===a&&(b=Qw);return b}var Kw="Point",Lw="LineString",Jw="Polygon",Qw="Circle";function Uw(a,b){Qc.call(this,a);this.feature=b}w(Uw,Qc);function Vw(a){var b=a||{};this.a=this.j=null;this.C=void 0!==b.pixelTolerance?b.pixelTolerance:10;this.B=!1;this.T=this.s=null;a||(a={});fh.call(this,{handleDownEvent:Ww,handleDragEvent:Xw,handleEvent:Yw,handleUpEvent:Zw});this.o=new T({source:new U({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.boxStyle?a.boxStyle:$w(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.O=new T({source:new U({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.pointerStyle?a.pointerStyle:ax(),updateWhileAnimating:!0, updateWhileInteracting:!0});a.extent&&this.f(a.extent)}w(Vw,fh);function Yw(a){if(!(a instanceof Ad))return!0;if("pointermove"==a.type&&!this.D){var b=a.pixel,c=a.map,d=bx(this,b,c);d||(d=c.Ra(b));cx(this,d)}gh.call(this,a);return!1} function Ww(a){function b(a){var b=null,c=null;a[0]==e[0]?b=e[2]:a[0]==e[2]&&(b=e[0]);a[1]==e[1]?c=e[3]:a[1]==e[3]&&(c=e[1]);return null!==b&&null!==c?[b,c]:null}var c=a.pixel,d=a.map,e=this.G();(a=bx(this,c,d))&&e?(c=a[0]==e[0]||a[0]==e[2]?a[0]:null,d=a[1]==e[1]||a[1]==e[3]?a[1]:null,null!==c&&null!==d?this.a=dx(b(a)):null!==c?this.a=ex(b([c,e[1]]),b([c,e[3]])):null!==d&&(this.a=ex(b([e[0],d]),b([e[2],d])))):(a=d.Ra(c),this.f([a[0],a[1],a[0],a[1]]),this.a=dx(a));return!0} function Xw(a){this.a&&(a=a.coordinate,this.f(this.a(a)),cx(this,a));return!0}function Zw(){this.a=null;var a=this.G();a&&0!==ab(a)||this.f(null);return!1}function $w(){var a=Gk();return function(){return a.Polygon}}function ax(){var a=Gk();return function(){return a.Point}}function dx(a){return function(b){return Ca([a,b])}}function ex(a,b){return a[0]==b[0]?function(c){return Ca([a,[c[0],b[1]]])}:a[1]==b[1]?function(c){return Ca([a,[b[0],c[1]]])}:null} function bx(a,b,c){function d(a,b){return Je(e,a)-Je(e,b)}var e=c.Ra(b),f=a.G();if(f){f=[[[f[0],f[1]],[f[0],f[3]]],[[f[0],f[3]],[f[2],f[3]]],[[f[2],f[3]],[f[2],f[1]]],[[f[2],f[1]],[f[0],f[1]]]];f.sort(d);f=f[0];var g=Be(e,f),h=c.Ia(g);if(Ie(b,h)<=a.C)return b=c.Ia(f[0]),c=c.Ia(f[1]),b=He(h,b),c=He(h,c),a.B=Math.sqrt(Math.min(b,c))<=a.C,a.B&&(g=b>c?f[1]:f[0]),g}return null}function cx(a,b){var c=a.T;c?c.U().na(b):(c=new Hk(new C(b)),a.T=c,a.O.ha().Gb(c))} Vw.prototype.setMap=function(a){this.o.setMap(a);this.O.setMap(a);fh.prototype.setMap.call(this,a)};Vw.prototype.G=function(){return this.j};Vw.prototype.f=function(a){this.j=a?a:null;var b=this.s;b?a?b.Va(Rf(a)):b.Va(void 0):(this.s=b=a?new Hk(Rf(a)):new Hk({}),this.o.ha().Gb(b));this.b(new fx(this.j))};function fx(a){Qc.call(this,"extentchanged");this.extent=a}w(fx,Qc);function gx(a){fh.call(this,{handleDownEvent:hx,handleDragEvent:ix,handleEvent:jx,handleUpEvent:kx});this.Md=a.condition?a.condition:eh;this.bb=function(a){return Wg(a)&&$g(a)};this.ob=a.deleteCondition?a.deleteCondition:this.bb;this.sc=a.insertVertexCondition?a.insertVertexCondition:Re;this.La=this.f=null;this.Ea=[0,0];this.C=this.T=!1;this.a=new um;this.ra=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.s=this.ua=!1;this.j=[];this.B=new T({source:new U({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.style? a.style:lx(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.ca={Point:this.io,LineString:this.Mi,LinearRing:this.Mi,Polygon:this.jo,MultiPoint:this.fo,MultiLineString:this.eo,MultiPolygon:this.ho,Circle:this.bo,GeometryCollection:this.co};this.V=null;a.source?(this.V=a.source,a=new B(this.V.ee()),y(this.V,"addfeature",this.vm,this),y(this.V,"removefeature",this.xm,this)):a=a.features;if(!a)throw Error("The modify interaction requires features or a source");this.o=a;this.o.forEach(this.xg, this);y(this.o,"add",this.$n,this);y(this.o,"remove",this.ao,this);this.O=null}w(gx,fh);k=gx.prototype;k.xg=function(a){var b=a.U();b&&b.S()in this.ca&&this.ca[b.S()].call(this,a,b);(b=this.v)&&b.c&&this.c()&&mx(this,this.Ea,b);y(a,"change",this.Li,this)};function nx(a,b){a.C||(a.C=!0,a.b(new ox("modifystart",a.o,b)))}function px(a,b){qx(a,b);a.f&&0===a.o.kc()&&(a.B.ha().Lb(a.f),a.f=null);Mc(b,"change",a.Li,a)} function qx(a,b){a=a.a;var c=[];a.forEach(function(a){b===a.feature&&c.push(a)});for(var d=c.length-1;0<=d;--d)a.remove(c[d])}k.Ha=function(a){this.f&&!a&&(this.B.ha().Lb(this.f),this.f=null);fh.prototype.Ha.call(this,a)};k.setMap=function(a){this.B.setMap(a);fh.prototype.setMap.call(this,a)};k.vm=function(a){a.feature&&this.o.push(a.feature)};k.xm=function(a){a.feature&&this.o.remove(a.feature)};k.$n=function(a){this.xg(a.element)};k.Li=function(a){this.s||(a=a.target,px(this,a),this.xg(a))}; k.ao=function(a){px(this,a.element)};k.io=function(a,b){var c=b.W();a={feature:a,geometry:b,ma:[c,c]};this.a.Ca(b.G(),a)};k.fo=function(a,b){var c=b.W(),d;var e=0;for(d=c.length;em?h[1]:h[0]),rx(a,l),m=1,c=f.length;mn&&(n=0);f=g.geometry;var p=d=f.W();var q=!1;switch(f.S()){case "MultiLineString":2c&&(a.index+=e)})}function lx(){var a=Gk();return function(){return a.Point}}function ox(a,b,c){Qc.call(this,a);this.features=b;this.mapBrowserEvent=c}w(ox,Qc);function wx(a){Jg.call(this,{handleEvent:xx});a=a?a:{};this.C=a.condition?a.condition:$g;this.D=a.addCondition?a.addCondition:Se;this.B=a.removeCondition?a.removeCondition:Se;this.T=a.toggleCondition?a.toggleCondition:bh;this.s=a.multi?a.multi:!1;this.l=a.filter?a.filter:Re;this.j=a.hitTolerance?a.hitTolerance:0;this.f=new T({source:new U({useSpatialIndex:!1,features:a.features,wrapX:a.wrapX}),style:a.style?a.style:yx(),updateWhileAnimating:!0,updateWhileInteracting:!0});if(a.layers)if("function"=== typeof a.layers)a=a.layers;else{var b=a.layers;a=function(a){return ec(b,a)}}else a=Re;this.o=a;this.a={};a=this.f.ha().i;y(a,"add",this.ko,this);y(a,"remove",this.oo,this)}w(wx,Jg);k=wx.prototype;k.lo=function(){return this.f.ha().i};k.mo=function(){return this.j};k.no=function(a){a=x(a);return this.a[a]}; function xx(a){if(!this.C(a))return!0;var b=this.D(a),c=this.B(a),d=this.T(a),e=!b&&!c&&!d,f=a.map,g=this.f.ha().i,h=[],l=[];if(e){lb(this.a);f.Tc(a.pixel,function(a,b){if(this.l(a,b))return l.push(a),a=x(a),this.a[a]=b,!this.s}.bind(this),{layerFilter:this.o,hitTolerance:this.j});for(e=g.kc()-1;0<=e;--e){f=g.item(e);var m=l.indexOf(f);-1b?m[1]:m[0],l=d.Ia(f)}else a.C&&(f=h?Ae(c,g[0].feature.U()):Be(c,m),l=d.Ia(f),Ie(b,l)<=a.f&&(e=!0,a.O&& !h&&(c=d.Ia(m[0]),h=d.Ia(m[1]),c=He(l,c),b=He(l,h),h=Math.sqrt(Math.min(c,b)),h=h<=a.f)))&&(f=c>b?m[1]:m[0],l=d.Ia(f));e&&(l=[Math.round(l[0]),Math.round(l[1])])}return{Mq:e,vertex:f,Vq:l}}k.$j=function(a){this.Lb(a,!1);this.Gb(a,!1)};k.ro=function(a,b){b=Sf(b).W()[0];var c;var d=0;for(c=b.length-1;dXa&&(Xa=Zb,m=Z)}if(0===Xa){g=null;break a}Xa=g[m];g[m]=g[l];g[l]=Xa;for(m=l+1;mthis.b/2){var b=[[a.source[0][0],a.source[0][1]],[a.source[1][0],a.source[1][1]],[a.source[2][0],a.source[2][1]]];b[0][0]-n>this.b/2&&(b[0][0]-=this.b);b[1][0]-n>this.b/2&&(b[1][0]-=this.b);b[2][0]-n>this.b/2&&(b[2][0]-=this.b);Math.max(b[0][0],b[1][0],b[2][0])-Math.min(b[0][0],b[1][0],b[2][0])p,u=!1;if(0a.v),u)){Math.abs(b[0]-d[0])<=Math.abs(b[1]-d[1])?(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],q=a.a(r),n=[(e[0]+b[0])/2,(e[1]+b[1])/2],p=a.a(n),fy(a,b,c,r,n,f,g,q,p,m-1),fy(a,n,r,d,e,p,q,h,l,m-1)):(r=[(b[0]+c[0])/2,(b[1]+c[1])/2],q=a.a(r),n=[(d[0]+e[0])/2,(d[1]+e[1])/2],p=a.a(n),fy(a,b,r,n,e,f,q,p,l,m-1),fy(a,r,c,d,n,q,g,h,p,m-1));return}if(r){if(!a.s)return;a.l=!0}a.c.push({source:[f,h,l],target:[b,d,e]});a.c.push({source:[f,g,h],target:[b,c,d]})}} function gy(a){var b=Da();a.c.forEach(function(a){a=a.source;Ea(b,a[0]);Ea(b,a[1]);Ea(b,a[2])});return b};function hy(a,b,c,d,e,f,g,h,l,m,n){cl.call(this,e,0);this.B=void 0!==n?n:!1;this.C=g;this.D=h;this.N=null;this.c=b;this.l=d;this.v=f?f:e;this.a=[];this.Id=null;this.f=0;f=d.Ma(this.v);h=this.l.G();e=this.c.G();f=h?gb(f,h):f;if(0===ab(f))this.state=4;else if((h=a.G())&&(e?e=gb(e,h):e=h),d=by(a,c,eb(f),d.Ta(this.v[0])),!isFinite(d)||0>=d)this.state=4;else if(this.o=new ey(a,c,f,e,d*(void 0!==m?m:.5)),0===this.o.c.length)this.state=4;else if(this.f=b.Dc(d),c=gy(this.o),e&&(a.g?(c[1]=pa(c[1],e[1],e[3]), c[3]=pa(c[3],e[1],e[3])):c=gb(c,e)),ab(c)){a=tc(b,c,this.f);for(b=a.fa;b<=a.la;b++)for(c=a.ea;c<=a.ka;c++)(m=l(this.f,b,c,g))&&this.a.push(m);0===this.a.length&&(this.state=4)}else this.state=4}w(hy,cl);hy.prototype.ia=function(){1==this.state&&(this.Id.forEach(Gc),this.Id=null);cl.prototype.ia.call(this)};hy.prototype.Y=function(){return this.N}; hy.prototype.he=function(){var a=[];this.a.forEach(function(b){b&&2==b.getState()&&a.push({extent:this.c.Ma(b.ya),image:b.Y()})},this);this.a.length=0;if(0===a.length)this.state=3;else{var b=this.v[0],c=this.l.Za(b),d="number"===typeof c?c:c[0];c="number"===typeof c?c:c[1];b=this.l.Ta(b);var e=this.c.Ta(this.f),f=this.l.Ma(this.v);this.N=dy(d,c,this.C,e,this.c.G(),b,f,this.o,a,this.D,this.B);this.state=2}this.u()}; hy.prototype.load=function(){if(0==this.state){this.state=1;this.u();var a=0;this.Id=[];this.a.forEach(function(b){var c=b.getState();if(0==c||1==c){a++;var d=y(b,"change",function(){var c=b.getState();if(2==c||3==c||4==c)Gc(d),a--,0===a&&(this.Id.forEach(Gc),this.Id=null,this.he())},this);this.Id.push(d)}},this);this.a.forEach(function(a){0==a.getState()&&a.load()});0===a&&setTimeout(this.he.bind(this),0)}};function iy(a){uw.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state,wrapX:a.wrapX});this.bb=void 0!==a.opaque?a.opaque:!1;this.sc=void 0!==a.tilePixelRatio?a.tilePixelRatio:1;this.tileGrid=void 0!==a.tileGrid?a.tileGrid:null;this.a=new $x(a.cacheSize);this.j=[0,0];this.jc="";this.Ea={transition:a.transition}}w(iy,uw);k=iy.prototype;k.cj=function(){return di(this.a)};k.sd=function(a,b){(a=this.Yd(a))&&a.sd(b)}; function Li(a,b,c,d,e){a=a.Yd(b);if(!a)return!1;b=!0;for(var f,g,h=d.fa;h<=d.la;++h)for(var l=d.ea;l<=d.ka;++l)f=c+"/"+h+"/"+l,g=!1,a.a.hasOwnProperty(f)&&(f=a.get(f),(g=2===f.getState())&&(g=!1!==e(f))),g||(b=!1);return b}k.Zf=function(){return 0};function jy(a,b){a.jc!==b&&(a.jc=b,a.u())}k.eg=function(){return this.bb};k.jb=function(){return this.tileGrid};k.eb=function(a){return this.tileGrid?this.tileGrid:zc(a)};k.Yd=function(a){var b=this.c;return b&&!Xb(b,a)?null:this.a};k.Xc=function(){return this.sc}; k.Zd=function(a,b,c){c=this.eb(c);b=this.Xc(b);a=Ba(c.Za(a),this.j);return 1==b?a:Aa(a,b,this.j)};function ky(a,b,c){var d=void 0!==c?c:a.c;c=a.eb(d);if(a.D&&d.c){var e=b;b=e[0];a=yc(c,e);d=Dc(d);Ja(d,a)?b=e:(e=cb(d),a[0]+=e*Math.ceil((d[0]-a[0])/e),b=c.jg(a,b))}e=b[0];d=b[1];a=b[2];if(c.minZoom>e||e>c.maxZoom)c=!1;else{var f=c.G();c=(c=f?tc(c,f,e):c.a?c.a[e]:null)?ma(c,d,a):!0}return c?b:null}k.sa=function(){this.a.clear();this.u()};k.kh=ea;function ly(a,b){Qc.call(this,a);this.tile=b}w(ly,Qc);function my(a){iy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tilePixelRatio:a.tilePixelRatio,wrapX:a.wrapX,transition:a.transition});this.tileLoadFunction=a.tileLoadFunction;this.tileUrlFunction=this.dc?this.dc.bind(this):Xx;this.urls=null;a.urls?this.vb(a.urls):a.url&&this.rb(a.url);a.tileUrlFunction&&this.hb(a.tileUrlFunction);this.V={}}w(my,iy);k=my.prototype;k.yb=function(){return this.tileLoadFunction}; k.zb=function(){return this.tileUrlFunction};k.Ab=function(){return this.urls};k.dj=function(a){a=a.target;var b=x(a),c=a.getState();if(1==c){this.V[b]=!0;var d="tileloadstart"}else b in this.V&&(delete this.V[b],d=3==c?"tileloaderror":2==c||5==c?"tileloadend":void 0);void 0!=d&&this.b(new ly(d,a))};k.Fb=function(a){this.a.clear();this.tileLoadFunction=a;this.u()};k.hb=function(a,b){this.tileUrlFunction=a;ay(this.a);"undefined"!==typeof b?jy(this,b):this.u()}; k.rb=function(a){var b=this.urls=Yx(a);this.hb(this.dc?this.dc.bind(this):Vx(b,this.tileGrid),a)};k.vb=function(a){this.urls=a;var b=a.join("\n");this.hb(this.dc?this.dc.bind(this):Vx(a,this.tileGrid),b)};k.kh=function(a,b,c){a=a+"/"+b+"/"+c;this.a.a.hasOwnProperty(a)&&this.a.get(a)};function ny(a){my.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:oy,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,wrapX:a.wrapX,transition:a.transition});this.crossOrigin=void 0!==a.crossOrigin?a.crossOrigin:null;this.tileClass=void 0!==a.tileClass?a.tileClass:el;this.f={};this.s={};this.ob= a.reprojectionErrorThreshold;this.O=!1}w(ny,my);k=ny.prototype;k.cj=function(){if(di(this.a))return!0;for(var a in this.f)if(di(this.f[a]))return!0;return!1};k.sd=function(a,b){a=this.Yd(a);this.a.sd(this.a==a?b:{});for(var c in this.f){var d=this.f[c];d.sd(d==a?b:{})}};k.Zf=function(a){return this.c&&a&&!Xb(this.c,a)?0:this.$f()};k.$f=function(){return 0};k.eg=function(a){return this.c&&a&&!Xb(this.c,a)?!1:my.prototype.eg.call(this,a)}; k.eb=function(a){var b=this.c;return!this.tileGrid||b&&!Xb(b,a)?(b=x(a).toString(),b in this.s||(this.s[b]=zc(a)),this.s[b]):this.tileGrid};k.Yd=function(a){var b=this.c;if(!b||Xb(b,a))return this.a;a=x(a).toString();a in this.f||(this.f[a]=new $x(this.a.highWaterMark));return this.f[a]}; function py(a,b,c,d,e,f,g){b=[b,c,d];e=(c=ky(a,b,f))?a.tileUrlFunction(c,e,f):void 0;e=new a.tileClass(b,void 0!==e?0:4,void 0!==e?e:"",a.crossOrigin,a.tileLoadFunction,a.Ea);e.key=g;y(e,"change",a.dj,a);return e} k.ad=function(a,b,c,d,e){var f=this.c;if(f&&e&&!Xb(f,e)){var g=this.Yd(e);c=[a,b,c];var h;a=c[0]+"/"+c[1]+"/"+c[2];g.a.hasOwnProperty(a)&&(h=g.get(a));b=this.jc;if(h&&h.key==b)return h;var l=this.eb(f),m=this.eb(e),n=ky(this,c,e);d=new hy(f,l,e,m,c,n,this.Xc(d),this.$f(),function(a,b,c,d){return qy(this,a,b,c,d,f)}.bind(this),this.ob,this.O);d.key=b;h?(d.g=h,dl(d),g.replace(a,d)):g.set(a,d);return d}return qy(this,a,b,c,d,f||e)}; function qy(a,b,c,d,e,f){var g=b+"/"+c+"/"+d,h=a.jc;if(a.a.a.hasOwnProperty(g)){var l=a.a.get(g);if(l.key!=h){var m=l;l=py(a,b,c,d,e,f,h);0==m.getState()?l.g=m.g:l.g=m;dl(l);a.a.replace(g,l)}}else l=py(a,b,c,d,e,f,h),a.a.set(g,l);return l}k.Qb=function(a){if(this.O!=a){this.O=a;for(var b in this.f)this.f[b].clear();this.u()}};k.Rb=function(a,b){if(a=Ob(a))a=x(a).toString(),a in this.s||(this.s[a]=b)};function oy(a,b){a.Y().src=b};function ry(a){this.i=void 0!==a.hidpi?a.hidpi:!1;ny.call(this,{cacheSize:a.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Ob("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,tilePixelRatio:this.i?2:1,wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition});this.o=void 0!==a.culture?a.culture:"en-us";this.$=void 0!==a.maxZoom?a.maxZoom:-1;this.l=a.key;this.B=a.imagerySet;Zx("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+ this.B+"?uriScheme=https&include=ImageryProviders&key="+this.l+"&c="+this.o,this.La.bind(this),void 0,"jsonp")}w(ry,ny);ry.prototype.ca=function(){return this.l};ry.prototype.ua=function(){return this.B}; ry.prototype.La=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)ww(this,"error");else{var b=a.brandLogoUri;-1==b.indexOf("https")&&(b=b.replace("http","https"));var c=a.resourceSets[0].resources[0];a=-1==this.$?c.zoomMax:this.$;var d=Dc(this.c);this.tileGrid=Bc({extent:d,minZoom:c.zoomMin,maxZoom:a,tileSize:(c.imageWidth==c.imageHeight?c.imageWidth:[c.imageWidth,c.imageHeight])/ (this.i?2:1)});var e=this.o,f=this.i;this.tileUrlFunction=Wx(c.imageUrlSubdomains.map(function(a){var b=[0,0,0],d=c.imageUrl.replace("{subdomain}",a).replace("{culture}",e);return function(a){if(a)return oc(a[0],a[1],-a[2]-1,b),a=d,f&&(a+="&dpi=d1&device=mobile"),a.replace("{quadkey}",pc(b))}}));if(c.imageryProviders){var g=Pb(Ob("EPSG:4326"),this.c);this.va(function(a){var b=[],d=a.viewState.zoom;c.imageryProviders.map(function(c){for(var e=!1,f=c.coverageAreas,h=0,l=f.length;h=m.zoomMin&&d<=m.zoomMax&&(m=m.bbox,m=jb([m[1],m[0],m[3],m[2]],g),hb(m,a.extent))){e=!0;break}}e&&b.push(c.attribution)});b.push('Terms of Use');return b})}this.T=b;ww(this,"ready")}};function sy(a){a=a||{};var b=void 0!==a.projection?a.projection:"EPSG:3857",c=void 0!==a.tileGrid?a.tileGrid:Bc({extent:Dc(b),maxZoom:a.maxZoom,minZoom:a.minZoom,tileSize:a.tileSize});ny.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:a.opaque,projection:b,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:c,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls, wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition})}w(sy,ny);function ty(a){this.o=a.account;this.B=a.map||"";this.i=a.config||{};this.l={};sy.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,maxZoom:void 0!==a.maxZoom?a.maxZoom:18,minZoom:a.minZoom,projection:a.projection,state:"loading",wrapX:a.wrapX});uy(this)}w(ty,sy);k=ty.prototype;k.nl=function(){return this.i};k.Sq=function(a){kb(this.i,a);uy(this)};k.uq=function(a){this.i=a||{};uy(this)}; function uy(a){var b=JSON.stringify(a.i);if(a.l[b])vy(a,a.l[b]);else{var c="https://"+a.o+".carto.com/api/v1/map";a.B&&(c+="/named/"+a.B);var d=new XMLHttpRequest;d.addEventListener("load",a.em.bind(a,b));d.addEventListener("error",a.dm.bind(a));d.open("POST",c);d.setRequestHeader("Content-type","application/json");d.send(JSON.stringify(a.i))}} k.em=function(a,b){b=b.target;if(!b.status||200<=b.status&&300>b.status){try{var c=JSON.parse(b.responseText)}catch(d){ww(this,"error");return}vy(this,c);this.l[a]=c;ww(this,"ready")}else ww(this,"error")};k.dm=function(){ww(this,"error")};function vy(a,b){a.rb("https://"+b.cdn_url.https+"/"+a.o+"/api/v1/map/"+b.layergroupid+"/{z}/{x}/{y}.png")};function X(a){U.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,wrapX:a.wrapX});this.resolution=void 0;this.distance=void 0!==a.distance?a.distance:20;this.features=[];this.geometryFunction=a.geometryFunction||function(a){a=a.U();oa(a instanceof C,10);return a};this.source=a.source;this.source.I("change",X.prototype.sa,this)}w(X,U);k=X.prototype;k.Eo=function(){return this.distance};k.Fo=function(){return this.source}; k.ae=function(a,b,c){this.source.ae(a,b,c);b!==this.resolution&&(this.clear(),this.resolution=b,wy(this),this.Qc(this.features))};k.vq=function(a){this.distance=a;this.sa()};k.sa=function(){this.clear();wy(this);this.Qc(this.features);U.prototype.sa.call(this)}; function wy(a){if(void 0!==a.resolution){a.features.length=0;for(var b=Da(),c=a.distance*a.resolution,d=a.source.ee(),e={},f=0,g=d.length;fm*l?h*g/(m*p):l*g/(n*p),SETVIEWCENTERX:f[0],SETVIEWCENTERY:f[1]};kb(e,this.f);d=Gy(d,e);d=new bl(a,b,c,d,this.V,this.a);y(d,"change",this.j,this)}else d=null;this.M=d;this.B=this.g;return d};k.Mo=function(){return this.a};k.Po=function(a){kb(this.f,a);this.u()};k.Oo=function(a){this.M=null;this.a=a;this.u()};function Ky(a){var b=a.imageExtent,c=void 0!==a.crossOrigin?a.crossOrigin:null,d=void 0!==a.imageLoadFunction?a.imageLoadFunction:Fy;zy.call(this,{attributions:a.attributions,logo:a.logo,projection:Ob(a.projection)});this.M=new bl(b,void 0,1,a.url,c,d);this.a=a.imageSize?a.imageSize:null;y(this.M,"change",this.j,this)}w(Ky,zy);Ky.prototype.Wc=function(a){return hb(a,this.M.G())?this.M:null}; Ky.prototype.j=function(a){if(2==this.M.getState()){var b=this.M.G(),c=this.M.Y();if(this.a){var d=this.a[0];var e=this.a[1]}else d=c.width,e=c.height;b=Math.ceil(cb(b)/(db(b)/e));if(b!=d){b=hg(b,e);var f=b.canvas;b.drawImage(c,0,0,d,e,0,0,f.width,f.height);this.M.ih(f)}}zy.prototype.j.call(this,a)};function Ly(a){this.a=a.source;this.ob=We();this.f=hg();this.l=[0,0];this.ca=rj.Jc(9);this.bb=void 0==a.renderBuffer?100:a.renderBuffer;this.B=null;Iy.call(this,{attributions:a.attributions,canvasFunction:this.Mk.bind(this),logo:a.logo,projection:a.projection,ratio:a.ratio,resolutions:a.resolutions,state:this.a.getState()});this.O=null;this.s=void 0;this.aj(a.style);y(this.a,"change",this.To,this)}w(Ly,Iy);k=Ly.prototype; k.Mk=function(a,b,c,d,e){var f=new Vj(.5*b/c,a,b,c,this.a.$,this.ca,this.bb);this.a.ae(a,b,e);var g=!1;this.a.ec(a,function(a){var d;if(!(d=g)){var e;(d=a.ib())?e=d.call(a,b):this.s&&(e=this.s(a,b));if(e){var h,p=!1;Array.isArray(e)||(e=[e]);d=0;for(h=e.length;dOpenStreetMap contributors.'];sy.call(this,{attributions:b,cacheSize:a.cacheSize,crossOrigin:void 0!==a.crossOrigin?a.crossOrigin:"anonymous",opaque:void 0!==a.opaque?a.opaque:!0,maxZoom:void 0!==a.maxZoom?a.maxZoom:19,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png", wrapX:a.wrapX})}w(Ry,sy);rj.nf={};rj.nf.Hf=function(){}; (function(a){function b(a,b,c){if(g)return new ImageData(a,b,c);b=h.createImageData(b,c);b.data.set(a);return b}function c(a){var b=!0;try{new ImageData(10,10)}catch(n){b=!1}return function(c){var d=c.buffers,e=c.meta,f=c.width,g=c.height,h=d.length,l=d[0].byteLength;if(c.imageOps){l=Array(h);for(c=0;cthis.Bk;)this.Nd.shift().callback(null,null)};f.prototype.uh=function(){if(0===this.ve&&0Stamen Design, under CC BY 3.0.','© OpenStreetMap contributors.'],az={terrain:{Ob:"jpg",opaque:!0},"terrain-background":{Ob:"jpg",opaque:!0},"terrain-labels":{Ob:"png",opaque:!1},"terrain-lines":{Ob:"png",opaque:!1},"toner-background":{Ob:"png",opaque:!0},toner:{Ob:"png",opaque:!0},"toner-hybrid":{Ob:"png",opaque:!1},"toner-labels":{Ob:"png", opaque:!1},"toner-lines":{Ob:"png",opaque:!1},"toner-lite":{Ob:"png",opaque:!0},watercolor:{Ob:"jpg",opaque:!0}},$y={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};function cz(a){a=a||{};ny.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition});this.i=a.params||{};this.l=Da();jy(this,dz(this))}w(cz,ny);function dz(a){var b=0,c=[],d;for(d in a.i)c[b++]=d+"-"+a.i[d];return c.join("/")}cz.prototype.o=function(){return this.i}; cz.prototype.Xc=function(a){return a}; cz.prototype.dc=function(a,b,c){var d=this.tileGrid;d||(d=this.eb(c));if(!(d.b.length<=a[0])){var e=d.Ma(a,this.l),f=Ba(d.Za(a[0]),this.j);1!=b&&(f=Aa(f,b,this.j));d={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};kb(d,this.i);var g=this.urls;g?(c=c.wb.split(":").pop(),d.SIZE=f[0]+","+f[1],d.BBOX=e.join(","),d.BBOXSR=c,d.IMAGESR=c,d.DPI=Math.round(d.DPI?d.DPI*b:90*b),a=(1==g.length?g[0]:g[wa((a[1]<a.status){try{var b=JSON.parse(a.responseText)}catch(c){this.ef();return}this.Cg(b)}else this.ef()};k.ap=function(){this.ef()};k.Sl=function(){return this.i}; k.Cg=function(a){var b=Ob("EPSG:4326"),c=this.c;if(void 0!==a.bounds){var d=Pb(b,c);d=jb(a.bounds,d)}var e=a.minzoom||0,f=a.maxzoom||22;this.tileGrid=c=Bc({extent:Dc(c),maxZoom:f,minZoom:e});this.tileUrlFunction=Vx(a.tiles,c);if(void 0!==a.attribution&&!this.C){var g=void 0!==d?d:b.G();this.va(function(b){return hb(g,b.extent)?[a.attribution]:null})}this.i=a;ww(this,"ready")};k.ef=function(){ww(this,"error")};function hz(a){iy.call(this,{projection:Ob("EPSG:3857"),state:"loading"});this.s=void 0!==a.preemptive?a.preemptive:!0;this.l=Xx;this.f=void 0;this.i=a.jsonp||!1;if(a.url)if(this.i)Zx(a.url,this.Dg.bind(this),this.ff.bind(this));else{var b=new XMLHttpRequest;b.addEventListener("load",this.gp.bind(this));b.addEventListener("error",this.fp.bind(this));b.open("GET",a.url);b.send()}else a.tileJSON?this.Dg(a.tileJSON):oa(!1,51)}w(hz,iy);k=hz.prototype; k.gp=function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status){try{var b=JSON.parse(a.responseText)}catch(c){this.ff();return}this.Dg(b)}else this.ff()};k.fp=function(){this.ff()};k.Pl=function(){return this.f};k.al=function(a,b,c,d,e){this.tileGrid?(b=this.tileGrid.Le(a,b),iz(this.ad(b[0],b[1],b[2],1,this.c),a,c,d,e)):!0===e?setTimeout(function(){c.call(d,null)},0):c.call(d,null)};k.ff=function(){ww(this,"error")}; k.Dg=function(a){var b=Ob("EPSG:4326"),c=this.c;if(void 0!==a.bounds){var d=Pb(b,c);d=jb(a.bounds,d)}var e=a.minzoom||0,f=a.maxzoom||22;this.tileGrid=c=Bc({extent:Dc(c),maxZoom:f,minZoom:e});this.f=a.template;if(e=a.grids){this.l=Vx(e,c);if(void 0!==a.attribution){var g=void 0!==d?d:b.G();this.va(function(b){return hb(g,b.extent)?[a.attribution]:null})}ww(this,"ready")}else ww(this,"error")}; k.ad=function(a,b,c,d,e){var f=a+"/"+b+"/"+c;if(this.a.a.hasOwnProperty(f))return this.a.get(f);a=[a,b,c];b=ky(this,a,e);d=this.l(b,d,e);d=new jz(a,void 0!==d?0:4,void 0!==d?d:"",this.tileGrid.Ma(a),this.s,this.i);this.a.set(f,d);return d};k.kh=function(a,b,c){a=a+"/"+b+"/"+c;this.a.a.hasOwnProperty(a)&&this.a.get(a)};function jz(a,b,c,d,e,f){cl.call(this,a,b);this.v=c;this.a=d;this.N=e;this.c=this.l=this.f=null;this.o=f}w(jz,cl);k=jz.prototype;k.Y=function(){return null}; k.getData=function(a){if(!this.f||!this.l)return null;var b=this.f[Math.floor((1-(a[1]-this.a[1])/(this.a[3]-this.a[1]))*this.f.length)];if("string"!==typeof b)return null;b=b.charCodeAt(Math.floor((a[0]-this.a[0])/(this.a[2]-this.a[0])*b.length));93<=b&&b--;35<=b&&b--;b-=32;a=null;b in this.l&&(b=this.l[b],this.c&&b in this.c?a=this.c[b]:a=b);return a}; function iz(a,b,c,d,e){0==a.state&&!0===e?(Lc(a,"change",function(){c.call(d,this.getData(b))},a),kz(a)):!0===e?setTimeout(function(){c.call(d,this.getData(b))}.bind(a),0):c.call(d,a.getData(b))}k.lb=function(){return this.v};k.Ne=function(){this.state=3;this.u()};k.bj=function(a){this.f=a.grid;this.l=a.keys;this.c=a.data;this.state=4;this.u()}; function kz(a){if(0==a.state)if(a.state=1,a.o)Zx(a.v,a.bj.bind(a),a.Ne.bind(a));else{var b=new XMLHttpRequest;b.addEventListener("load",a.ep.bind(a));b.addEventListener("error",a.cp.bind(a));b.open("GET",a.v);b.send()}}k.ep=function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status){try{var b=JSON.parse(a.responseText)}catch(c){this.Ne();return}this.bj(b)}else this.Ne()};k.cp=function(){this.Ne()};k.load=function(){this.N&&kz(this)};function lz(a){a=a||{};var b=a.params||{};ny.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:!("TRANSPARENT"in b?b.TRANSPARENT:1),projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:a.tileClass,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0,transition:a.transition});this.o=void 0!==a.gutter?a.gutter:0;this.i=b;this.l=!0;this.B=a.serverType; this.$=void 0!==a.hidpi?a.hidpi:!0;this.ca=Da();mz(this);jy(this,nz(this))}w(lz,ny);k=lz.prototype; k.hp=function(a,b,c,d){c=Ob(c);var e=this.c,f=this.tileGrid;f||(f=this.eb(c));b=f.Le(a,b);if(!(f.b.length<=b[0])){var g=f.Ta(b[0]),h=f.Ma(b,this.ca);f=Ba(f.Za(b[0]),this.j);var l=this.o;0!==l&&(f=za(f,l,this.j),h=Fa(h,g*l,h));e&&e!==c&&(g=by(e,c,a,g),h=bc(h,c,e),a=ac(a,c,e));l={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS};kb(l,this.i,d);d=Math.floor((h[3]-a[1])/g);l[this.l?"I":"X"]=Math.floor((a[0]-h[0])/g);l[this.l?"J":"Y"]= d;return oz(this,b,f,h,1,e||c,l)}};k.$f=function(){return this.o};k.ip=function(){return this.i}; function oz(a,b,c,d,e,f,g){var h=a.urls;if(h){g.WIDTH=c[0];g.HEIGHT=c[1];g[a.l?"CRS":"SRS"]=f.wb;"STYLES"in a.i||(g.STYLES="");if(1!=e)switch(a.B){case "geoserver":c=90*e+.5|0;g.FORMAT_OPTIONS="FORMAT_OPTIONS"in g?g.FORMAT_OPTIONS+(";dpi:"+c):"dpi:"+c;break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e;break;default:oa(!1,52)}f=f.b;a.l&&"ne"==f.substr(0,2)&&(a=d[0],d[0]=d[1],d[1]=a,a=d[2],d[2]=d[3],d[3]=a);g.BBOX=d.join(",");return Gy(1==h.length?h[0]:h[wa((b[1]<< b[0])+b[2],h.length)],g)}}k.Xc=function(a){return this.$&&void 0!==this.B?a:1};function nz(a){var b=0,c=[],d;for(d in a.i)c[b++]=d+"-"+a.i[d];return c.join("/")} k.dc=function(a,b,c){var d=this.tileGrid;d||(d=this.eb(c));if(!(d.b.length<=a[0])){1==b||this.$&&void 0!==this.B||(b=1);var e=d.Ta(a[0]),f=d.Ma(a,this.ca);d=Ba(d.Za(a[0]),this.j);var g=this.o;0!==g&&(d=za(d,g,this.j),f=Fa(f,e*g,f));1!=b&&(d=Aa(d,b,this.j));e={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};kb(e,this.i);return oz(this,a,d,f,b,c,e)}};k.jp=function(a){kb(this.i,a);mz(this);jy(this,nz(this))};function mz(a){a.l=0<=ye(a.i.VERSION||"1.3.0")};function pz(a,b,c,d,e,f,g,h,l,m,n,p,q,r,u){cl.call(this,a,b,u);this.v={};this.o={};this.c=m;this.a=[];this.D=c;this.l=f;this.f=[];this.N=[];if(f){var v=l.Ma(f),z=l.Ta(a[0]);h.Vf(v,h.Dc(z),function(a){var b=gb(v,h.Ma(a)),c=h.G();c&&(b=gb(b,c));.5<=cb(b)/z&&.5<=db(b)/z&&(b=a.toString(),c=m[b],c||(c=g(a,n,p),c=m[b]=new q(a,void 0==c?4:0,void 0==c?"":c,d,e),this.N.push(y(c,"change",r))),c.c++,this.a.push(b))}.bind(this))}}w(pz,cl);k=pz.prototype; k.ia=function(){for(var a=0,b=this.a.length;ag||d>g;)e.push([Math.ceil(c/g),Math.ceil(d/g)]),g+=g;break;case xz:for(;c>g||d>g;)e.push([Math.ceil(c/g),Math.ceil(d/g)]),c>>=1,d>>=1;break;default:oa(!1,53)}e.push([1,1]);e.reverse();d=[1];var h=[0];g=1;for(c=e.length;ga?Pe(2*a):1-Pe(2*(a-.5))}); t("ol.extent.boundingExtent",Ca);t("ol.extent.buffer",Fa);t("ol.extent.containsCoordinate",Ja);t("ol.extent.containsExtent",La);t("ol.extent.containsXY",Ka);t("ol.extent.createEmpty",Da);t("ol.extent.equals",Sa);t("ol.extent.extend",Ta);t("ol.extent.getArea",ab);t("ol.extent.getBottomLeft",Wa);t("ol.extent.getBottomRight",Ya);t("ol.extent.getCenter",eb);t("ol.extent.getHeight",db);t("ol.extent.getIntersection",gb);t("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]}); t("ol.extent.getTopLeft",$a);t("ol.extent.getTopRight",Za);t("ol.extent.getWidth",cb);t("ol.extent.intersects",hb);t("ol.extent.isEmpty",bb);t("ol.extent.applyTransform",jb);t("ol.Feature",Hk);Hk.prototype.clone=Hk.prototype.clone;Hk.prototype.getGeometry=Hk.prototype.U;Hk.prototype.getId=Hk.prototype.an;Hk.prototype.getGeometryName=Hk.prototype.sl;Hk.prototype.getStyle=Hk.prototype.bn;Hk.prototype.getStyleFunction=Hk.prototype.ib;Hk.prototype.setGeometry=Hk.prototype.Va;Hk.prototype.setStyle=Hk.prototype.sg; Hk.prototype.setId=Hk.prototype.qc;Hk.prototype.setGeometryName=Hk.prototype.Lc;t("ol.featureloader.xhr",Fo);t("ol.Geolocation",Jk);Jk.prototype.getAccuracy=Jk.prototype.el;Jk.prototype.getAccuracyGeometry=Jk.prototype.fl;Jk.prototype.getAltitude=Jk.prototype.gl;Jk.prototype.getAltitudeAccuracy=Jk.prototype.hl;Jk.prototype.getHeading=Jk.prototype.cn;Jk.prototype.getPosition=Jk.prototype.dn;Jk.prototype.getProjection=Jk.prototype.mi;Jk.prototype.getSpeed=Jk.prototype.Ol;Jk.prototype.getTracking=Jk.prototype.ni; Jk.prototype.getTrackingOptions=Jk.prototype.ai;Jk.prototype.setProjection=Jk.prototype.oi;Jk.prototype.setTracking=Jk.prototype.Ue;Jk.prototype.setTrackingOptions=Jk.prototype.Rj;t("ol.Graticule",Xk);Xk.prototype.getMap=Xk.prototype.gn;Xk.prototype.getMeridians=Xk.prototype.Cl;Xk.prototype.getParallels=Xk.prototype.Jl;Xk.prototype.setMap=Xk.prototype.setMap;t("ol.has.DEVICE_PIXEL_RATIO",nd);t("ol.has.CANVAS",pd);t("ol.has.DEVICE_ORIENTATION",qd);t("ol.has.GEOLOCATION",rd);t("ol.has.TOUCH",sd); t("ol.has.WEBGL",hd);bl.prototype.getImage=bl.prototype.Y;bl.prototype.load=bl.prototype.load;el.prototype.getImage=el.prototype.Y;t("ol.inherits",w);t("ol.interaction.defaults",Zh);t("ol.Kinetic",Gg);t("ol.loadingstrategy.all",tw);t("ol.loadingstrategy.bbox",function(a){return[a]});t("ol.loadingstrategy.tile",function(a){return function(b,c){c=a.Dc(c);b=tc(a,b,c);var d=[];c=[c,0,0];for(c[1]=b.fa;c[1]<=b.la;++c[1])for(c[2]=b.ea;c[2]<=b.ka;++c[2])d.push(a.Ma(c));return d}});t("ol.Map",K); ed.prototype.originalEvent=ed.prototype.originalEvent;ed.prototype.pixel=ed.prototype.pixel;ed.prototype.coordinate=ed.prototype.coordinate;ed.prototype.dragging=ed.prototype.dragging;dd.prototype.map=dd.prototype.map;dd.prototype.frameState=dd.prototype.frameState;t("ol.Object",Vc);Vc.prototype.get=Vc.prototype.get;Vc.prototype.getKeys=Vc.prototype.P;Vc.prototype.getProperties=Vc.prototype.L;Vc.prototype.set=Vc.prototype.set;Vc.prototype.setProperties=Vc.prototype.H;Vc.prototype.unset=Vc.prototype.R; Zc.prototype.key=Zc.prototype.key;Zc.prototype.oldValue=Zc.prototype.oldValue;t("ol.Observable",Uc);t("ol.Observable.unByKey",function(a){if(Array.isArray(a))for(var b=0,c=a.length;bb||180Terms of Use');ry.prototype.getApiKey=ry.prototype.ca;ry.prototype.getImagerySet=ry.prototype.ua;t("ol.source.CartoDB",ty);ty.prototype.getConfig=ty.prototype.nl;ty.prototype.updateConfig=ty.prototype.Sq;ty.prototype.setConfig=ty.prototype.uq;t("ol.source.Cluster",X);X.prototype.getDistance=X.prototype.Eo; X.prototype.getSource=X.prototype.Fo;X.prototype.setDistance=X.prototype.vq;t("ol.source.Image",zy);By.prototype.image=By.prototype.image;t("ol.source.ImageArcGISRest",Hy);Hy.prototype.getParams=Hy.prototype.Ho;Hy.prototype.getImageLoadFunction=Hy.prototype.Go;Hy.prototype.getUrl=Hy.prototype.Io;Hy.prototype.setImageLoadFunction=Hy.prototype.Jo;Hy.prototype.setUrl=Hy.prototype.Ko;Hy.prototype.updateParams=Hy.prototype.Lo;t("ol.source.ImageCanvas",Iy);t("ol.source.ImageMapGuide",Jy); Jy.prototype.getParams=Jy.prototype.No;Jy.prototype.getImageLoadFunction=Jy.prototype.Mo;Jy.prototype.updateParams=Jy.prototype.Po;Jy.prototype.setImageLoadFunction=Jy.prototype.Oo;t("ol.source.ImageStatic",Ky);t("ol.source.ImageVector",Ly);Ly.prototype.getSource=Ly.prototype.Qo;Ly.prototype.getStyle=Ly.prototype.Ro;Ly.prototype.getStyleFunction=Ly.prototype.ib;Ly.prototype.setStyle=Ly.prototype.aj;t("ol.source.ImageWMS",Ny);Ny.prototype.getGetFeatureInfoUrl=Ny.prototype.Uo; Ny.prototype.getParams=Ny.prototype.Wo;Ny.prototype.getImageLoadFunction=Ny.prototype.Vo;Ny.prototype.getUrl=Ny.prototype.Xo;Ny.prototype.setImageLoadFunction=Ny.prototype.Yo;Ny.prototype.setUrl=Ny.prototype.Zo;Ny.prototype.updateParams=Ny.prototype.$o;t("ol.source.OSM",Ry);t("ol.source.OSM.ATTRIBUTION",'© OpenStreetMap contributors.');t("ol.source.Raster",Sy);Sy.prototype.setOperation=Sy.prototype.s;Wy.prototype.extent=Wy.prototype.extent; Wy.prototype.resolution=Wy.prototype.resolution;Wy.prototype.data=Wy.prototype.data;t("ol.source.Source",uw);uw.prototype.getAttributions=uw.prototype.za;uw.prototype.getLogo=uw.prototype.Aa;uw.prototype.getProjection=uw.prototype.Da;uw.prototype.getState=uw.prototype.getState;uw.prototype.refresh=uw.prototype.sa;uw.prototype.setAttributions=uw.prototype.va;t("ol.source.Stamen",Zy);t("ol.source.Tile",iy);iy.prototype.getTileGrid=iy.prototype.jb;ly.prototype.tile=ly.prototype.tile; t("ol.source.TileArcGISRest",cz);cz.prototype.getParams=cz.prototype.o;cz.prototype.updateParams=cz.prototype.B;t("ol.source.TileDebug",ez);t("ol.source.TileImage",ny);ny.prototype.setRenderReprojectionEdges=ny.prototype.Qb;ny.prototype.setTileGridForProjection=ny.prototype.Rb;t("ol.source.TileJSON",gz);gz.prototype.getTileJSON=gz.prototype.Sl;t("ol.source.TileUTFGrid",hz);hz.prototype.getTemplate=hz.prototype.Pl;hz.prototype.forDataAtCoordinateAndResolution=hz.prototype.al; t("ol.source.TileWMS",lz);lz.prototype.getGetFeatureInfoUrl=lz.prototype.hp;lz.prototype.getParams=lz.prototype.ip;lz.prototype.updateParams=lz.prototype.jp;my.prototype.getTileLoadFunction=my.prototype.yb;my.prototype.getTileUrlFunction=my.prototype.zb;my.prototype.getUrls=my.prototype.Ab;my.prototype.setTileLoadFunction=my.prototype.Fb;my.prototype.setTileUrlFunction=my.prototype.hb;my.prototype.setUrl=my.prototype.rb;my.prototype.setUrls=my.prototype.vb;t("ol.source.Vector",U); U.prototype.addFeature=U.prototype.Gb;U.prototype.addFeatures=U.prototype.Qc;U.prototype.clear=U.prototype.clear;U.prototype.forEachFeature=U.prototype.Lh;U.prototype.forEachFeatureInExtent=U.prototype.ec;U.prototype.forEachFeatureIntersectingExtent=U.prototype.Mh;U.prototype.getFeaturesCollection=U.prototype.Th;U.prototype.getFeatures=U.prototype.ee;U.prototype.getFeaturesAtCoordinate=U.prototype.Sh;U.prototype.getFeaturesInExtent=U.prototype.Yf;U.prototype.getClosestFeatureToCoordinate=U.prototype.Oh; U.prototype.getExtent=U.prototype.G;U.prototype.getFeatureById=U.prototype.Rh;U.prototype.getFormat=U.prototype.ej;U.prototype.getUrl=U.prototype.fj;U.prototype.removeLoadedExtent=U.prototype.Cj;U.prototype.removeFeature=U.prototype.Lb;U.prototype.setLoader=U.prototype.hj;Bw.prototype.feature=Bw.prototype.feature;t("ol.source.VectorTile",rz);rz.prototype.clear=rz.prototype.clear;t("ol.source.WMTS",Y);Y.prototype.getDimensions=Y.prototype.ol;Y.prototype.getFormat=Y.prototype.kp; Y.prototype.getLayer=Y.prototype.lp;Y.prototype.getMatrixSet=Y.prototype.Al;Y.prototype.getRequestEncoding=Y.prototype.Nl;Y.prototype.getStyle=Y.prototype.mp;Y.prototype.getVersion=Y.prototype.Ul;Y.prototype.updateDimensions=Y.prototype.Tq; t("ol.source.WMTS.optionsFromCapabilities",function(a,b){var c=hc(a.Contents.Layer,function(a){return a.Identifier==b.layer});if(null===c)return null;var d=a.Contents.TileMatrixSet;var e=1e&&(e=0);var f=c.TileMatrixSetLink[e].TileMatrixSet;var g=c.TileMatrixSetLink[e].TileMatrixSetLimits;var h=c.Format[0];"format"in b&&(h=b.format);e=mc(c.Style,function(a){return"style"in b?a.Title==b.style:a.isDefault});0>e&&(e=0);e=c.Style[e].Identifier;var l={};"Dimension"in c&&c.Dimension.forEach(function(a){var b=a.Identifier,c=a.Default;void 0===c&&(c=a.Value[0]);l[b]=c});var m=hc(a.Contents.TileMatrixSet,function(a){return a.Identifier==f}),n,p=m.SupportedCRS;p&&(n=Ob(p.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/, "$1:$3"))||Ob(p));"projection"in b&&(p=Ob(b.projection),!p||n&&!Xb(p,n)||(n=p));p=c.WGS84BoundingBox;if(void 0!==p){var q=Ob("EPSG:4326").G();q=p[0]==q[0]&&p[2]==q[2];var r=bc(p,"EPSG:4326",n);(p=n.G())&&(La(p,r)||(r=void 0))}g=tz(m,r,g);var u=[];m=b.requestEncoding;m=void 0!==m?m:"";if("OperationsMetadata"in a&&"GetTile"in a.OperationsMetadata)for(a=a.OperationsMetadata.GetTile.DCP.HTTP.Get,r=0,p=a.length;r ms) { clearInterval(timer); resolve(self); } }, step); return self; }; this.passedOl = ol; var self = this; window.addEventListener('load', function () { if (self.beforeLoad != undefined) self.beforeLoad(self); self.init(); if (self.afterLoad != undefined) self.afterLoad(self); self.clearNonACListItemsFromPathListWidget(self); }, false); } gsMapObjectClass.prototype.clearNonACListItemsFromPathListWidget = function (self) { var items = document.getElementsByName("__ac_pathListItem"); var visiblePaths = self.userOptions.visiblePaths; if (visiblePaths !== undefined) { items.forEach(function (i) { if (visiblePaths.indexOf(i.id.replace('__ac_', '')) === -1) { setTimeout(function () { i.remove(); }, 10); setTimeout(function () { i.remove(); }, 100); setTimeout(function () { i.remove(); }, 500); setTimeout(function () { i.remove(); }, 1000); setTimeout(function () { i.remove(); }, 2000); setTimeout(function () { i.remove(); }, 5500); setTimeout(function () { i.remove(); }, 8500); } }); } }; gsMapObjectClass.prototype.setBaseMap = function (url) { this.map.removeLayer(this.activeBaseLayer); switch (url) { case 'bing': var styles = [ 'Road', 'Aerial', 'AerialWithLabels', 'collinsBart', 'ordnanceSurvey' ]; this.activeBaseLayer = new ol.layer.Tile({ source: new ol.source.BingMaps({ key: 'AnOH4hX_YaNwHAdisvgGuUAGcEXxFYE2TwJsswR-vZTSEaTHffULolihVlFpIhjv', imagerySet: styles[1] }) }); break; case 'ktimanet': this.activeBaseLayer = new ol.layer.Tile({ source: new ol.source.TileWMS({ url: 'http://gis.ktimanet.gr/wms/wmsopen/wmsserver.aspx?', //crossOrigin: 'anonymous', params: { 'SRS': 'EPSG:900913', 'FORMAT': 'jpeg', 'LAYERS': 'basic', 'TILED': true }, serverType: 'mapserver' }) }); break; case 'osm': this.activeBaseLayer = new ol.layer.Tile({ source: new ol.source.OSM() }); break; default: this.activeBaseLayer = new ol.layer.Tile({ source: new ol.source.XYZ({ url: (url || 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png') // 'http://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png') , crossOrigin: null }) }); break; } this.map.getLayers().insertAt(0, this.activeBaseLayer); }; gsMapObjectClass.prototype.init = function () { var self = this; this.createModal(); for (var i in exports.gsMapInitStartFunctionList) exports.gsMapInitStartFunctionList[i](self); this.dom = document.getElementById(this.mapDivId); console.log(self.userOptions); this.mapCustomEventsHandler.registerMapCustomEvents(self, self.userOptions.events); var mapOpacity = self.userOptions.opacity || 1.0; if (self.userOptions.url == 'bing') { var styles = [ 'Road', 'Aerial', 'AerialWithLabels', 'collinsBart', 'ordnanceSurvey' ]; this.activeBaseLayer = new ol.layer.Tile({ opacity: mapOpacity, source: new ol.source.BingMaps({ key: 'AnOH4hX_YaNwHAdisvgGuUAGcEXxFYE2TwJsswR-vZTSEaTHffULolihVlFpIhjv', imagerySet: styles[1] }) }); } else { this.activeBaseLayer = new ol.layer.Tile({ opacity: mapOpacity, source: new ol.source.XYZ({ url: (self.userOptions.url || 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png') // 'http://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png') , crossOrigin: null }) }); } this.state.zoom = (self.userOptions.zoom || 4); var myControls = ol.control.defaults({ rotate: false, attribution: false, zoom: (self.userOptions.showZoomTool == 1) }); // let fs = new ol.control.FullScreen(); // myControls.extend([fs]); // console.log(fs); var interactions = ol.interaction.defaults({ altShiftDragRotate: false, pinchRotate: false }); //if(self.userOptions.showZoomTool == 1) myControls.extend([new ol.control.ZoomSlider()]); this.map = new ol.Map({ controls: myControls, interactions: interactions, layers: [ this.activeBaseLayer ], target: this.mapDivId, view: new ol.View({ center: self.ll2xy([(self.userOptions.lng || 15), (self.userOptions.lat || 44)]), zoom: this.state.zoom }) }); this.map.getView().on('propertychange', function (e) { switch (e.key) { case 'resolution': self.state.zoom = this.getZoom(); break; case 'center': break; } }); this.hlsource = new ol.source.Vector({ wrapX: false }); this.hllayer = new ol.layer.Vector({ source: this.hlsource, visible: true }); this.map.addLayer(this.hllayer); this.map.on('pointermove', function (evt) { var found = false; self.map.forEachFeatureAtPixel(evt.pixel, function (feature, layer) { if (!layer) { return; } if (feature.get('msp')) { found = true; if (feature.get('msp').hover) feature.get('msp').hover(self, feature, layer, evt.pixel); } }); if (!found) { for (var i in exports.gsMapHoverNotFoundFunctionList) exports.gsMapHoverNotFoundFunctionList[i](self); } }); this.map.on('click', function (evt) { var found = false; self.map.forEachFeatureAtPixel(evt.pixel, function (feature, layer) { if (!layer) { return; } if (feature.get('msp')) { found = true; if (feature.get('msp').click.length > 0) { feature.get('msp').click.forEach(function (f) { f(self, feature, layer, evt.pixel); }); } /* else { if (feature.get('msp').click.length!=0) feature.get('msp').click(self, feature, layer, evt.pixel); }*/ } }); if (!found) { for (var i in exports.gsMapClickNotFoundFunctionList) exports.gsMapClickNotFoundFunctionList[i](self); } }); this.map.getView().on('propertychange', function (e) { switch (e.key) { case 'resolution': for (var i in self.onZoomLeveChangedCustomFunctions) self.onZoomLeveChangedCustomFunctions[i](self, self.state.zoom); break; } }); for (var i in exports.gsMapInitEndFunctionList) exports.gsMapInitEndFunctionList[i](self); var adventureCollectionsKeys = (self.userOptions.ac || []); for (var i in adventureCollectionsKeys) { eval('console.log(adventureCollection_' + adventureCollectionsKeys[i] + ');'); if (this.userOptions.visiblePaths) { for (var i in adventureCollectionsKeys) eval('adventureCollection_' + adventureCollectionsKeys[i] + '.setVisibleItems(this.userOptions.visiblePaths);'); } eval('adventureCollection_' + adventureCollectionsKeys[i] + '.initOl(this.passedOl,this.modal);'); eval('adventureCollection_' + adventureCollectionsKeys[i] + '.registerMap(this);'); eval('this.adventureCollectionList.push(adventureCollection_' + adventureCollectionsKeys[i] + ');'); } var poiCollectionsKeys = (self.userOptions.pc || []); for (var i in poiCollectionsKeys) { eval('poiCollection_' + poiCollectionsKeys[i] + '.initOl(this.passedOl,this.modal);'); eval('poiCollection_' + poiCollectionsKeys[i] + '.registerMap(this);'); } if (this.userOptions.onLoad && this.userOptions.onLoad.zoom) { for (var i in adventureCollectionsKeys) { // eval('adventureCollection_' + adventureCollectionsKeys[i] + '.zoomTo();'); eval('this.zoomTo();'); } } try { createAdventureListWidgetContext(); } catch (err) { } ; if (self.userOptions.showLogo == 1) { var d = document.createElement('div'); d.style.position = 'absolute'; d.style.top = '10px'; d.style.right = '10px'; d.innerHTML = ''; this.dom.appendChild(d); } }; gsMapObjectClass.prototype.zoomTo = function (full) { var zoomed = false; if (this.adventureCollectionList.length > 0 && !full) { this.adventureCollectionList.forEach(function (ac) { var v = ac.zoomTo(); if (v) zoomed = true; }); } if (!zoomed) { var ext_1; this.map.getLayers().forEach(function (layer) { if (layer.type === 'VECTOR') { var r2 = layer.getSource().getExtent(); if (r2.every(function (v) { return isFinite(v); })) { if (ext_1) { ext_1 = [ Math.min(ext_1[0], r2[0]), Math.min(ext_1[1], r2[1]), Math.max(ext_1[2], r2[2]), Math.max(ext_1[3], r2[3]) ]; } else { ext_1 = r2.slice(); } } } }); if (ext_1) { this.map.getView().fit(ext_1, { duration: 500, padding: [10, 10, 10, 10] }); } } }; gsMapObjectClass.prototype.log = function () { var adventureCollectionsKeys = (this.userOptions.ac || []); for (var i in adventureCollectionsKeys) { var collection = void 0; eval('collection = adventureCollection_' + adventureCollectionsKeys[i]); console.log(collection); collection.data.forEach(function (adventure) { console.info(adventure.path); }); } ; }; gsMapObjectClass.prototype.createModal = function () { this.modal = divGenerator.create({ modal: { close: true, transition_time: 500, opacity: 0.5 }, move: true, style: { 'cursor': 'default', } }); }; gsMapObjectClass.prototype.registerOnZoomChangedFunction = function (fn) { this.onZoomLeveChangedCustomFunctions.push(fn); }; gsMapObjectClass.prototype.waitR = function (params, self) { var ms = params.ms; var resolve = params.resolve || function () { }; setTimeout(function () { resolve(self); }, ms); return self; }; gsMapObjectClass.prototype.executeSeq = function (fc) { this.executeSeqItem(fc, 0, this); }; gsMapObjectClass.prototype.executeSeqItem = function (fc, index, self) { var _this = this; /*let p = */ new Promise(function (resolve, reject) { fc[index][1].resolve = resolve; fc[index][0](fc[index][1], _this); }).then(function (self) { if (index < (fc.length - 1)) { self.executeSeqItem(fc, index + 1, self); } }); }; gsMapObjectClass.prototype.getZoom = function () { return this.map.getView().getZoom(); }; gsMapObjectClass.prototype.scaleExtent = function (extent, scaleFactor) { var m = [(extent[0] + extent[2]) / 2, (extent[1] + extent[3]) / 2]; return [ m[0] - (m[0] - extent[0]) * scaleFactor, m[1] - (m[1] - extent[1]) * scaleFactor, m[0] + (m[0] - extent[0]) * scaleFactor, m[1] + (m[1] - extent[1]) * scaleFactor ]; }; return gsMapObjectClass; }()); exports.gsMapObjectClass = gsMapObjectClass; /* new ol.layer.Tile({ source: new ol.source.XYZ({ url: 'https://anadigit.fr/wms/wmsolv3xyz2.php?z={z}&x={x}&y={y}&t=15', crossOrigin: 'null', projection: projection, tileGrid: new ol.tilegrid.TileGrid({ origin: ol.extent.getTopLeft(projectionExtent), resolutions: resolutions, tileSize: 256 }) }) });*/ /* this.activeBaseLayer =new ol.layer.Tile({ source: new ol.source.XYZ({ // /url: 'http://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/${z}/${y}/${x}' // url: 'https://a.tile.thunderforest.com/outdoors/{z}/{x}/{y}.png' // url:'http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png' // url:'http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png' // url:'http://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}' url:'http://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png' //url:'http://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png' //["https://a.tile.thunderforest.com/outdoors/${z}/${x}/${y}.png", //"https://b.tile.thunderforest.com/outdoors/${z}/${x}/${y}.png", //"https://c.tile.thunderforest.com/outdoors/${z}/${x}/${y}.png"] , crossOrigin: null }) })*/ /***/ }), /* 2 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function load(gsMapClickNotFoundFunctionList, gsMapHoverNotFoundFunctionList, gsMapInitEndFunctionList, gsMapInitStartFunctionList) { gsMapInitStartFunctionList.push(function (map) { }); gsMapInitEndFunctionList.push(function (map) { console.log(map); var self = map; map.basemapManager = {}; map.basemapManager.items = [ { dom: undefined, name: 'topoguide', url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png', active: true, image_url: 'https://anadigit.fr/topoguidemap/img/thumbs/tn.jpg' }, { dom: undefined, name: 'Cadastre', url: 'ktimanet', active: false, image_url: 'https://anadigit.fr/topoguidemap/img/thumbs/ktima.jpg' }, { dom: undefined, name: 'OSM', url: 'osm', active: false, image_url: 'https://anadigit.fr/topoguidemap/img/thumbs/osm.jpg' }, { dom: undefined, name: 'BING', url: 'bing', active: true, image_url: 'https://anadigit.fr/topoguidemap/img/thumbs/bing.jpg' } ]; var css = "\n\n #tg_basemap_manager{ \n border: 1px solid gray; \n position: absolute;\n transition: all 0.2s;\n }\n \n \n #tg_basemap_manager:hover{ \n transform: scale(1.07); /* Equal to scaleX(0.7) scaleY(0.7) */\n }\n \n \n \n \n \n .tg_basemap_selector_container {\n position: absolute;\n display: inline-block;\n /*width: 100%;*/\n bottom: 0px;\n left: 0px;\n\n /*background-color: yellowgreen;*/\n }\n\n .tg_basemap_selector_trigger {\n position: relative;\n height: 34px;\n width: 34px;\n bottom: 4px;\n left: 15px;\n }\n\n .tg_basemap_selector_trigger input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n .tg_basemap_selector_panel {\n display: inline-block;\n width: 50px;\n position: relative;\n }\n\n .tg_basemap_selector_panel .tg_basemap_selector_panel_header {\n position: relative;\n cursor: pointer;\n top:-10px;\n width: 50px;\n height: 50px;\n background-color: rgb(91, 134, 48);\n -webkit-transition: .4s;\n transition: .4s;\n border-radius: 10px;\n }\n\n input:checked+.tg_basemap_selector_panel .tg_basemap_selector_panel_header {\n background-color: rgb(91, 134, 48);\n margin-bottom: 120px;\n }\n\n .tg_basemap_selector_panel_body {\n position: absolute;\n bottom: 0px;\n width: 100%;\n top: 40px;\n background-color: transparent;\n }\n \n \n .tg_basemap_selector_panel_body_content{\n background-color: white;\n position:absolute;\n left:13px;\n top:30px;\n bottom:10px;\n right:10px;\n border-radius: 8px;\n overflow:hidden;\n\n padding-right: 8px;\n padding-left: 8px;\n }\n\n .tg_basemap_selector_panel_body_content_item{\n display:inline-block;\n height:100%;\n padding-top:10px;\n padding-bottom:10px;\n width:25%;\n }\n\n\n \n .tg_basemap_selector_panel_body_content_item>div {\n border:1px solid transparent;\n overflow:hidden;\n position:relative;\n background-color:#eee;\n border-radius: 8px;\n height: 100%;\n margin-left: auto;\n margin-right: auto;\n width:90%;\n }\n\n .tg_basemap_selector_panel_body_content_item>div:hover {\n border:1px solid #085bf3!important;\n }\n\n .tg_basemap_selector_panel_body_content_item>div[selected=true] {\n border:1px solid #085bf3!important;\n }\n\n "; var style = document.createElement('style'); style.appendChild(document.createTextNode(css)); document.getElementsByTagName('head')[0].appendChild(style); /* var d = document.createElement('div'); d.id = 'tg_basemap_manager'; d.style.bottom = '10px'; d.style.right = '10px'; d.style.borderRadius = '9px'; d.style.width = '90px'; d.style.height = '90px'; d.style.overflow = 'hidden'; map.dom.appendChild(d); map.basemapManager['dom'] = d; map.basemapManager.dom.innerHTML = ``; d.onclick = function (){ console.log(map); let active_index = map.basemapManager.items.findIndex(i=>i.active === true); let new_active_index = active_index + 1; if(map.basemapManager.items.length === new_active_index){ new_active_index = 0 } let next_active_index = new_active_index + 1; if(map.basemapManager.items.length === next_active_index){ next_active_index = 0 } map.basemapManager.items.forEach((v:any,i:number)=>{ v.active = i === new_active_index; }); console.log(new_active_index); map.setBaseMap(map.basemapManager.items[new_active_index].url); map.basemapManager.dom.innerHTML = ``; }; */ var d = document.createElement('div'); d.className = 'tg_basemap_selector_container'; map.dom.appendChild(d); d.innerHTML = "\n \n
\n
\n
\n"; var body = document.getElementById("tg_basemap_selector_panel_body_content"); // body.innerHTML = ``; body.innerHTML = map.basemapManager.items.map(function (i, index) { var selected = 'selected=false'; if (index === 0) { selected = 'selected=true'; } return "
\n
\n
\n
" + i.name + "
\n
\n
"; }).join(''); map.basemapManager['dom'] = d; map.basemapManager.items.forEach(function (i, index) { var id = "tg_basemap_selector_panel_body_content_item_" + index; var dom = document.getElementById(id); i.dom = dom; dom.onclick = function () { var new_active_index = index; map.basemapManager.items.forEach(function (v, i) { v.active = i === new_active_index; console.log(v); v.dom.removeAttribute("selected"); if (v.active) { v.dom.setAttribute("selected", "true"); } else { v.dom.setAttribute("selected", "false"); } }); console.log(new_active_index); map.setBaseMap(map.basemapManager.items[new_active_index].url); //map.basemapManager.dom.innerHTML = ``; }; }); // map.tooltip.dom = map.dom.appendChild(document.createElement('div')); // map.tooltip.dom.style['position']='absolute'; // map.tooltip.dom.style['padding']='2px'; // map.tooltip.dom.style['padding-left']='5px'; // map.tooltip.dom.style['padding-right']='5px'; // map.tooltip.dom.style['background-color']='rgba(0,0,0,0.7)'; // map.tooltip.dom.style['border-radius']='3px'; // map.tooltip.dom.style['overflow']='hidden'; // map.tooltip.dom.style['color']='rgba(255,255,255,1)'; // map.tooltip.hide = function(){ // map.tooltip.dom.hidden = true; // }; // map.tooltip.setPosition = function(pos:number[]){ // map.tooltip.dom.hidden = false; // map.tooltip.dom.style.left = pos[0] + 20 + 'px'; // map.tooltip.dom.style.top = pos[1] - 10 + 'px'; // }; // map.tooltip.setContent = function(content:string,params:any){ // if(params.background) self.tooltip.dom.style['background-color']=params.background; // if(params.color) self.tooltip.dom.style['color']=params.color; // self.tooltip.dom.innerHTML = content; // }; // map.registerMapHoverNotFoundFunction(map.tooltip.hide); }); } exports.load = load; /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ol = __webpack_require__(0); function isTouchDevice() { return 'ontouchstart' in document.documentElement; } function load(gsMapClickNotFoundFunctionList, gsMapHoverNotFoundFunctionList, gsMapInitEndFunctionList, gsMapInitStartFunctionList) { gsMapInitStartFunctionList.push(function (map) { var self = map; map.gsLayers = {}; map.gsLayers.item = []; map.gsLayers.addGeoJsonPromise = function (name, url, style, params) { return Promise.resolve().then((function () { return this.addGeoJson(name, url, style, params); }).bind(this, true)); }; map.gsLayers.removeLayer = function (name) { var layer = self.gsLayers.get(name); if (layer) { layer.remove(); } }; map.gsLayers.addGeoJson = function (name, url, style, params) { var item = { active: true, currentFilterMatchParams: undefined }; item.name = name; item.visible = function (value) { if (value) { item.show(); } else { item.hide(); } }; item.remove = function () { var index = map.gsLayers.item.findIndex(function (i) { return i.name === item.name; }); if (index !== -1) { map.map.removeLayer(item.layer); map.gsLayers.item.splice(index, 1); item = undefined; return true; } return false; }; item.hide = function () { if (item.active) { map.map.removeLayer(item.layer); } item.active = false; }; item.show = function () { if (!item.active) { map.map.addLayer(item.layer); } item.active = true; }; item.getExtent = function () { return item.source.getExtent(); }; if (Object.keys(style).length > 0) { item.styleParams = style.styleParams || {}; } else { item.styleParams = {}; style = undefined; } item.source = new ol.source.Vector({ url: url, format: new ol.format.GeoJSON({ defaultDataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857', }), wrapX: false }); item.source.on('addfeature', function (event) { var properties = event.feature.getProperties(); if (properties['style']) { var style_1 = properties['style']; var style_object = {}; if (style_1.color) { var color = style_1.color || 'black'; var width = style_1.width || 1; style_object.stroke = new ol.style.Stroke({ color: color, width: width }); } if (style_1.fill) { style_object.fill = new ol.style.Fill({ color: style_1.fill }); } var st = new ol.style.Style(style_object); event.feature.setStyle(st); } }); // new ol.source.Vector({wrapX: false, noWrap: true}); item.layer = new ol.layer.Vector({ source: item.source, visible: true, style: style }); if (params) { if (params.minlevel) { map.registerOnZoomChangedFunction(function (a) { if (params.minlevel > map.state.zoom) { item.hide(); } else { item.show(); } }); } var clickFunctionList = []; if (params.events) { if (params.events.click) { var eventParams = this.eventParams; clickFunctionList.push(function (s, f, l) { var eventParams = f.get('msp').eventParams; for (var i in eventParams.click) { var clickEvent = eventParams.click[i]; if (clickEvent.type === 'modalImage') { var div = document.getElementById('myModal'); if (!div) { console.error('div with id myModal does not exist'); } var width = ''; if (clickEvent.style) { if (clickEvent.style.width) { width = 'width:' + clickEvent.style.width + 'px'; } } self.modal.dom.innerHTML = '
' + '
' + f.get(clickEvent.title.key) + '
' + '' + '
' + f.get(clickEvent.text.key) + '
' + '
'; setTimeout(function () { self.modal.show(); // $('#myModal').modal('show'); }, 200); } if (clickEvent.type === 'function') { clickEvent.function(map, f); } if (clickEvent.type === 'hide') { item.hide(); } } }); } if (params.events.onLoad && params.events.onLoad.zoom) { setTimeout(function () { var x = item.getExtent(); x && map.flytoextentR({ extent: x }, map); }, 2000); } } var hoverFunction = function (s, l, f, p) { }; if (params.tooltip) { if (!isTouchDevice()) { hoverFunction = function (s, f, l, p) { s.tooltip.setContent(this.tooltip_prefix + f.get(this.tooltip_key) + this.tooltip_sufix, this.tooltipParams); s.tooltip.setPosition(p); }; } else { clickFunctionList.push(function (s, f, l, p) { var self = f.get('msp'); s.tooltip.setContent(self.tooltip_prefix + f.get(self.tooltip_key) + self.tooltip_sufix, self.tooltipParams); s.tooltip.setPosition(p); }); } } if (params.tooltip || params.events) { item.source.on('addfeature', function (e) { e.feature.set('msp', { tooltipParams: params.tooltip, eventParams: params.events, tooltip_key: ((params.tooltip) ? params.tooltip.key : undefined), tooltip_prefix: ((params.tooltip) ? params.tooltip.prefix || '' : ''), tooltip_sufix: ((params.tooltip) ? params.tooltip.sufix || '' : ''), click: clickFunctionList, hover: hoverFunction }); }); } if (params.zIndex) { item.layer.setZIndex(params.zIndex); } } map.map.addLayer(item.layer); // console.log(map); map.gsLayers.item.push(item); map.gsLayers.regenList(); return item; }; map.gsLayers.filter = function (layerName, match) { var found = false; for (var i in map.gsLayers.item) { if (map.gsLayers.item[i].name == layerName) { var item = map.gsLayers.item[i]; if (!(item.currentFilterMatchParams === match)) { found = true; item.currentFilterMatchParams = match; if (item.styleParams.type == 'icon') { item.layer.setStyle(map.pointStyleIconFiltered(item.styleParams, match)); } if (item.styleParams.type == 'polygon') { item.layer.setStyle(map.polygonStyleFiltered(item.styleParams, match)); } if (item.styleParams.type == 'linestring') { item.layer.setStyle(map.linestringStyleFiltered(item.styleParams, match)); } } } } if (found) { console.log('style is function type. should be applied on features to avoid restyling on each render.'); } }; map.gsLayers.get = function (layerName) { return map.gsLayers.item.filter(function (e) { return e.name === layerName; })[0]; }; map.gsLayers.regenList = function () { map.gsLayers['dom'].innerHTML = ""; var _loop_1 = function (i) { // console.log(i); var d = document.createElement('div'); d.style.textAlign = 'right'; map.gsLayers['dom'].appendChild(d); var span_2 = document.createElement('span'); span_2.innerHTML = i.name; span_2.className = "tg_layer_span_label"; d.appendChild(span_2); var label = document.createElement('label'); label.className = "tg_layer_switch"; d.appendChild(label); var input = document.createElement('input'); input.type = "checkbox"; input.checked = i.active; label.appendChild(input); input.onchange = function (e) { if (e.target.checked === true) { i.show(); } else { i.hide(); } }; var span = document.createElement('span'); //span.innerHTML = i.name; span.className = "tg_layer_slider tg_layer_round"; label.appendChild(span); /* let label = document.createElement('label'); d.appendChild(label); let span = document.createElement('span'); span.innerHTML = i.name; label.appendChild(span); let input = document.createElement('input'); input.type = "checkbox"; input.checked = i.active; label.appendChild(input); input.onchange = function(e:any){ if(e.target.checked === true){ i.show(); }else{ i.hide(); } } */ // html += `
`; }; for (var _i = 0, _a = map.gsLayers.item; _i < _a.length; _i++) { var i = _a[_i]; _loop_1(i); } // map.gsLayers['dom'].innerHTML = html; }; }); gsMapInitEndFunctionList.push(function (map) { //console.log(map); var css = "\n\n #tg_layer_list{ \n position: absolute;\n bottom:10px;\n right:10px;\n background-color:rgba(255,255,255,0.9);\n transition: all 0.2s;\n min-width:90px;\n border-radius:8px;\n }\n /*\n #tg_layer_list>div{ \n text-align:right;\n font-family:Arial;\n font-size:11pt;\n margin:4px;\n cursor:pointer;\n }\n #tg_layer_list>div>label>span{ \n position:relative;top:-2px;\n cursor:pointer;\n }\n #tg_layer_list>div>label>input{ \n margin-left:9px;margin-top:3px;\n cursor:pointer;\n }\n\n */\n #tg_layer_list>div {\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Old versions of Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none; /* Non-prefixed version, currently\n supported by Chrome, Edge, Opera and Firefox */\n }\n\n\n .tg_layer_span_label{ \n text-align:right;\n font-family:Arial;\n font-size:10pt;\n margin:4px;\n cursor:default;\n vertical-align:top;\n top:6px;\n position:relative;\n font-weight:bold;\n }\n\n\n /* The switch - the box around the slider */\n.tg_layer_switch {\n position: relative;\n display: inline-block;\n width: 60px;\n height: 34px;\n zoom: 0.8;\n -moz-transform: scale(0.8);\n transform: scale(0.8);\n}\n\n/* Hide default HTML checkbox */\n.tg_layer_switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n/* The slider */\n.tg_layer_slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: .4s;\n transition: .4s;\n}\n\n.tg_layer_slider:before {\n position: absolute;\n content: \"\";\n height: 26px;\n width: 26px;\n left: 4px;\n bottom: 4px;\n background-color: white;\n -webkit-transition: .4s;\n transition: .4s;\n}\n\ninput:checked + .tg_layer_slider {\n background-color: rgb(91,134,48);\n}\n\ninput:focus + .tg_layer_slider {\n box-shadow: 0 0 1px rgb(91,134,48);\n}\n\ninput:checked + .tg_layer_slider:before {\n -webkit-transform: translateX(26px);\n -ms-transform: translateX(26px);\n transform: translateX(26px);\n}\n\n/* Rounded sliders */\n.tg_layer_slider.tg_layer_round {\n border-radius: 34px;\n}\n\n.tg_layer_slider.tg_layer_round:before {\n border-radius: 50%;\n}\n \n "; var style = document.createElement('style'); style.appendChild(document.createTextNode(css)); document.getElementsByTagName('head')[0].appendChild(style); var d = document.createElement('div'); d.id = 'tg_layer_list'; map.dom.appendChild(d); map.gsLayers['dom'] = d; map.gsLayers.regenList(); }); } exports.load = load; /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ol = __webpack_require__(0); function load(gsMapClickNotFoundFunctionList, gsMapHoverNotFoundFunctionList, gsMapInitEndFunctionList, gsMapInitStartFunctionList) { gsMapInitStartFunctionList.push(function (map) { map.pointStyle = function (fillColor, strokeColor, strokeWidth, radius, text, textOffsetY, textColor) { return new ol.style.Style({ image: new ol.style.Circle({ radius: radius, fill: new ol.style.Fill({ color: fillColor }), stroke: new ol.style.Stroke({ color: strokeColor, width: strokeWidth }) }), text: new ol.style.Text({ //textAlign: align, //textBaseline: baseline, textAlign: 'bottom', //textBaseline: baseline, font: 'normal 17px Arial', text: text, fill: new ol.style.Fill({ color: textColor }), stroke: new ol.style.Stroke({ color: textColor, width: 0 }), offsetX: 10, offsetY: textOffsetY, rotation: 0 }) }); }; map.gsStyle = function (params) { var st = {}; var type = params.type; var dynamic = (params.dynamic) ? true : false; if (dynamic) { if (type == 'icon') { st = map.pointStyleIconDynamic(params); } } else { if (type == 'icon') { st = map.pointStyleIcon(params); } if (type == 'polygon') { st = map.polygonStyle(params); } if (type == 'linestring') { st = map.linestringStyle(params); } if (type == 'multilinestring') { st = map.multilinestringStyle(params); } } st.styleParams = params; return st; }; function textStyle(params) { var textParams = params.text || null; if (textParams) { return new ol.style.Text({ //textAlign: align, //textBaseline: baseline, textAlign: 'bottom', //textBaseline: baseline, font: 'normal 12px Arial', //text: text, //fill: new ol.style.Fill({color: textColor}), //stroke: new ol.style.Stroke({color: textColor, width: 0}), offsetX: 0, offsetY: 0, rotation: 0 }); } else { return null; } } map.pointStyleIcon = function (params) { //console.log(params); var iconUrl = params.iconUrl; var scale = params.scale || 0.25; var st = new ol.style.Style({ image: new ol.style.Icon({ //anchor: [0.5, 0.5], // size: [52, 52], //offset: [52, 0], //opacity: 1, scale: scale, src: iconUrl }) }); //st.styleParams = params; return st; }; map.polygonStyle = function (params) { var fill = params.fill || 'white'; var color = params.color || 'black'; var width = params.width || 1; var st = new ol.style.Style({ stroke: new ol.style.Stroke({ color: color, width: width }), fill: new ol.style.Fill({ color: fill }) }); return st; }; map.linestringStyle = function (params) { var color = params.color || 'black'; var width = params.width || 1; var st = new ol.style.Style({ stroke: new ol.style.Stroke({ color: color, width: width }) }); return st; }; map.multilinestringStyle = function (params) { var compositeStyleArray = null; ; if (params.compositeStyleArray) { if (typeof params.compositeStyleArray === 'function') { compositeStyleArray = params.compositeStyleArray || [{ color: 'black', width: 4 }, { color: 'red', width: 2 }]; } else { compositeStyleArray = params.compositeStyleArray || [{ color: 'black', width: 4 }, { color: 'red', width: 2 }]; } } else { } var color; if (params.color instanceof String) { color = params.color || 'black'; } else { color = params.color || 'black'; } var width; if (params.width instanceof Number) { width = params.width || 1; } else { width = params.width || 1; } var paramIndex = params.paramIndex; return function (feature) { var myStyles = null; feature.getGeometry().getLineStrings().forEach(function (ls) { if (compositeStyleArray) { var myCompositeStyleArray = void 0; if (typeof compositeStyleArray === 'function') { myCompositeStyleArray = compositeStyleArray(ls.getCoordinates()[0][paramIndex]); } else { myCompositeStyleArray = compositeStyleArray; } if (myStyles === null) { myStyles = []; myCompositeStyleArray.forEach(function (s) { myStyles.push([]); }); } ; myCompositeStyleArray.forEach(function (s, i) { if (!myStyles[i]) { myStyles[i] = []; } ; myStyles[i].push(new ol.style.Style({ geometry: ls, stroke: new ol.style.Stroke({ color: s.color, width: s.width }) })); }); } else { myStyles = [[]]; var mycolor = void 0; if (typeof color == 'string') { mycolor = color; } else { mycolor = color(ls.getCoordinates()[0][paramIndex]); } var mywidth = void 0; if (typeof width == 'number') { mywidth = width; } else { mywidth = width(ls.getCoordinates()[0][paramIndex]); } myStyles[0].push(new ol.style.Style({ geometry: ls, stroke: new ol.style.Stroke({ color: mycolor, width: mywidth }) })); } }); var outStyles = []; myStyles.forEach(function (s) { outStyles.push.apply(outStyles, s); }); feature.setStyle(outStyles); }; }; map.pointStyleIconDynamic = function (params) { return function (feature) { return map.pointStyleIconDynamicObject(params, feature); }; }; map.pointStyleIconDynamicObject = function (params, feature) { var key = params.dynamic.key; var p = feature.getProperties(); var dynamic_params = params.dynamic[p[key]]; if (dynamic_params) { return map.pointStyleIcon(dynamic_params); } return map.pointStyleIcon(params); }; map.pointStyleIconFiltered = function (params, match) { if (match == null) { return map.gsStyle(params); } ; return function (feature) { var st = {}; var p = feature.getProperties(); var show = true; for (var i in match) { if (match[i].constructor === Array) { if (match[i].indexOf(p[i]) === -1) show = false; } else { if (p[i] != match[i]) { show = false; } } } if (show != true) { st = new ol.style.Style(null); st.styleParams = params; return st; } var dynamic = (params.dynamic) ? true : false; if (dynamic) { st = map.pointStyleIconDynamicObject(params, feature); st.styleParams = params; return st; } st = map.pointStyleIcon(params); st.styleParams = params; return st; }; }; map.polygonStyleFiltered = function (params, match) { if (match == null) { return map.gsStyle(params); } ; return function (feature) { // console.log('pointStyleIconFiltered'); var st = {}; var p = feature.getProperties(); var show = true; for (var i in match) { if (p[i] != match[i]) { show = false; } ; } if (show != true) { st = new ol.style.Style(null); st.styleParams = params; return st; } ; /* var dynamic = (params.dynamic) ? true : false; if (dynamic) { st = map.pointStyleIconDynamicObject(params, feature); st.styleParams = params; return st; }*/ st = map.polygonStyle(params); st.styleParams = params; return st; }; }; map.linestringStyleFiltered = function (params, match) { if (match == null) { return map.gsStyle(params); } ; return function (feature) { // console.log('pointStyleIconFiltered'); var st = {}; var p = feature.getProperties(); var show = true; for (var i in match) { if (p[i] != match[i]) { show = false; } ; } if (show != true) { st = new ol.style.Style(null); st.styleParams = params; return st; } ; st = map.linestringStyle(params); st.styleParams = params; return st; }; }; map.feature_from_coor = function (x, y, msp) { msp = msp || null; return new ol.Feature({ geometry: new ol.geom.Point(ol.proj.transform([x, y], 'EPSG:4326', 'EPSG:3857')) //,color:value.c , msp: msp }); }; map.ll2xy = function (data) { if (data.length == 2) { return ol.proj.transform(data, 'EPSG:4326', 'EPSG:3857'); } else if (data.length == 4) { var p1 = ol.proj.transform([data[0], data[1]], 'EPSG:4326', 'EPSG:3857'); var p2 = ol.proj.transform([data[2], data[3]], 'EPSG:4326', 'EPSG:3857'); return [p1[0], p1[1], p2[0], p2[1]]; } else { alert('unhandled'); } }; map.llArray2xy = function (data) { var out = []; for (var i in data) { out.push(this.ll2xy(data[i])); } return out; }; }); gsMapInitEndFunctionList.push(function (map) { //console.log(map); }); } exports.load = load; /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function load(gsMapClickNotFoundFunctionList, gsMapHoverNotFoundFunctionList, gsMapInitEndFunctionList, gsMapInitStartFunctionList) { gsMapInitStartFunctionList.push(function (map) { }); gsMapInitEndFunctionList.push(function (map) { var css = "\n #tg_toolbar_container{\n position: absolute;\n left:7px;\n top:7px;\n background-color: lightgray;\n }\n\n #tg_toolbar_container>div{\n margin:5px;\n width:36px;\n height:36px;\n background-color: white;\n position:relative;\n }\n "; var style = document.createElement('style'); style.appendChild(document.createTextNode(css)); document.getElementsByTagName('head')[0].appendChild(style); var d = document.createElement('div'); d.id = 'tg_toolbar_container'; map.dom.appendChild(d); d.innerHTML = "\n
\n
+
\n
\n
-
\n
\n"; var body = document.getElementById("tg_toolbar_container"); document.onfullscreenchange = function () { if (document.fullscreenElement) { document.getElementById('tg_toolbar_container_fullscreen').getElementsByTagName('img')[0].src = "https://anadigit.fr/topoguidemap/img/thumbs/collapse_toolbar.png"; } else { document.getElementById('tg_toolbar_container_fullscreen').getElementsByTagName('img')[0].src = "https://anadigit.fr/topoguidemap/img/thumbs/expand_toolbar.png"; } }; body.childNodes.forEach(function (div, index) { // layers if (div.id === 'tg_toolbar_container_layer') { div.onclick = function () { var map_trigger = document.getElementById('tg_basemap_selector_trigger_input'); map_trigger.checked = !map_trigger.checked; if (map_trigger.checked) { map_trigger.parentNode.parentNode.style.width = '100%'; } else { setTimeout(function () { map_trigger.parentNode.parentNode.style.width = 'unset'; }, 500); } }; } if (div.id === 'tg_toolbar_container_fullscreen') { div.onclick = function () { if (document.fullscreenElement) { document.exitFullscreen(); } else { var elem = map.dom; if (elem.requestFullscreen) { elem.requestFullscreen(); } else if (elem.msRequestFullscreen) { elem.msRequestFullscreen(); } else if (elem.mozRequestFullScreen) { elem.mozRequestFullScreen(); } else if (elem.webkitRequestFullscreen) { elem.webkitRequestFullscreen(); } } }; } if (div.id === 'tg_toolbar_container_zoom_in') { div.onclick = function () { map.map.getView().animate({ zoom: map.map.getView().getZoom() + 1, duration: 300 }); // map.map.getView().setZoom(map.map.getView().getZoom() + 1); }; } if (div.id === 'tg_toolbar_container_zoom_out') { div.onclick = function () { map.map.getView().animate({ zoom: map.map.getView().getZoom() - 1, duration: 300 }); // map.map.getView().setZoom(map.map.getView().getZoom() - 1); }; } if (div.id === 'tg_toolbar_container_home') { div.onclick = function () { map.zoomTo(); }; } }); // tg_basemap_selector_trigger_input /* let body = document.getElementById("tg_basemap_selector_panel_body_content"); // body.innerHTML = ``; body.innerHTML = map.basemapManager.items.map((i, index) => { let selected = 'selected=false'; if (index === 0) { selected = 'selected=true'; } return `
${i.name}
`; }).join(''); map.basemapManager['dom'] = d; map.basemapManager.items.forEach((i, index) => { let id = `tg_basemap_selector_panel_body_content_item_${index}`; let dom = document.getElementById(id); i.dom = dom; dom.onclick = function () { let new_active_index = index; map.basemapManager.items.forEach((v: any, i: number) => { v.active = i === new_active_index; console.log(v) v.dom.removeAttribute("selected"); if (v.active) { (v.dom).setAttribute("selected", "true"); } else { (v.dom).setAttribute("selected", "false"); } }); console.log(new_active_index); map.setBaseMap(map.basemapManager.items[new_active_index].url); //map.basemapManager.dom.innerHTML = ``; } }); */ }); } exports.load = load; /***/ }), /* 6 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function load(gsMapClickNotFoundFunctionList, gsMapHoverNotFoundFunctionList, gsMapInitEndFunctionList, gsMapInitStartFunctionList) { gsMapInitStartFunctionList.push(function (map) { }); gsMapInitEndFunctionList.push(function (map) { //console.log(map); var self = map; map.tooltip = {}; map.tooltip.dom = map.dom.appendChild(document.createElement('div')); map.tooltip.dom.style['position'] = 'absolute'; map.tooltip.dom.style['padding'] = '2px'; map.tooltip.dom.style['padding-left'] = '5px'; map.tooltip.dom.style['padding-right'] = '5px'; map.tooltip.dom.style['background-color'] = 'rgba(0,0,0,0.7)'; map.tooltip.dom.style['border-radius'] = '3px'; map.tooltip.dom.style['overflow'] = 'hidden'; map.tooltip.dom.style['color'] = 'rgba(255,255,255,1)'; map.tooltip.hide = function () { map.tooltip.dom.hidden = true; }; map.tooltip.setPosition = function (pos) { map.tooltip.dom.hidden = false; map.tooltip.dom.style.left = pos[0] + 20 + 'px'; map.tooltip.dom.style.top = pos[1] - 10 + 'px'; }; map.tooltip.setContent = function (content, params) { if (params.background) self.tooltip.dom.style['background-color'] = params.background; if (params.color) self.tooltip.dom.style['color'] = params.color; self.tooltip.dom.innerHTML = content; }; map.registerMapHoverNotFoundFunction(map.tooltip.hide); //map.tooltip.dom.innerHTML = '
'; }); } exports.load = load; /***/ }), /* 7 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.bootstrapcss = "\n\n\n\n.gsmap-modal-body {\n position: relative;\n padding: 15px;\n}\n\n\n.gsmap-fade {\n opacity: 0;\n -webkit-transition: opacity .15s linear;\n -o-transition: opacity .15s linear;\n transition: opacity .15s linear;\n}\n.gsmap-fade.in {\n opacity: 1;\n}\n\n\n\n\n\n\n.gsmap-modal-open {\n overflow: hidden;\n}\n.gsmap-modal {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1050;\n display: none;\n overflow: hidden;\n -webkit-overflow-scrolling: touch;\n outline: 0;\n}\n.gsmap-modal.fade .gsmap-modal-dialog {\n -webkit-transition: -webkit-transform .3s ease-out;\n -o-transition: -o-transform .3s ease-out;\n transition: transform .3s ease-out;\n -webkit-transform: translate3d(0, -25%, 0);\n -o-transform: translate3d(0, -25%, 0);\n transform: translate3d(0, -25%, 0);\n}\n.gsmap-modal.in .modal-dialog {\n -webkit-transform: translate3d(0, 0, 0);\n -o-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n}\n.gsmap-modal-open .gsmap-modal {\n overflow-x: hidden;\n overflow-y: auto;\n}\n.gsmap-modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n.gsmap-modal-content {\n position: relative;\n background-color: #fff;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid #999;\n border: 1px solid rgba(0, 0, 0, .2);\n border-radius: 6px;\n outline: 0;\n -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n box-shadow: 0 3px 9px rgba(0, 0, 0, .5);\n}\n.gsmap-modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1040;\n background-color: #000;\n}\n.gsmap-modal-backdrop.fade {\n filter: alpha(opacity=0);\n opacity: 0;\n}\n.gsmap-modal-backdrop.in {\n filter: alpha(opacity=50);\n opacity: .5;\n}\n.gsmap-modal-header {\n min-height: 16.42857143px;\n padding: 15px;\n border-bottom: 1px solid #e5e5e5;\n}\n.gsmap-modal-header .gsmap-close {\n margin-top: -2px;\n}\n.gsmap-modal-title {\n margin: 0;\n line-height: 1.42857143;\n}\n.modal-body {\n position: relative;\n padding: 15px;\n}\n.gsmap-modal-footer {\n padding: 15px;\n text-align: right;\n border-top: 1px solid #e5e5e5;\n}\n.gsmap-modal-footer .gsmap-btn + .gsmap-btn {\n margin-bottom: 0;\n margin-left: 5px;\n}\n.gsmap-modal-footer .gsmap-btn-group .gsmap-btn + .gsmap-btn {\n margin-left: -1px;\n}\n.gsmap-modal-footer .gsmap-btn-block + .gsmap-btn-block {\n margin-left: 0;\n}\n.gsmap-modal-scrollbar-measure {\n position: absolute;\n top: -9999px;\n width: 50px;\n height: 50px;\n overflow: scroll;\n}\n@media (min-width: 768px) {\n .gsmap-modal-dialog {\n width: 600px;\n margin: 30px auto;\n }\n .gsmap-modal-content {\n -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n box-shadow: 0 5px 15px rgba(0, 0, 0, .5);\n }\n .gsmap-modal-sm {\n width: 300px;\n }\n}\n@media (min-width: 992px) {\n .gsmap-modal-lg {\n width: 900px;\n }\n}\n\n\n\n\n\n\n.gsmap-modal-footer:before,\n.gsmap-modal-footer:after {\n display: table;\n content: \" \";\n}\n\n\n\n.modal-footer:after {\n clear: both;\n}\n"; /***/ }), /* 8 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // declare const window: Window; var style_1 = __webpack_require__(9); var uniqueClassId = 'gs_div_generator_' + (new Date()).getTime().toString() + '_' + Math.floor(Math.random() * 100000) + '_'; function create(options) { var _this = this; var _a; load_module_css_to_document(options); var div = document.createElement('div'); div.style.position = 'absolute'; document.body.appendChild(div); Object.keys(options.style).forEach(function (s) { div.style[s] = options.style[s]; }); var hideFunction = function () { return Promise.resolve(); }, showFunction = function () { return Promise.resolve(); }; if (options.modal) { _a = assign_modal(div, options.modal), hideFunction = _a[0], showFunction = _a[1]; } if (options.move) { assign_move(div); } return (function () { var out = { hide: hideFunction, show: showFunction, log: function () { console.log(_this); }, dom: div }; return out; })(); } exports.create = create; function assign_modal(domElement, options) { var transition_time = 500; var curtainOpacityValue = '0.4'; var transitionClass = uniqueClassId + 'transition'; if (options.opacity) { curtainOpacityValue = options.opacity.toString(); } if (options.transition_time) { transition_time = options.transition_time; } var transition_time_more = transition_time + 200; domElement.style.position = 'fixed'; domElement.style.zIndex = '1000'; domElement.className = uniqueClassId + 'transition'; var curtain = document.createElement('div'); curtain.className = uniqueClassId + 'curtain'; curtain.style.opacity = '0'; curtain.style.display = 'none'; domElement.style.top = (-domElement.clientHeight - 10) + 'px'; domElement.style.left = (window.innerWidth - domElement.clientWidth) / 2 + 'px'; document.body.appendChild(curtain); curtain.addEventListener("click", function () { hideFunction(); return false; }); var hideFunction = function () { var p = new Promise(function (resolve, reject) { toggle_class_for_html_element(domElement, transitionClass, true); setTimeout(function () { curtain.style.opacity = '0'; domElement.style.top = (-domElement.clientHeight - 10) + 'px'; }, 20); setTimeout(function () { curtain.style.display = 'none'; resolve(); }, transition_time_more); }); return p; }; var showFunction = function () { var p = new Promise(function (resolve, reject) { curtain.style.display = 'block'; setTimeout(function () { curtain.style.opacity = curtainOpacityValue; domElement.style.left = (window.innerWidth - domElement.clientWidth) / 2 + 'px'; domElement.style.top = (window.innerHeight - domElement.clientHeight) / 4 + 'px'; }, 0); setTimeout(function () { toggle_class_for_html_element(domElement, transitionClass, false); resolve(); }, transition_time_more); }); return p; }; return [hideFunction, showFunction]; } function toggle_class_for_html_element(domElement, className, value) { var c = domElement.className; if (value) { if (c.indexOf(className) === -1) { c = c + ' ' + className; } } else { c = c.replace(className, ''); } c = c.replace(/ /g, ' '); domElement.className = c; } exports.toggle_class_for_html_element = toggle_class_for_html_element; function assign_move(domElement) { var x_pos = 0, y_pos = 0; // Stores x & y coordinates of the mouse pointer var x_elem = 0, y_elem = 0; // Stores top, left values (edge) of the element var selected = false; function _drag_init() { // Store the object of the element which needs to be moved selected = true; x_elem = x_pos - domElement.offsetLeft; y_elem = y_pos - domElement.offsetTop; } function _move_elem(e) { x_pos = document.all ? window.event.clientX : e.pageX; y_pos = document.all ? window.event.clientY : e.pageY; if (selected) { domElement.style.left = (x_pos - x_elem) + 'px'; domElement.style.top = (y_pos - y_elem) + 'px'; } } // Destroy the object when we are done function _destroy() { selected = false; } domElement.addEventListener("mousedown", function () { _drag_init(); return false; }); document.addEventListener("mousemove", _move_elem); document.addEventListener("mouseup", _destroy); } function load_module_css_to_document(options) { var transition_time = 500; if (options.modal && options.modal.transition_time) { transition_time = options.modal.transition_time; } load_css_string_to_document(style_1.css(uniqueClassId, transition_time), uniqueClassId); } function load_css_string_to_document(cssString, id) { var style = document.createElement('style'); style.id = uniqueClassId; style.innerHTML = cssString; document.getElementsByTagName('head')[0].appendChild(style); } exports.load_css_string_to_document = load_css_string_to_document; //# sourceMappingURL=index.js.map /***/ }), /* 9 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function css(uniqueClassId, transition_time) { var transition_time_sec = (Math.round(transition_time / 1000 * 100) / 100).toString() + 's'; transition_time = transition_time + 200; var transition_time_more_sec = (Math.round(transition_time / 1000 * 100) / 100).toString() + 's'; return "\n ." + uniqueClassId + "transition{\n transition:" + transition_time_sec + " ease-in-out;\n }\n\n ." + uniqueClassId + "curtain{\n transition: all " + transition_time_more_sec + " ease-in-out;\n -moz-transition: all " + transition_time_more_sec + " ease-in-out;\n -webkit-transition: all " + transition_time_more_sec + ";\n transition: opacity " + transition_time_more_sec + ";\n -webkit-transition: opacity " + transition_time_more_sec + ";\n z-index:999;\n position:fixed;\n left:0px;\n top:0px;\n width:100%;\n height:100%;\n background-color:rgb(0,0,0);\n }\n\n \n\n\n"; } exports.css = css; //# sourceMappingURL=style.js.map /***/ }), /* 10 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var gsMapModular_1 = __webpack_require__(1); var o3s = __webpack_require__(4); var lm = __webpack_require__(3); var tt = __webpack_require__(6); var basemaps = __webpack_require__(2); var toolbar = __webpack_require__(5); var style_1 = __webpack_require__(7); o3s.load(gsMapModular_1.gsMapClickNotFoundFunctionList, gsMapModular_1.gsMapHoverNotFoundFunctionList, gsMapModular_1.gsMapInitEndFunctionList, gsMapModular_1.gsMapInitStartFunctionList); lm.load(gsMapModular_1.gsMapClickNotFoundFunctionList, gsMapModular_1.gsMapHoverNotFoundFunctionList, gsMapModular_1.gsMapInitEndFunctionList, gsMapModular_1.gsMapInitStartFunctionList); tt.load(gsMapModular_1.gsMapClickNotFoundFunctionList, gsMapModular_1.gsMapHoverNotFoundFunctionList, gsMapModular_1.gsMapInitEndFunctionList, gsMapModular_1.gsMapInitStartFunctionList); basemaps.load(gsMapModular_1.gsMapClickNotFoundFunctionList, gsMapModular_1.gsMapHoverNotFoundFunctionList, gsMapModular_1.gsMapInitEndFunctionList, gsMapModular_1.gsMapInitStartFunctionList); toolbar.load(gsMapModular_1.gsMapClickNotFoundFunctionList, gsMapModular_1.gsMapHoverNotFoundFunctionList, gsMapModular_1.gsMapInitEndFunctionList, gsMapModular_1.gsMapInitStartFunctionList); var style = document.createElement('style'); style.appendChild(document.createTextNode(style_1.bootstrapcss)); document.getElementsByTagName('head')[0].appendChild(style); exports.gsMapManager = new gsMapModular_1.gsMapManagerClass(); /***/ }), /* 11 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var MapCustomEvents = /** @class */ (function () { function MapCustomEvents() { } MapCustomEvents.prototype.registerMapCustomEvents = function (map, params) { if (params) { if (params.zoom) { params.zoom.forEach(function (e) { if (e.type === 'function') { map.registerOnZoomChangedFunction(e.function); } }); } } }; return MapCustomEvents; }()); exports.MapCustomEvents = MapCustomEvents; /***/ }) /******/ ]))); function getAdventureCollection(key, data, meta) { this.passedOl = undefined; this.modal = undefined; this.key = key; this.data = data; this.meta = meta; this.gsMap = null; this.pointFeatures = []; this.lineFeatures = []; var self = this; this.layer = undefined; this.source = undefined; this.initOl = function (ol, modal) { this.passedOl = ol; this.modal = modal; self.source = new ol.source.Vector({ wrapX: false, noWrap: true }); self.layer = new ol.layer.Vector({ source: self.source, //clusterSource visible: true }); } this.registerMap = function (gsMap) { this.gsMap = gsMap; this.gsMap.map.addLayer(this.layer); this.createFeatures(); } this.createFeatures = function () { this.createPointFeatures(); this.createLineFeatures(); } this.createPointFeatures = function () { this.pointFeatures = []; for (var i in this.data) { if (!this.data[i].hidden) { var f = this.gsMap.feature_from_coor(this.data[i].x, this.data[i].y, this.pointMsp(this.data[i])); var s = this.adventureIconPointStyle(this.data[i].activity_type, this.data[i].difficulty);//this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 0, 5, ""); f.setStyle(s); this.pointFeatures.push(f); } } this.source.addFeatures(this.pointFeatures); } this.createLineFeatures = function () { this.lineFeatures = []; var mycolor = 'rgba(0,97,47,1)'; var mywidth = 1; if (this.meta['style']) if (this.meta['style']['default']) mycolor = this.meta['style']['default']['color']; if (this.meta['style']) if (this.meta['style']['default']) mywidth = this.meta['style']['default']['width']; for (var i in this.data) { if (!this.data[i].hidden) { var ccolor = mycolor, cwidth = mywidth; if (this.meta['style']) if (this.meta['style'][this.data[i].path]) if (this.meta['style'][this.data[i].path]['useStyle']) { ccolor = this.meta['style'][this.data[i].path]['color']; cwidth = this.meta['style'][this.data[i].path]['width']; } var f = new this.passedOl.Feature({ 'geometry': new this.passedOl.geom.LineString(this.gsMap.llArray2xy(this.data[i].coor)) }); f.setStyle( new this.passedOl.style.Style({ stroke: new this.passedOl.style.Stroke({ color: (ccolor), width: cwidth }) }) ); this.lineFeatures.push(f); } } this.source.addFeatures(this.lineFeatures); } this.zoomTo = function () { if(this.source.getFeatures().length > 0){ this.gsMap.map.getView().fit(this.source.getExtent(), this.gsMap.map.getSize()); // this.gsMap.map.getView().fit(this.gsMap.ll2xy(this.meta.extent), this.gsMap.map.getSize()); return true; } return false; } this.setVisibleItems = function (visiblePathArray) { this.data.forEach(function (adventure) { var path = adventure.path; if (visiblePathArray.indexOf(path) === -1) { adventure.hidden = true; } else { adventure.hidden = false; } }, this); } this.pointMsp = function (item) { var myurl = this.meta.advPath + item.path; if (this.meta['style']) if (this.meta['style'][item.path]) if (this.meta['style'][item.path]['url']) myurl = this.meta['style'][item.path]['url']; var actiontype = "openulr"; if (this.meta['style']) if (this.meta['style']['default']) if (this.meta['style']['default']['action']) if (this.meta['style']['default']['action']['type']) actiontype = this.meta['style']['default']['action']['type']; var modal = this.modal; return { path: item.path, click: [function (s, f, l) { var self = f.get('msp'); browser.httpGet('https://anadigit.fr/gsMap/modules/adventure/getView.php?i=' + self.path + '&l=' + datasetLanguage + '&u=' + encodeURIComponent(myurl)).then(function (data) { var html = data.split("", ""); modal.dom.innerHTML = '
' + html + '
'; setTimeout(function () { eval(js); modal.show(); // passed$('#myModal').modal('show'); }, 200); }); }] }; } this.adventureIconPointStyle = function (activity_type, difficulty) { var iconpath = 'https://anadigit.fr/TopoMedia/Icons/activity_adv_loc/activity_' + activity_type + '_' + difficulty + '_adv_loc.png'; return new this.passedOl.style.Style({ image: new this.passedOl.style.Icon({ src: iconpath, //size: [liconsize, liconsize] scale: 0.4 })/*, stroke: new ol.style.Stroke({ color: (s_color ) ,width: 1+is301 + (map3.getZoom()-8) }) */}) } } var adventureCollection_gramos_prespa = new getAdventureCollection("gramos_prespa",[{"id":19904,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u0394\u03b9\u03ac\u03c3\u03b5\u03bb\u03bf \u039a\u03b9\u03ac\u03c6\u03b1\u03c2-\u0393\u03c1\u03ac\u03bc\u03bf\u03c3\u03c4\u03b1","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 1","path":"MACEDONIA\/Makedonia_GP_Kiafa_Gramosta","activity_type":33,"assistance":1,"difficulty":2,"scenic_value":5,"length":10218,"name_EN":"Gramos-Prespa: Kiafa Pass-Gramosta","description_EN":"Section 1","ascent_time":465,"descent_time":465,"marker":"Red_dots","level":11,"ascent":114,"descent":866,"maxelev":2141,"minelev":1361,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(20.83124 40.34093,20.84711 40.39404)","views":0,"millestones":"0,20.8366025,40.3406472#1,20.8355740,40.3481967#2,20.8379901,40.3556024#3,20.8375350,40.3629850#4,20.8360862,40.3668397#5,20.8331718,40.3687823#6,20.8376155,40.3753292#7,20.8428511,40.3826320#8,20.8444447,40.3845860#9,20.8411155,40.3916871#10.2,20.8354161,40.3911301","x":20.8343514,"y":40.3678991,"coor":[[20.8366025,40.3406472],[20.8369526,40.3412422],[20.8369383,40.3415481],[20.8371176,40.3417421],[20.8371193,40.3419583],[20.8374266,40.3421829],[20.8372863,40.3424133],[20.8372599,40.3427278],[20.8373598,40.3428566],[20.8373203,40.3429456],[20.8374471,40.3430031],[20.8373786,40.3432084],[20.8374555,40.3433276],[20.8374076,40.3435965],[20.8375419,40.3442487],[20.837544,40.3449603],[20.8376426,40.3451161],[20.8373827,40.3453882],[20.8373029,40.3455842],[20.8370736,40.3464606],[20.8369342,40.3464207],[20.8368573,40.3465537],[20.8367322,40.3464602],[20.836665,40.3466385],[20.8367381,40.3468387],[20.8365819,40.3469065],[20.8363866,40.346802],[20.8363799,40.346946],[20.8361548,40.3471019],[20.8357139,40.3474682],[20.8355642,40.3476712],[20.8355436,40.3478598],[20.8355839,40.3482572],[20.8357392,40.3484596],[20.8356309,40.3487629],[20.8357193,40.3501434],[20.8358012,40.3504068],[20.8360384,40.3506205],[20.8359565,40.3508614],[20.836166,40.3511644],[20.8363402,40.3517186],[20.836294,40.3519515],[20.8364519,40.3520999],[20.8362092,40.3522554],[20.8362528,40.352833],[20.8364557,40.3531268],[20.8362621,40.3534908],[20.836226,40.3540122],[20.8363885,40.3540617],[20.8371161,40.353933],[20.8372749,40.3540634],[20.8372055,40.3545389],[20.8372796,40.3547166],[20.8375324,40.3548496],[20.8380571,40.3550351],[20.8380474,40.3554942],[20.8376471,40.3562488],[20.8370322,40.3568084],[20.8368617,40.3571821],[20.8366928,40.3580241],[20.8367625,40.3582962],[20.8369998,40.3585099],[20.8369329,40.3591835],[20.8366708,40.3595006],[20.8362156,40.3596683],[20.8361139,40.3598276],[20.8365834,40.3603629],[20.8367706,40.3611426],[20.8368983,40.3611821],[20.83743,40.3611426],[20.8379612,40.3613643],[20.8376328,40.3618417],[20.8377378,40.3621148],[20.8376542,40.3623917],[20.8377234,40.3626503],[20.8375843,40.3628537],[20.8372743,40.3636919],[20.8373705,40.3639016],[20.8373112,40.3641612],[20.8373544,40.3645947],[20.8368345,40.3643824],[20.8365044,40.3641391],[20.8360361,40.3640813],[20.835447,40.363912],[20.8353455,40.3637696],[20.8352503,40.3636139],[20.8351684,40.3636027],[20.8352024,40.3638828],[20.8354879,40.364323],[20.8355568,40.3646131],[20.8355383,40.3647567],[20.8353131,40.3650387],[20.8356882,40.3653778],[20.8359419,40.3654928],[20.8361376,40.3660926],[20.8367289,40.3667933],[20.8368422,40.3671387],[20.83709,40.3673797],[20.8366721,40.3672511],[20.8364373,40.3669835],[20.8361244,40.3668759],[20.8358313,40.3665976],[20.8353785,40.3665357],[20.8351088,40.3665103],[20.8349643,40.3665784],[20.8349813,40.3668445],[20.8349987,40.3671017],[20.8355405,40.3670985],[20.8356996,40.3671479],[20.8357525,40.3675277],[20.8358987,40.3677208],[20.8360296,40.3678955],[20.8358515,40.3679267],[20.8353678,40.3677693],[20.8350192,40.3677688],[20.834747,40.3680496],[20.8345706,40.3680447],[20.8343514,40.3678991],[20.8340796,40.367716],[20.8339197,40.3671082],[20.8335829,40.3667567],[20.832795,40.3663838],[20.8326152,40.366451],[20.8325245,40.3666286],[20.8326672,40.3671009],[20.8326898,40.3676239],[20.8330794,40.3686073],[20.8330989,40.3686439],[20.8334683,40.3693566],[20.8335488,40.3698992],[20.8339033,40.3701251],[20.8341931,40.3702231],[20.8341317,40.3705276],[20.8342213,40.3710029],[20.8342688,40.3712474],[20.834488,40.3715957],[20.8345131,40.3718126],[20.8343997,40.3722238],[20.8341161,40.3727474],[20.8340935,40.3730755],[20.8343594,40.3731819],[20.8346072,40.3731707],[20.8350298,40.3729481],[20.835544,40.3730342],[20.8359489,40.3729372],[20.8360278,40.3732636],[20.8362794,40.3734236],[20.8369581,40.374523],[20.8377482,40.3755084],[20.8378725,40.3756199],[20.8383371,40.3757587],[20.8382085,40.3762416],[20.8382883,40.37655],[20.8387756,40.3767074],[20.8392905,40.3770278],[20.8396841,40.3774258],[20.8406125,40.3779736],[20.8407225,40.3781387],[20.8407544,40.3784639],[20.8411069,40.3787347],[20.8413581,40.3791559],[20.8418664,40.3796201],[20.841923,40.3811799],[20.8421683,40.381727],[20.842417,40.38195],[20.8429403,40.3827749],[20.8433781,40.382985],[20.8433058,40.3832712],[20.8434226,40.3835446],[20.8432642,40.3836574],[20.8424198,40.3838325],[20.8422399,40.3842554],[20.8425237,40.3819349],[20.8428094,40.3821228],[20.8433824,40.3819583],[20.8438076,40.3819339],[20.8441104,40.3820863],[20.8448392,40.3828448],[20.844982,40.3829162],[20.8451274,40.3833345],[20.845119,40.3835144],[20.844456,40.384343],[20.8444443,40.3845948],[20.8433343,40.3846546],[20.8431041,40.3847924],[20.8433116,40.3851403],[20.8427965,40.3855766],[20.8427259,40.3860791],[20.8421461,40.3868919],[20.8421478,40.3873603],[20.8420772,40.3876105],[20.8419092,40.3877275],[20.8416613,40.3877388],[20.8416218,40.3878278],[20.8414852,40.387824],[20.8413676,40.3883252],[20.8410827,40.3886236],[20.8409272,40.3889256],[20.8411961,40.3894734],[20.8410402,40.3897844],[20.8412267,40.3900777],[20.840928,40.3904208],[20.8408847,40.3905907],[20.8411409,40.390904],[20.8412846,40.3913583],[20.8411048,40.3916776],[20.8413535,40.3919006],[20.8416501,40.392359],[20.8414803,40.3927146],[20.8416358,40.3929171],[20.8416433,40.3932595],[20.8419622,40.3937456],[20.8423097,40.3938722],[20.842719,40.3941896],[20.842791,40.3942862],[20.84269,40.3943555],[20.8415841,40.394073],[20.8408966,40.3936849],[20.8407023,40.3935851],[20.8404594,40.3932362],[20.8402241,40.3932027],[20.8396974,40.3931297],[20.8394133,40.3929869],[20.8389562,40.3929609],[20.8385261,40.392814],[20.8381841,40.3925704],[20.8378631,40.3926337],[20.8376639,40.3926102],[20.8370043,40.3921058],[20.8368992,40.3920354],[20.8363614,40.3916964],[20.835974,40.3916678],[20.8360978,40.3914145],[20.8357922,40.3912755],[20.8354161,40.3911301]]},{"id":19905,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u0393\u03c1\u03ac\u03bc\u03bf\u03c3\u03c4\u03b1-\u03a0\u03ac\u03c1\u03ba\u03bf \u0395\u03b8\u03bd\u03b9\u03ba\u03ae\u03c2 \u03a3\u03c5\u03bc\u03c6\u03b9\u03bb\u03af\u03c9\u03c3\u03b7\u03c2","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 2","path":"MACEDONIA\/Makedonia_GP_Gramosta_NRP","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":24508,"name_EN":"Gramos-Prespa: Gramosta-National Reconciliation Park","description_EN":"Section 2","ascent_time":600,"descent_time":600,"marker":"Red_dots","level":11,"ascent":1118,"descent":1052,"maxelev":1506,"minelev":1074,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(20.83551 40.33653,20.97008 40.40162)","views":2,"millestones":"0,20.8359739,40.3916678#1,20.8446327,40.3960056#2,20.8540993,40.3993943#3,20.8635159,40.4020851#4,20.8736531,40.4008199#5,20.8802606,40.3948060#6,20.8727136,40.3919392#7,20.8704733,40.3877948#8,20.8791055,40.3872633#9,20.8862981,40.3826026#10,20.8914895,40.3772447#11,20.8974715,40.3705029#12,20.8992396,40.3627046#13,20.9036956,40.3571306#14,20.9126041,40.3542456#15,20.9186358,40.3522709#16,20.9248846,40.3487390#17,20.9291980,40.3413924#18,20.9383255,40.3456789#19,20.9473471,40.3503768#20,20.9546431,40.3481741#21,20.9498521,40.3464670#22,20.9507462,40.3393283#23,20.9588299,40.3376057#24.5,20.9700753,40.3365272","x":20.895556,"y":40.3737526,"coor":[[20.8359739,40.3916678],[20.8363612,40.3916964],[20.836899,40.3920354],[20.8370041,40.3921058],[20.8376637,40.3926102],[20.8378629,40.3926337],[20.8381839,40.3925704],[20.8385259,40.392814],[20.838956,40.3929608],[20.8392686,40.3930775],[20.8393581,40.393179],[20.839627,40.3932224],[20.8400648,40.3939369],[20.8403338,40.3940794],[20.8403842,40.3942609],[20.8408237,40.3946872],[20.840933,40.3951225],[20.8414241,40.3954512],[20.8418561,40.3955351],[20.8419801,40.3954259],[20.8422028,40.39545],[20.8424448,40.3953125],[20.8426522,40.3952641],[20.8430686,40.3954286],[20.8433984,40.3954286],[20.8436342,40.3953495],[20.8436981,40.3954954],[20.8438868,40.395541],[20.8440952,40.3956188],[20.8444801,40.3959535],[20.8449323,40.39611],[20.8450894,40.3962764],[20.8454676,40.3965029],[20.846045,40.3965007],[20.8463235,40.3965893],[20.8463678,40.3967256],[20.8463712,40.3969059],[20.8464947,40.3970353],[20.8470435,40.3973926],[20.8474595,40.3975661],[20.847794,40.3974671],[20.8481705,40.3974774],[20.8483898,40.3973212],[20.8486873,40.3972573],[20.8489778,40.3972923],[20.8490791,40.3973941],[20.8494623,40.3975126],[20.8498267,40.3977838],[20.8500023,40.3978066],[20.8501234,40.39799],[20.8504057,40.3979977],[20.8505604,40.3982181],[20.851239,40.3980655],[20.8516147,40.3982198],[20.8519442,40.3982288],[20.8522694,40.3983277],[20.8527199,40.3987723],[20.8529985,40.398861],[20.8531431,40.399045],[20.8534667,40.39918],[20.8537827,40.3992246],[20.8543458,40.3995282],[20.8546711,40.3996271],[20.8548598,40.3996232],[20.8551598,40.3995053],[20.8555178,40.3996591],[20.856012,40.3996726],[20.856302,40.3997705],[20.8567832,40.3998107],[20.8570504,40.39989],[20.8575581,40.4003722],[20.8576355,40.4004823],[20.8576023,40.4006886],[20.8578734,40.4009392],[20.8583155,40.4010593],[20.8586492,40.4012305],[20.8588006,40.4015228],[20.859864,40.4021417],[20.8601161,40.4022926],[20.8603838,40.4022369],[20.8608561,40.4019615],[20.8611292,40.4019149],[20.8617923,40.4015906],[20.8621172,40.4014688],[20.862376,40.4014759],[20.8625921,40.4016439],[20.8633578,40.4018988],[20.863626,40.4022123],[20.8640765,40.4021525],[20.8642525,40.4019141],[20.8642575,40.4018062],[20.8647021,40.4016201],[20.8647996,40.4016002],[20.864832,40.4014119],[20.8656896,40.40121],[20.8656846,40.401318],[20.8659023,40.40145],[20.8659898,40.4015965],[20.8668526,40.401791],[20.8670342,40.4018365],[20.8677191,40.401801],[20.8684802,40.4019027],[20.8687365,40.4017115],[20.8691845,40.4017056],[20.8695004,40.401498],[20.869803,40.4014792],[20.8701165,40.4013256],[20.8705199,40.4012644],[20.8707703,40.4011992],[20.8709531,40.401069],[20.8712876,40.4012222],[20.8716518,40.401169],[20.8721799,40.4011112],[20.8725278,40.4009765],[20.8730455,40.4009906],[20.8733779,40.4009365],[20.8736417,40.4008356],[20.8737551,40.4006765],[20.8744736,40.4004257],[20.8748592,40.3999858],[20.8752395,40.399915],[20.8756659,40.3996113],[20.87601,40.3995576],[20.8762098,40.399545],[20.8767324,40.3991988],[20.8773387,40.3990801],[20.8775638,40.398798],[20.8780662,40.3983792],[20.8785914,40.3982313],[20.879203,40.3977434],[20.8796593,40.3975576],[20.8799562,40.3972504],[20.8802853,40.3965027],[20.8804749,40.3964267],[20.8801486,40.3960667],[20.880101,40.3958222],[20.8801139,40.3955433],[20.8803071,40.3954404],[20.8802248,40.3952851],[20.8802928,40.3950888],[20.8802185,40.3944023],[20.8798647,40.3944107],[20.8794701,40.394283],[20.8784387,40.3946784],[20.878076,40.3946236],[20.8778986,40.3943846],[20.8778045,40.3943821],[20.87767,40.3944865],[20.8773475,40.3943517],[20.8772454,40.3942679],[20.8772503,40.3939077],[20.8766245,40.3936837],[20.8764358,40.3936876],[20.8758549,40.3940231],[20.8756422,40.3940354],[20.8752955,40.3938909],[20.8752011,40.3937668],[20.8751648,40.3932794],[20.8750375,40.3929517],[20.8747895,40.3927108],[20.8743575,40.3926271],[20.8741751,40.392496],[20.8741506,40.3922612],[20.8742828,40.3919495],[20.8742265,40.391894],[20.8737258,40.3922767],[20.8732114,40.3919386],[20.8729534,40.3919136],[20.8724681,40.3919635],[20.8722041,40.3918122],[20.8720949,40.3918813],[20.8721429,40.3921168],[20.8723257,40.3922388],[20.8726749,40.3923294],[20.8727166,40.3924476],[20.8725368,40.3925148],[20.8718157,40.3923151],[20.8716585,40.3921487],[20.8714583,40.3916389],[20.8712472,40.391363],[20.8708211,40.3911533],[20.8708117,40.3908468],[20.870615,40.3905172],[20.8704495,40.3903506],[20.8702986,40.3903015],[20.8698881,40.3902633],[20.8689061,40.3903043],[20.8688279,40.3902121],[20.8688505,40.3899785],[20.8691421,40.3897883],[20.8691824,40.3896813],[20.8691722,40.388375],[20.8693658,40.388011],[20.8696086,40.3878554],[20.8700253,40.3877586],[20.8706825,40.3878125],[20.8710733,40.3880212],[20.8712716,40.3880626],[20.8724558,40.3884369],[20.8732378,40.3884401],[20.8736276,40.3884416],[20.8741193,40.3887612],[20.8747729,40.3883825],[20.8748366,40.388024],[20.875749,40.3876523],[20.8760422,40.3874261],[20.8761597,40.3871771],[20.8761761,40.3863128],[20.8762282,40.3862062],[20.8763954,40.3861566],[20.8767819,40.3862031],[20.8771643,40.3863396],[20.877704,40.3868946],[20.8779566,40.3870365],[20.8783877,40.3871382],[20.8789159,40.3871795],[20.8797123,40.3875343],[20.8803651,40.3874258],[20.8806022,40.3876484],[20.8807308,40.3876699],[20.881208,40.3875386],[20.8819979,40.3875239],[20.8826196,40.3873245],[20.8834749,40.3871675],[20.8840486,40.3867326],[20.884845,40.3863217],[20.8852529,40.3856482],[20.8855559,40.3849538],[20.8859095,40.3846932],[20.8861832,40.3843763],[20.8864104,40.3835357],[20.8864223,40.3830227],[20.8862981,40.38265],[20.8862936,40.3822356],[20.8860694,40.3817342],[20.8862172,40.381594],[20.8868632,40.3813773],[20.8869144,40.3812886],[20.8865905,40.3806494],[20.8867629,40.3794651],[20.8865079,40.3788637],[20.8873669,40.3786257],[20.8880362,40.3781573],[20.8883874,40.3782028],[20.8890463,40.3784728],[20.8897327,40.3784012],[20.8901419,40.3784662],[20.8904149,40.3784195],[20.890598,40.3782804],[20.8908362,40.3777103],[20.8915551,40.3771892],[20.8918077,40.3768177],[20.8919619,40.3767949],[20.8922291,40.3768741],[20.8925366,40.3768464],[20.8927297,40.3767435],[20.8932031,40.3763103],[20.8935798,40.3755459],[20.8941378,40.3751916],[20.8947014,40.3749726],[20.8948857,40.3748064],[20.8949305,40.3746004],[20.8947798,40.3742901],[20.8947893,40.3740832],[20.8953239,40.3739355],[20.895556,40.3737526],[20.8959013,40.3731584],[20.8961477,40.3724084],[20.8965695,40.3719423],[20.8969945,40.3716115],[20.8972396,40.3714019],[20.8974955,40.3709584],[20.8975003,40.3705983],[20.8973676,40.3701534],[20.8974274,40.3698758],[20.8978274,40.3693731],[20.8983407,40.3689636],[20.8992309,40.3675283],[20.8996024,40.3673581],[20.8997288,40.3671994],[20.8997135,40.3670188],[20.8989625,40.3664718],[20.8987611,40.3662412],[20.8987122,40.3660237],[20.8994777,40.3647382],[20.8993857,40.3641773],[20.8996995,40.36324],[20.8996716,40.3630772],[20.8994496,40.362783],[20.8989404,40.3625892],[20.8987983,40.3623512],[20.8989936,40.3619421],[20.8992408,40.3616875],[20.8992519,40.3609312],[20.8997591,40.3606566],[20.9005074,40.3605146],[20.9012128,40.3602813],[20.9017688,40.3602241],[20.9025493,40.3604072],[20.9027261,40.3604029],[20.903051,40.3602495],[20.9035144,40.3599016],[20.9038269,40.3595047],[20.9042197,40.3591549],[20.9045957,40.3583994],[20.9045683,40.3582275],[20.9044447,40.3580981],[20.9038435,40.3578568],[20.9036576,40.3575456],[20.9037013,40.3571055],[20.9040361,40.3567631],[20.9042199,40.3566059],[20.9042519,40.3561655],[20.9043676,40.3559524],[20.905359,40.3553845],[20.9057151,40.355322],[20.9071647,40.3552887],[20.9077131,40.3552403],[20.9085308,40.3548659],[20.9088019,40.3546029],[20.9090537,40.3545016],[20.9092865,40.3545619],[20.9093999,40.354655],[20.9095044,40.354946],[20.9098496,40.3553786],[20.9102104,40.3554693],[20.9114813,40.3547106],[20.9125975,40.3542451],[20.9127499,40.3542581],[20.9133474,40.3545803],[20.9141361,40.3545834],[20.914302,40.3545608],[20.9144119,40.3544737],[20.9145171,40.3542333],[20.9146509,40.3541378],[20.9150833,40.3539512],[20.9152366,40.3539463],[20.9157198,40.3541933],[20.9160708,40.3542928],[20.9163085,40.3542451],[20.91642,40.354122],[20.9164466,40.3530238],[20.9165338,40.352918],[20.9168626,40.3529358],[20.917138,40.3528351],[20.9177976,40.3523123],[20.9180483,40.3519767],[20.9186997,40.3516338],[20.9192299,40.3511075],[20.9193475,40.3511106],[20.9194026,40.3511931],[20.9193389,40.3512995],[20.9187685,40.3519328],[20.9186722,40.3522365],[20.9184138,40.3524818],[20.9182162,40.3526612],[20.9179053,40.3532834],[20.9179416,40.3535185],[20.9181699,40.3536777],[20.9184789,40.3536139],[20.9187791,40.3532256],[20.9189247,40.3531304],[20.9203855,40.3525929],[20.9210661,40.3521247],[20.9213902,40.3519892],[20.921537,40.351867],[20.9216743,40.3514383],[20.9223253,40.3508432],[20.9227874,40.350261],[20.9237408,40.349746],[20.9250907,40.3485389],[20.9252829,40.348454],[20.9258485,40.348442],[20.9259211,40.3483989],[20.925434,40.3477194],[20.9254495,40.3473776],[20.9262632,40.3465706],[20.9268037,40.3463327],[20.9270642,40.3457812],[20.9277318,40.3450784],[20.9277013,40.3441949],[20.9277788,40.3440438],[20.9282399,40.3437408],[20.9288114,40.3428193],[20.928952,40.3417962],[20.9292822,40.3412646],[20.9294274,40.3411784],[20.930505,40.3410359],[20.9309013,40.3410689],[20.9311271,40.3412821],[20.9312892,40.3413404],[20.9316203,40.3419031],[20.932478,40.3427185],[20.9335663,40.3435625],[20.9346771,40.3439883],[20.935384,40.3444935],[20.9376187,40.3450571],[20.939046,40.3462929],[20.9396979,40.3464542],[20.9401491,40.3468895],[20.9406884,40.3469398],[20.940896,40.3470354],[20.9412259,40.3475485],[20.94153,40.3475926],[20.9422226,40.3473767],[20.9425023,40.3474382],[20.9435637,40.348439],[20.9442683,40.3487369],[20.9446202,40.3492866],[20.9454388,40.3496685],[20.9458272,40.349931],[20.9490801,40.3508951],[20.9492299,40.3507054],[20.9493731,40.3506642],[20.94971,40.3507631],[20.9500129,40.3510954],[20.9505153,40.3509195],[20.9510554,40.3509518],[20.9511199,40.3508274],[20.9509504,40.3504086],[20.9510157,40.3502662],[20.9517183,40.3500866],[20.9529457,40.3492362],[20.9534043,40.3492483],[20.9537258,40.3491667],[20.9543534,40.3485618],[20.9546137,40.3485326],[20.954986,40.3486325],[20.9551514,40.3486188],[20.9553525,40.3483359],[20.9553305,40.3480651],[20.9547823,40.3482128],[20.954329,40.3480837],[20.9541173,40.3480782],[20.9533182,40.3483093],[20.9528584,40.3485854],[20.9526342,40.3485975],[20.9524639,40.3484579],[20.952369,40.347951],[20.9521975,40.3478384],[20.9518094,40.3478282],[20.9514182,40.3478899],[20.9506377,40.3482296],[20.9504179,40.3481427],[20.9503522,40.3480329],[20.9504426,40.3478552],[20.9506166,40.3477832],[20.9505825,40.3474941],[20.9502695,40.3473867],[20.9500514,40.3475251],[20.9493868,40.3476426],[20.94891,40.3480354],[20.9484417,40.347978],[20.9481923,40.3480254],[20.948136,40.3479699],[20.9481777,40.3478269],[20.9483866,40.3476343],[20.9488942,40.3473414],[20.9495255,40.3466555],[20.9505047,40.3460869],[20.9505521,40.3458179],[20.9507248,40.3456424],[20.9507974,40.345338],[20.9506879,40.345155],[20.9506738,40.3449475],[20.9502801,40.344802],[20.9501807,40.3446552],[20.9505039,40.3440152],[20.9506888,40.343831],[20.9509624,40.3437661],[20.9507731,40.3432657],[20.9511218,40.3431038],[20.9512572,40.3429723],[20.9512693,40.3427024],[20.951421,40.3424722],[20.9510216,40.3421914],[20.9509928,40.3420466],[20.9512997,40.3417664],[20.9513022,40.3411901],[20.9514185,40.3409589],[20.9519468,40.3404685],[20.9518114,40.3403388],[20.9513922,40.3402377],[20.9511169,40.3400773],[20.9511003,40.3396625],[20.9506032,40.3391991],[20.950362,40.3390666],[20.9500336,40.3390399],[20.9497632,40.3389562],[20.9499243,40.3386452],[20.9503909,40.3384774],[20.9512634,40.3379239],[20.9515655,40.3378554],[20.9518128,40.3375917],[20.9520418,40.3374716],[20.9525762,40.3376298],[20.9532256,40.3375839],[20.9536428,40.33773],[20.9538686,40.3376819],[20.9540589,40.3375563],[20.9544171,40.3371559],[20.9551951,40.3371314],[20.9556337,40.3373231],[20.9563797,40.3374868],[20.9567255,40.337595],[20.9571617,40.3377641],[20.9580419,40.3378233],[20.9582441,40.3377746],[20.9586191,40.3375503],[20.9589333,40.3376306],[20.9588536,40.3382005],[20.9586769,40.3384661],[20.9588006,40.3388566],[20.9590074,40.3389701],[20.959971,40.3387433],[20.9608564,40.3389467],[20.9610827,40.3391508],[20.961495,40.3391437],[20.9618063,40.3390257],[20.9620868,40.3388079],[20.9629061,40.3386493],[20.9635746,40.3384417],[20.9650489,40.3378499],[20.9662976,40.3380899],[20.966622,40.3384677],[20.9668591,40.3386406],[20.9674963,40.3381574],[20.9684886,40.3375529],[20.9693084,40.3368313],[20.9697328,40.3365542],[20.9700753,40.3365272]]},{"id":19906,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u03a0\u03ac\u03c1\u03ba\u03bf \u0395\u03b8\u03bd\u03b9\u03ba\u03ae\u03c2 \u03a3\u03c5\u03bc\u03c6\u03b9\u03bb\u03af\u03c9\u03c3\u03b7\u03c2-\u039a\u03bf\u03c4\u03cd\u03bb\u03b7","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 3","path":"MACEDONIA\/Makedonia_GP_NRP_Kotyli","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":10303,"name_EN":"Gramos-Prespa: National Reconciliation Park-Kotyli","description_EN":"Section 3","ascent_time":245,"descent_time":240,"marker":"Red_dots","level":11,"ascent":544,"descent":579,"maxelev":1524,"minelev":1179,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(20.96977 40.32026,21.03199 40.3433)","views":0,"millestones":"0,20.9700729,40.3365271#1,20.9767170,40.3301344#2,20.9820666,40.3230526#3,20.9896749,40.3206181#4,20.9935837,40.3260242#5,21.0006520,40.3276688#6,21.0069457,40.3297558#7,21.0139423,40.3339112#8,21.0174955,40.3398620#9,21.0252026,40.3420058#10.3,21.0310160,40.3424142","x":21.0030962,"y":40.3285206,"coor":[[20.9700729,40.3365271],[20.9703918,40.3361617],[20.9705168,40.3358677],[20.9707338,40.33536],[20.970709,40.3351252],[20.9708848,40.3348776],[20.9709597,40.3345192],[20.9709109,40.3340316],[20.9710186,40.3337282],[20.9709197,40.3334644],[20.9714645,40.3333886],[20.9718229,40.3332719],[20.9725738,40.3325349],[20.9739052,40.3319753],[20.9745086,40.3313786],[20.975568,40.3308479],[20.975945,40.3308398],[20.9761375,40.3307457],[20.9776562,40.3291551],[20.978388,40.3285798],[20.9785881,40.3283148],[20.9787217,40.327958],[20.9791176,40.327527],[20.9793084,40.3272078],[20.9791165,40.3270226],[20.9789846,40.3265508],[20.9791062,40.3264639],[20.9795036,40.3265238],[20.979716,40.3265113],[20.9799081,40.3264263],[20.980113,40.3260533],[20.9801941,40.3258438],[20.9804017,40.3256511],[20.9805053,40.3255952],[20.9807559,40.3249893],[20.9810647,40.3249253],[20.9811623,40.3245856],[20.9813779,40.3245011],[20.9816718,40.3239549],[20.9818154,40.3233731],[20.9824024,40.3226364],[20.982929,40.3221502],[20.9834441,40.3219475],[20.9837836,40.3217222],[20.9841375,40.3213306],[20.9847634,40.3207524],[20.98474,40.3206167],[20.9851277,40.3205277],[20.9859215,40.3201431],[20.9861666,40.3199243],[20.9862091,40.3197633],[20.9860342,40.3194615],[20.9860199,40.319254],[20.9860965,40.3191209],[20.9862634,40.3190712],[20.9872816,40.3191968],[20.988097,40.3199116],[20.9884723,40.3204708],[20.9885984,40.3205462],[20.9887864,40.3205511],[20.9893617,40.3203949],[20.9899056,40.3207874],[20.9904717,40.3212885],[20.9907034,40.3216368],[20.9912938,40.3221206],[20.9916504,40.3225712],[20.992193,40.3230717],[20.9924784,40.3232683],[20.9929317,40.3233972],[20.9931713,40.3235655],[20.9932759,40.3235953],[20.9934307,40.3235543],[20.9934552,40.323636],[20.9935109,40.3236284],[20.9939034,40.3238008],[20.9939921,40.3236589],[20.9943965,40.3235614],[20.9944252,40.323445],[20.99484,40.323645],[20.9947834,40.3238597],[20.9946335,40.3240539],[20.994247,40.3242781],[20.9941795,40.3244745],[20.99386,40.3247003],[20.9937591,40.3248508],[20.9938355,40.3249069],[20.9938808,40.3250792],[20.9939794,40.3252439],[20.9942125,40.325295],[20.9943095,40.3254957],[20.9941778,40.3255463],[20.9941687,40.3257532],[20.9939443,40.3260356],[20.9936516,40.326001],[20.993329,40.3261097],[20.9932491,40.3260535],[20.9932326,40.3261612],[20.9934386,40.3262927],[20.9935734,40.3267015],[20.9936979,40.3268128],[20.9942116,40.3269072],[20.9946244,40.3271522],[20.9945771,40.3274212],[20.9943998,40.3277048],[20.9943814,40.3281186],[20.9945627,40.3282765],[20.9950062,40.3283601],[20.9951253,40.3283271],[20.9953541,40.3284772],[20.9954489,40.3284616],[20.9955948,40.3283573],[20.9959559,40.3282541],[20.9961482,40.3282186],[20.9962808,40.3280149],[20.9970718,40.3276932],[20.9972364,40.3276974],[20.9975247,40.327831],[20.9979381,40.3277967],[20.9982232,40.3274709],[20.9986211,40.327256],[20.9988479,40.3269196],[20.9990165,40.3268339],[21.000118,40.3272048],[21.0005962,40.3275685],[21.0007488,40.3278427],[21.0009313,40.3279735],[21.0011069,40.3279961],[21.0014091,40.3279184],[21.0016851,40.3279615],[21.0017469,40.3281613],[21.0018923,40.328066],[21.0019694,40.3281851],[21.0022721,40.3279948],[21.0023103,40.3281939],[21.002503,40.3283611],[21.002566,40.3285338],[21.0026146,40.3284991],[21.0027885,40.3285576],[21.0027839,40.3283954],[21.0030962,40.3285206],[21.0029866,40.3283376],[21.002984,40.3281303],[21.003244,40.3283713],[21.0034532,40.3284307],[21.0033882,40.328303],[21.0035175,40.3283063],[21.0038858,40.328496],[21.0038216,40.3283502],[21.0039501,40.3283716],[21.0042127,40.3282883],[21.0048455,40.3288812],[21.0049043,40.3288827],[21.0048973,40.3287744],[21.0049812,40.3287406],[21.0058165,40.3290144],[21.0060241,40.3285784],[21.0062988,40.3284865],[21.006458,40.3283465],[21.0064594,40.3285807],[21.0066151,40.3290531],[21.0068094,40.3291842],[21.0069262,40.3297367],[21.0071631,40.329968],[21.007714,40.3300183],[21.0079185,40.3301857],[21.0080823,40.330208],[21.0082853,40.3301412],[21.0086746,40.329854],[21.0089215,40.3298604],[21.0090601,40.329918],[21.0091303,40.3304603],[21.0093928,40.3306472],[21.0094972,40.3309472],[21.0098176,40.3311536],[21.0096948,40.3315378],[21.0098859,40.3317409],[21.0098446,40.3318749],[21.0101551,40.3317748],[21.0104376,40.3317731],[21.01076,40.3319346],[21.0110077,40.331923],[21.0116996,40.3322471],[21.0118327,40.3324307],[21.0123018,40.3324699],[21.0126387,40.3325686],[21.0127163,40.3326787],[21.0134461,40.3324094],[21.0136209,40.3324499],[21.0137556,40.3325975],[21.0138925,40.3329613],[21.0139783,40.3336841],[21.0139131,40.3340968],[21.0140109,40.3342795],[21.0143306,40.3345039],[21.0143727,40.3348833],[21.0147856,40.3351281],[21.0145095,40.3355173],[21.0145275,40.3356439],[21.0152131,40.3361119],[21.0155776,40.3366528],[21.0157994,40.3366945],[21.0155849,40.3370223],[21.0156545,40.3373123],[21.0160596,40.3374669],[21.0161834,40.3375962],[21.0162052,40.337903],[21.0160335,40.3380607],[21.0160271,40.3382046],[21.0162798,40.3383463],[21.0169304,40.338273],[21.0173085,40.3385079],[21.0171898,40.3385319],[21.0172446,40.3386234],[21.01758,40.3387581],[21.017794,40.3387096],[21.0176231,40.3388493],[21.0174264,40.3387722],[21.0170619,40.3387628],[21.0170242,40.3388158],[21.0172341,40.3391275],[21.0171933,40.3392525],[21.0172838,40.3393359],[21.0173197,40.3395891],[21.0174874,40.3397916],[21.0175291,40.3401799],[21.0176232,40.3401824],[21.0176403,40.3403269],[21.0177454,40.3403477],[21.0178112,40.3404574],[21.0180698,40.3404641],[21.0182486,40.3404147],[21.0186956,40.3398858],[21.0189748,40.3396948],[21.0199699,40.3387477],[21.0204084,40.338705],[21.0206835,40.3388742],[21.0211263,40.3389757],[21.0218998,40.3393199],[21.0220424,40.3395577],[21.022184,40.3400838],[21.0224825,40.3405238],[21.0227223,40.3406921],[21.0231392,40.340847],[21.0245034,40.3411974],[21.0244505,40.341196],[21.024588,40.3413617],[21.0248545,40.3414586],[21.0251632,40.3416647],[21.0251169,40.3419157],[21.0252857,40.3420912],[21.0252465,40.3421803],[21.0254706,40.3424383],[21.0258922,40.3427554],[21.026185,40.3427899],[21.0263389,40.3430371],[21.0265831,40.3431064],[21.026908,40.3429436],[21.0268164,40.3428872],[21.0269449,40.3429085],[21.0273074,40.3428053],[21.0276531,40.3427061],[21.0278576,40.3428735],[21.0281873,40.3428729],[21.0283119,40.3429842],[21.0284318,40.3429333],[21.0286473,40.343119],[21.0287062,40.3428503],[21.0289657,40.3428389],[21.0291335,40.342501],[21.0295712,40.3421564],[21.0294698,40.3439282],[21.0296585,40.3447257],[21.0297139,40.3448577],[21.0297408,40.3442459],[21.0297945,40.3440942],[21.0299531,40.3439677],[21.0305208,40.34364],[21.0307852,40.3429802],[21.031016,40.3424142]]},{"id":19907,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u039a\u03bf\u03c4\u03cd\u03bb\u03b7-\u039d\u03b5\u03c3\u03c4\u03cc\u03c1\u03b9\u03bf","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 4","path":"MACEDONIA\/Makedonia_GP_Kotyli_Nestorio","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":12861,"name_EN":"Gramos-Prespa: Kotyli-Nestorio","description_EN":"Section 4","ascent_time":295,"descent_time":305,"marker":"Red_dots","level":11,"ascent":380,"descent":862,"maxelev":1412,"minelev":781,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.02723 40.34351,21.07401 40.41662)","views":2,"millestones":"0,21.0310158,40.3424142#1,21.0322410,40.3503318#2,21.0377158,40.3573705#3,21.0395434,40.3654441#4,21.0442701,40.3717944#5,21.0506207,40.3783154#6,21.0552115,40.3837321#7,21.0587320,40.3847300#8,21.0595679,40.3920710#9,21.0635368,40.3973595#10,21.0658966,40.4034619#11,21.0703183,40.4091244#12,21.0621710,40.4126555#12.9,21.0572288,40.4173852","x":21.0583132,"y":40.3831674,"coor":[[21.0310158,40.3424142],[21.030785,40.3429802],[21.0305206,40.34364],[21.0304236,40.3439978],[21.0304135,40.3442272],[21.0306696,40.3450985],[21.0308028,40.345282],[21.0313091,40.3455473],[21.0314364,40.3456271],[21.0314277,40.345825],[21.0311179,40.3464476],[21.0307383,40.3467801],[21.0306998,40.3471214],[21.0305335,40.3474233],[21.0303671,40.3482658],[21.0307494,40.3489421],[21.0312228,40.3494226],[21.0314257,40.3498962],[21.0324797,40.3504502],[21.0327884,40.3509265],[21.0334501,40.3517316],[21.0336891,40.351999],[21.0339776,40.3521325],[21.0343663,40.3526649],[21.034149,40.3530556],[21.0340414,40.3538995],[21.0342734,40.3539776],[21.0349289,40.3540664],[21.0355317,40.3542801],[21.0359182,40.3545962],[21.0361501,40.3552147],[21.0364323,40.3554921],[21.0364268,40.3558072],[21.0369158,40.3567385],[21.0378949,40.3575022],[21.0380187,40.3576315],[21.0378447,40.357573],[21.0378517,40.3576812],[21.0382661,40.357899],[21.0383311,40.3580268],[21.0382738,40.3582595],[21.0379326,40.3587912],[21.0382339,40.3597086],[21.0382597,40.3601957],[21.0385176,40.3604905],[21.0386238,40.3607545],[21.0388386,40.3609581],[21.0388667,40.3613912],[21.0393639,40.362674],[21.0392239,40.3629136],[21.0392026,40.3636696],[21.0392559,40.3637971],[21.0392033,40.3639218],[21.0391073,40.3639644],[21.0392052,40.3641471],[21.0391114,40.3646761],[21.0394116,40.3653503],[21.0395943,40.3654811],[21.0395358,40.3657408],[21.0396596,40.3661403],[21.0395929,40.3663187],[21.039599,40.3672556],[21.0397065,40.3680826],[21.0396391,40.3681439],[21.0396115,40.3685035],[21.0398059,40.3689048],[21.0398608,40.3692665],[21.0397292,40.3698215],[21.0397981,40.3701295],[21.039973,40.37017],[21.0404122,40.3700912],[21.0412222,40.3704182],[21.0414684,40.3707127],[21.0417632,40.3712427],[21.0420478,40.3714662],[21.0427873,40.3717913],[21.0436099,40.3718304],[21.0444126,40.3717879],[21.0446698,40.3718305],[21.0461437,40.372868],[21.0464985,40.3733725],[21.0465682,40.3739327],[21.046707,40.3742605],[21.0471947,40.3749575],[21.0479637,40.3756887],[21.0482487,40.3761734],[21.0488926,40.3765321],[21.0491882,40.3767738],[21.0493208,40.3769754],[21.0494219,40.3773563],[21.0496015,40.377559],[21.0501108,40.3777927],[21.0498151,40.3778212],[21.0497155,40.3779447],[21.0503774,40.3781598],[21.051088,40.3786103],[21.0517445,40.3794917],[21.0518326,40.3798723],[21.0518204,40.3801512],[21.051931,40.3803161],[21.0519878,40.3806328],[21.0524451,40.381221],[21.0523337,40.3816144],[21.052609,40.3815134],[21.0528541,40.3815647],[21.0528965,40.3816738],[21.0527539,40.3819179],[21.0527962,40.3820271],[21.0532966,40.3821659],[21.0537488,40.3826008],[21.0541355,40.3827818],[21.0543708,40.383058],[21.0545936,40.3830817],[21.0548218,40.3832496],[21.0550422,40.3830571],[21.055125,40.38278],[21.055525,40.38252],[21.055628,40.3825091],[21.0554713,40.3832121],[21.0551748,40.3837991],[21.0549348,40.383901],[21.0542622,40.3836587],[21.0539782,40.3836875],[21.0539261,40.3838033],[21.0540633,40.3841671],[21.0539119,40.3843974],[21.0536923,40.3845224],[21.0538124,40.384548],[21.0539673,40.3845069],[21.0542991,40.3841911],[21.0544427,40.3841407],[21.0546164,40.3842082],[21.0550031,40.3845243],[21.0553796,40.3845339],[21.0556828,40.3846046],[21.0562699,40.3843764],[21.0565397,40.3841311],[21.0566809,40.3835942],[21.0570299,40.383423],[21.0569829,40.3828814],[21.0571303,40.382741],[21.0577743,40.3830997],[21.0583132,40.3831674],[21.0586293,40.3834817],[21.0586928,40.3836455],[21.0586117,40.3841568],[21.0586847,40.3846451],[21.0589906,40.3851933],[21.0593083,40.3854716],[21.0596661,40.3864535],[21.0596896,40.3869945],[21.060238,40.387657],[21.0601526,40.3885375],[21.0603459,40.3886956],[21.0611029,40.388895],[21.0611575,40.3889954],[21.0608614,40.3893031],[21.0600487,40.3895707],[21.0594455,40.3898976],[21.0592977,40.3908576],[21.0590521,40.3910856],[21.0590655,40.3913201],[21.0596735,40.3922363],[21.0600179,40.3924432],[21.0606067,40.3929896],[21.0609792,40.3931477],[21.0610828,40.3932044],[21.0610329,40.3932662],[21.0612573,40.3932539],[21.0612177,40.3933519],[21.0615068,40.3934764],[21.0616696,40.3937958],[21.0614814,40.3940612],[21.0615975,40.3943704],[21.0617646,40.3945908],[21.0615607,40.3946757],[21.0612657,40.3946862],[21.0612021,40.3947927],[21.0613379,40.3949223],[21.0613646,40.3951211],[21.0618988,40.3952968],[21.0615388,40.3954498],[21.061254,40.3957668],[21.0612744,40.3958394],[21.0616989,40.3961024],[21.0622469,40.3962334],[21.0625427,40.3964751],[21.0625482,40.3966194],[21.0627953,40.3966256],[21.063235,40.3965377],[21.0636438,40.3966202],[21.0636767,40.3966751],[21.0635457,40.3967078],[21.0636748,40.3969903],[21.0638388,40.3970125],[21.0640106,40.3971249],[21.0639588,40.3972317],[21.0637576,40.3972536],[21.0632281,40.3975103],[21.0626817,40.3978838],[21.0620933,40.3986795],[21.0622864,40.3991167],[21.0622064,40.3993309],[21.062226,40.3999619],[21.0620025,40.4002264],[21.062283,40.4002786],[21.0623002,40.4004231],[21.0619244,40.4006658],[21.0618903,40.4009081],[21.0616322,40.4011537],[21.061604,40.4012611],[21.0621002,40.4013097],[21.0624564,40.401517],[21.0629609,40.4015658],[21.0633862,40.4018108],[21.0640602,40.4020261],[21.0643183,40.4020507],[21.0644745,40.4022528],[21.065185,40.4027122],[21.0652674,40.4029845],[21.0654785,40.4032781],[21.0659642,40.4034886],[21.0665622,40.403828],[21.0667089,40.4039759],[21.0670353,40.4040562],[21.0674858,40.404536],[21.0680761,40.4047807],[21.0683585,40.4047879],[21.0684849,40.4048631],[21.0685763,40.4051987],[21.0686564,40.4052548],[21.0696974,40.4069791],[21.0696693,40.4076269],[21.0699467,40.407751],[21.070496,40.407855],[21.071002,40.4075976],[21.0711793,40.4075841],[21.0710272,40.4078324],[21.0709676,40.4081192],[21.0711921,40.4086473],[21.0710956,40.4086989],[21.0709034,40.4086174],[21.0707265,40.4086219],[21.0704276,40.4087225],[21.070244,40.4088799],[21.0702491,40.4090332],[21.0703606,40.4091801],[21.0708658,40.4095397],[21.070287,40.4099799],[21.0703033,40.4100659],[21.0689838,40.4098703],[21.0688056,40.4098793],[21.0685673,40.4098552],[21.0682969,40.4098393],[21.0675435,40.4097437],[21.0672363,40.4097629],[21.0671853,40.4098517],[21.0670542,40.4098844],[21.0665823,40.4098994],[21.0664226,40.4099134],[21.065827,40.4101955],[21.0653256,40.4100747],[21.0650074,40.4100756],[21.0647904,40.4103538],[21.0642535,40.4105878],[21.0635597,40.4112863],[21.0634102,40.4114716],[21.0631976,40.4117004],[21.0629026,40.4122514],[21.0623721,40.4125261],[21.0610109,40.4133967],[21.0605213,40.4140868],[21.0598308,40.4147898],[21.0596142,40.4151626],[21.0597233,40.4153635],[21.0594814,40.415452],[21.059141,40.4158261],[21.058474,40.4162595],[21.0581138,40.4164124],[21.0578778,40.416474],[21.0574635,40.4166211],[21.0570906,40.4167692],[21.0571982,40.4170061],[21.0572288,40.4173852]]},{"id":19926,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u039d\u03b5\u03c3\u03c4\u03cc\u03c1\u03b9\u03bf-\u039a\u03b1\u03bb\u03ae \u0392\u03c1\u03cd\u03c3\u03b7","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 5","path":"MACEDONIA\/Makedonia_GP_Nestorio_KaliVrysi","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":18328,"name_EN":"Gramos-Prespa: Nestorio-Kali Vrysi","description_EN":"Section 5","ascent_time":455,"descent_time":435,"marker":"Red_dots","level":11,"ascent":1021,"descent":768,"maxelev":1585,"minelev":920,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(20.94894 40.41721,21.05724 40.47239)","views":1,"millestones":"0,21.0572312,40.4173852#1,21.0549992,40.4215452#2,21.0468767,40.4252763#3,21.0377148,40.4277134#4,21.0285814,40.4268974#5,21.0184743,40.4281305#6,21.0106302,40.4318750#7,21.0051381,40.4307809#8,20.9968234,40.4316468#9,20.9921401,40.4373329#10,20.9885719,40.4429886#11,20.9825483,40.4455513#12,20.9757211,40.4465050#13,20.9668859,40.4498580#14,20.9582665,40.4530974#15,20.9530521,40.4554208#16,20.9531932,40.4586023#17,20.9555273,40.4659482#18.3,20.9620880,40.4727340","x":20.9896889,"y":40.4399731,"coor":[[21.0572312,40.4173852],[21.0568436,40.4171952],[21.0561069,40.417253],[21.0562674,40.4176264],[21.0559856,40.4176012],[21.0555285,40.4176796],[21.0550315,40.4174823],[21.0536144,40.417793],[21.054061,40.4178224],[21.0545856,40.4179528],[21.054653,40.4181347],[21.0546514,40.4189813],[21.0548939,40.419636],[21.0547573,40.4197947],[21.0537056,40.4203984],[21.0536362,40.42091],[21.0537617,40.4212735],[21.0538763,40.4213485],[21.0550358,40.4215447],[21.0550176,40.4216072],[21.054755,40.4216816],[21.0544756,40.4218727],[21.0538709,40.4224967],[21.0531622,40.4230731],[21.0527407,40.4235488],[21.0528333,40.4235872],[21.0531896,40.4235242],[21.0532347,40.4235704],[21.0522633,40.4244688],[21.0523763,40.4245798],[21.0521545,40.4246417],[21.0517679,40.4245868],[21.0507787,40.4243003],[21.0494845,40.4242493],[21.0485536,40.4245137],[21.04772,40.4249788],[21.0471718,40.4251179],[21.0464234,40.4255221],[21.0459011,40.4256574],[21.0454984,40.4257011],[21.0450628,40.4259602],[21.0444278,40.4261962],[21.0438908,40.426885],[21.04351,40.4275057],[21.0423034,40.4286818],[21.0414235,40.4288574],[21.0404816,40.4288333],[21.0397544,40.4287516],[21.0388919,40.4285313],[21.0384854,40.4281246],[21.0374723,40.4275762],[21.0369061,40.4270483],[21.0364058,40.4269004],[21.0358322,40.4265434],[21.0346553,40.4265042],[21.0342154,40.4265919],[21.0340396,40.4265694],[21.0336466,40.4264467],[21.0332581,40.4264368],[21.0328477,40.42612],[21.0323976,40.4261715],[21.0318185,40.4259404],[21.0311145,40.4257872],[21.0313624,40.42637],[21.0312984,40.4264855],[21.0310448,40.4266231],[21.0303163,40.4266764],[21.0300927,40.4264005],[21.0297078,40.4263095],[21.0294624,40.4265284],[21.0290468,40.4265987],[21.0289471,40.4267223],[21.0285255,40.4269276],[21.0284116,40.4271048],[21.027822,40.4273013],[21.027712,40.4273886],[21.02744,40.4274401],[21.0269942,40.4273926],[21.026309,40.427429],[21.0258789,40.4272918],[21.0253543,40.4273999],[21.0251392,40.4274664],[21.024868,40.4274685],[21.0245611,40.4274786],[21.0240831,40.4276284],[21.0236389,40.4275449],[21.0230588,40.427602],[21.0222113,40.4273099],[21.0218129,40.4269889],[21.0214437,40.4274523],[21.02099,40.4275847],[21.0208617,40.4279777],[21.0205977,40.4281645],[21.0203257,40.4281845],[21.0197527,40.4283499],[21.0188805,40.4280572],[21.0185034,40.4281105],[21.0180024,40.4284579],[21.0170752,40.4289023],[21.016551,40.4290284],[21.0155409,40.4289482],[21.0151131,40.4290272],[21.0143868,40.4294588],[21.0137257,40.4301218],[21.0137555,40.4305144],[21.0133221,40.4307193],[21.0132459,40.4308434],[21.0135566,40.4310136],[21.0139789,40.431592],[21.0137897,40.4316051],[21.013563,40.4314011],[21.0131222,40.4315068],[21.0125226,40.4314733],[21.0118168,40.4317072],[21.0106306,40.4318747],[21.0103024,40.4321004],[21.0102363,40.4322608],[21.0104517,40.4324555],[21.0112573,40.4326295],[21.0112748,40.432765],[21.0109384,40.4329094],[21.0106664,40.432979],[21.0100885,40.4332522],[21.0098758,40.4332647],[21.0096325,40.4331684],[21.0093739,40.4331527],[21.0090402,40.4332341],[21.0084828,40.4334989],[21.0081804,40.4336712],[21.0079418,40.4337371],[21.0071502,40.4335905],[21.0069102,40.4334221],[21.0063169,40.4332446],[21.0057785,40.4331586],[21.0052718,40.4331545],[21.0050548,40.4322031],[21.0053202,40.431003],[21.0051191,40.4307546],[21.0046098,40.4305433],[21.0042079,40.4305689],[21.0037651,40.4307195],[21.0032024,40.4306509],[21.0028688,40.4307323],[21.0005838,40.4317538],[21.0001051,40.4321827],[20.9995343,40.432294],[20.9991282,40.4326798],[20.9988578,40.4326638],[20.9987091,40.4325113],[20.9986026,40.4322563],[20.9982826,40.4320318],[20.9984383,40.4317116],[20.9984459,40.4315407],[20.9981716,40.4310832],[20.9979577,40.430857],[20.9976069,40.4307938],[20.9973055,40.4312093],[20.9969237,40.4315777],[20.9966076,40.4317946],[20.9962833,40.4319303],[20.9952778,40.4328049],[20.9945026,40.4332711],[20.9940568,40.4332235],[20.9933005,40.4332668],[20.9920482,40.4335945],[20.9918181,40.4337326],[20.9911855,40.4344367],[20.9906326,40.4352059],[20.9905542,40.4359064],[20.9907674,40.4361462],[20.9912937,40.4362409],[20.9917697,40.4366677],[20.9921403,40.4373438],[20.9921054,40.4381265],[20.9918693,40.4383996],[20.9914565,40.4386681],[20.9907358,40.4387034],[20.9909277,40.4391587],[20.9912368,40.4393649],[20.9913128,40.439511],[20.9913056,40.4396729],[20.9911359,40.4397766],[20.9910325,40.4399811],[20.9905346,40.439779],[20.9902268,40.439807],[20.9896889,40.4399731],[20.9892966,40.4397827],[20.988839,40.4397348],[20.98866,40.4397841],[20.9884137,40.4400209],[20.9880834,40.4405527],[20.9879222,40.4415213],[20.9879837,40.44173],[20.9883075,40.4421348],[20.98848,40.4426257],[20.9886121,40.4428363],[20.9885821,40.4429796],[20.9881523,40.4433647],[20.9878809,40.4433712],[20.9874592,40.4430945],[20.9870778,40.4427152],[20.9867408,40.4423416],[20.985627,40.4414119],[20.9852494,40.44142],[20.9846839,40.4417295],[20.9845321,40.4419868],[20.9845066,40.4422923],[20.9841539,40.4425353],[20.9837844,40.4426248],[20.9835063,40.4427796],[20.9829852,40.4433605],[20.9828562,40.4436093],[20.9825867,40.4438364],[20.9826253,40.4440266],[20.9831452,40.4445266],[20.983203,40.4448163],[20.9831272,40.4451926],[20.9824918,40.4455903],[20.9819593,40.4459502],[20.9810653,40.4464313],[20.9806855,40.4464889],[20.98037,40.4464266],[20.9794614,40.4459164],[20.9786837,40.4453827],[20.9780847,40.445331],[20.9777237,40.4452315],[20.9767346,40.4452056],[20.9763728,40.4451241],[20.9759297,40.4447522],[20.9757517,40.4442521],[20.9755884,40.4442118],[20.9755047,40.4442637],[20.9754201,40.4453603],[20.9754843,40.4455061],[20.9757321,40.4457648],[20.9758166,40.4459832],[20.9756443,40.4469334],[20.9754901,40.4472176],[20.974985,40.4474386],[20.9748376,40.4473086],[20.9747485,40.446928],[20.9745309,40.4469178],[20.9743104,40.4470246],[20.9739864,40.4474124],[20.9737514,40.4479197],[20.9734875,40.4480208],[20.97266,40.4480712],[20.972539,40.4481401],[20.9724091,40.4484069],[20.9716819,40.448586],[20.9712689,40.4488544],[20.9711439,40.4490132],[20.9686738,40.4497726],[20.9680343,40.4498368],[20.9675437,40.4497339],[20.9672493,40.4497262],[20.9669626,40.4498087],[20.9666933,40.4499818],[20.9658032,40.4508951],[20.9649802,40.4516301],[20.9644727,40.4524274],[20.9641576,40.4526172],[20.9634709,40.4526803],[20.9630753,40.4525618],[20.9626993,40.4525339],[20.9620385,40.4520211],[20.9616089,40.4518747],[20.9610639,40.4519324],[20.9606164,40.4521818],[20.960402,40.4522302],[20.9600849,40.4522039],[20.9594251,40.4520334],[20.9592131,40.4520278],[20.9591165,40.4520793],[20.9589658,40.4525437],[20.9582081,40.4531362],[20.9575246,40.4540955],[20.9574929,40.4542748],[20.9575875,40.4547907],[20.95738,40.4554698],[20.9574023,40.4557586],[20.957261,40.4557548],[20.956956,40.4554586],[20.9568736,40.4554564],[20.9570181,40.4559106],[20.9570425,40.4564156],[20.9569934,40.4564593],[20.9568764,40.4564383],[20.9566766,40.4561628],[20.956595,40.4561426],[20.9563517,40.4565685],[20.9563468,40.4566765],[20.9559578,40.4569364],[20.9556938,40.4570376],[20.9553157,40.4570546],[20.9543422,40.4566777],[20.9538517,40.4565747],[20.9537262,40.4564813],[20.9536417,40.4562629],[20.9530265,40.4557873],[20.9530959,40.455555],[20.9529618,40.4551326],[20.951832,40.4548236],[20.9508041,40.4553909],[20.9498721,40.4556635],[20.9496893,40.4557938],[20.9497648,40.4559489],[20.9499959,40.4560541],[20.9506201,40.4560706],[20.9508418,40.4561215],[20.9511788,40.4564906],[20.9516243,40.4568086],[20.9518643,40.4572383],[20.9525502,40.457977],[20.9528145,40.458128],[20.9533425,40.458187],[20.9535736,40.4582922],[20.9526768,40.4583046],[20.9524449,40.4582174],[20.9523943,40.4583196],[20.9525535,40.4584499],[20.953161,40.458574],[20.9533084,40.458704],[20.953297,40.4589559],[20.9531008,40.4593831],[20.9531609,40.45988],[20.9530663,40.4601478],[20.9535751,40.4608907],[20.9536965,40.4615965],[20.9538102,40.4616896],[20.9548288,40.4621127],[20.9553446,40.4621804],[20.9553779,40.4622263],[20.9553267,40.462315],[20.9551115,40.4623814],[20.9548158,40.4626618],[20.954544,40.4634563],[20.954676,40.4636669],[20.9551126,40.4639216],[20.9556983,40.4645315],[20.9557559,40.4648213],[20.9555098,40.4653102],[20.9555533,40.4654194],[20.9555757,40.4654695],[20.9554438,40.4655966],[20.9554596,40.4657682],[20.9558064,40.466705],[20.9559603,40.4673981],[20.9559899,40.4685698],[20.9559843,40.4690606],[20.9558084,40.4698215],[20.9560646,40.4703372],[20.956245,40.4705221],[20.9564171,40.4705987],[20.9568497,40.4706821],[20.9569269,40.4708012],[20.9572596,40.4710082],[20.9573806,40.4712005],[20.957468,40.4712253],[20.9576199,40.4712563],[20.9582845,40.4717152],[20.9587894,40.4717645],[20.9592618,40.4720111],[20.9603009,40.4722456],[20.9604911,40.4722371],[20.9610934,40.4721944],[20.9618758,40.4721069],[20.9620005,40.4722183],[20.9620384,40.4725796],[20.962088,40.472734]]},{"id":19927,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u039a\u03b1\u03bb\u03ae \u0392\u03c1\u03cd\u03c3\u03b7-\u039a\u03bf\u03bc\u03bd\u03b7\u03bd\u03ac\u03b4\u03b5\u03c2","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 6","path":"MACEDONIA\/Makedonia_GP_KaliVrysi_Komninades","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":9608,"name_EN":"Gramos-Prespa: Kali Vrysi-Komninades","description_EN":"Section 6","ascent_time":215,"descent_time":230,"marker":"Red_dots","level":11,"ascent":216,"descent":482,"maxelev":1172,"minelev":895,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(20.95997 40.47371,20.99993 40.51952)","views":0,"millestones":"0,20.9620847,40.4727339#1,20.9684336,40.4777262#2,20.9656174,40.4850969#3,20.9683310,40.4915758#4,20.9681566,40.4996768#5,20.9642582,40.5062599#6,20.9673469,40.5139252#7,20.9732247,40.5190157#8,20.9812319,40.5171558#9,20.9925825,40.5162293#9.6,20.9979354,40.5183597","x":20.9646813,"y":40.5051598,"coor":[[20.9620847,40.4727339],[20.962733,40.472742],[20.9635511,40.4729076],[20.9636236,40.472923],[20.963639,40.4731036],[20.9643394,40.4735273],[20.9644731,40.4737289],[20.9651085,40.4742861],[20.9654302,40.4744747],[20.9660327,40.4749769],[20.966561,40.4750808],[20.9665813,40.4751534],[20.9664704,40.4752586],[20.9665151,40.4753138],[20.9669738,40.4753439],[20.9673115,40.4758076],[20.96732,40.4758799],[20.9674696,40.4759648],[20.9674736,40.4761361],[20.967787,40.4766667],[20.9680568,40.4771737],[20.9677364,40.4771878],[20.9671847,40.4771058],[20.9671571,40.4771951],[20.9675,40.4774383],[20.9680716,40.4775794],[20.9689869,40.4779457],[20.9691108,40.478021],[20.9691165,40.4781563],[20.9686665,40.4789821],[20.9678752,40.4792676],[20.9674812,40.4798967],[20.966488,40.4809965],[20.9661045,40.4811305],[20.9654651,40.4817082],[20.9652714,40.4820814],[20.965256,40.4824233],[20.9654518,40.4827887],[20.965779,40.483144],[20.9658627,40.4833804],[20.9658505,40.4836503],[20.9657941,40.483856],[20.9655556,40.484174],[20.9655089,40.4844249],[20.965628,40.4851847],[20.9660364,40.4858079],[20.9668698,40.4864242],[20.9670508,40.4865956],[20.9670809,40.4869747],[20.9674096,40.4872715],[20.9684502,40.4877402],[20.9688936,40.4881121],[20.969397,40.4881974],[20.9698801,40.4884713],[20.9702689,40.488459],[20.9697801,40.4888334],[20.9691882,40.4891422],[20.9690257,40.4896063],[20.9691181,40.4899374],[20.9690759,40.4900894],[20.9684798,40.4904881],[20.9682763,40.4910772],[20.9682947,40.491456],[20.9685622,40.4923277],[20.9686189,40.4944728],[20.9691293,40.4964227],[20.9697975,40.497305],[20.9702291,40.4976766],[20.9687753,40.4988093],[20.9685242,40.4992756],[20.9674702,40.5004098],[20.9670424,40.5012632],[20.9669999,40.5016539],[20.9671316,40.5021347],[20.9672661,40.5022914],[20.9676469,40.5024815],[20.9682878,40.5026605],[20.9683167,40.5028054],[20.9680611,40.5029788],[20.9676076,40.503093],[20.9669569,40.5031299],[20.9663786,40.503394],[20.9660182,40.5037988],[20.9659024,40.5040119],[20.9658776,40.5042995],[20.9656269,40.504365],[20.9653498,40.5044658],[20.965106,40.5046395],[20.9646813,40.5051598],[20.9644721,40.5058748],[20.9641506,40.5064608],[20.9640979,40.5071845],[20.9649888,40.5078384],[20.9652802,40.5079181],[20.9655997,40.5081607],[20.9658781,40.5082671],[20.9660697,40.5085198],[20.9659395,40.5087371],[20.9655851,40.509007],[20.9654063,40.5093085],[20.9655747,40.5097362],[20.9660063,40.5101079],[20.9657845,40.5105794],[20.9658068,40.5107872],[20.9661804,40.5116616],[20.9668637,40.5124722],[20.9668983,40.5130135],[20.9669834,40.5132725],[20.9679871,40.5150912],[20.9683434,40.5166137],[20.968284,40.5168824],[20.9683496,40.5177848],[20.9689297,40.5180072],[20.9690496,40.5182265],[20.9691434,40.518319],[20.9693098,40.5184765],[20.9697936,40.519525],[20.9702924,40.5197182],[20.9708225,40.5197412],[20.9711261,40.519551],[20.9718037,40.5194427],[20.972587,40.5190849],[20.9731199,40.5190448],[20.9735861,40.5189129],[20.9742392,40.5189571],[20.974631,40.5189043],[20.9750001,40.5185717],[20.9751196,40.5185388],[20.9756802,40.5186706],[20.9758717,40.5188738],[20.9760499,40.5192162],[20.9761379,40.5195427],[20.9766211,40.5199517],[20.9766874,40.5197913],[20.9769085,40.5198601],[20.9770204,40.5198361],[20.9769802,40.5194477],[20.97713,40.5192895],[20.9772182,40.5191657],[20.9772136,40.5187423],[20.9772908,40.5186002],[20.9775103,40.5184438],[20.9780424,40.5184217],[20.978299,40.5182258],[20.978451,40.5179956],[20.9794488,40.5175893],[20.979559,40.5175021],[20.9796418,40.5172341],[20.979932,40.5171336],[20.9804474,40.5172191],[20.9812648,40.5171504],[20.9816225,40.5170697],[20.981931,40.5167716],[20.9820984,40.5167219],[20.9831098,40.5168024],[20.9835757,40.516729],[20.9842343,40.5167822],[20.9846656,40.5169016],[20.9848851,40.5168758],[20.9868165,40.5164398],[20.987238,40.5162527],[20.9876428,40.5161731],[20.9884464,40.5161491],[20.9895972,40.5162782],[20.9914496,40.5162904],[20.9931181,40.5161898],[20.9938071,40.5160906],[20.9942401,40.5161424],[20.9947293,40.5165515],[20.9954632,40.5168993],[20.9960443,40.5171306],[20.995982,40.5172281],[20.9965208,40.5175303],[20.9967525,40.5177345],[20.997465,40.5180593],[20.9979354,40.5183597]]},{"id":19929,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u0399\u03b5\u03c1\u03bf\u03c0\u03b7\u03b3\u03ae-\u0394\u03b5\u03bd\u03b4\u03c1\u03bf\u03c7\u03ce\u03c1\u03b9","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 9","path":"MACEDONIA\/Makedonia_GP_Ieropigi_Dendrochori","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":13908,"name_EN":"Gramos-Prespa: Ieropigi-Dendrochori","description_EN":"Section 9","ascent_time":350,"descent_time":350,"marker":"Red_dots","level":11,"ascent":660,"descent":754,"maxelev":1513,"minelev":958,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.07505 40.57959,21.14396 40.60991)","views":1,"millestones":"0,21.0807201,40.5780106#1,21.0765396,40.5843516#2,21.0806630,40.5916376#3,21.0859543,40.5956307#4,21.0858779,40.6016965#5,21.0893035,40.6081293#6,21.0990266,40.6104239#7,21.0982999,40.6021047#8,21.1047848,40.5954708#9,21.1080706,40.5881159#10,21.1137586,40.5864173#11,21.1177090,40.5877388#12,21.1285570,40.5850416#13,21.1379935,40.5834388#13.9,21.1438417,40.5824134","x":21.0986546,"y":40.6075329,"coor":[[21.0807201,40.5780106],[21.0808198,40.5784589],[21.0808922,40.5787805],[21.0809084,40.5788665],[21.0809974,40.579265],[21.0810861,40.5798347],[21.0809033,40.5802354],[21.0808647,40.5803335],[21.0806649,40.5805807],[21.0800269,40.5809653],[21.0796682,40.5813346],[21.0795149,40.5818711],[21.0791431,40.5820238],[21.0788953,40.5820175],[21.078262,40.5816412],[21.0772977,40.5818645],[21.0767024,40.5827862],[21.0765545,40.5829265],[21.0762174,40.5830711],[21.0764339,40.5840674],[21.0765156,40.584146],[21.0765498,40.5844441],[21.0767982,40.5847882],[21.0781256,40.5857765],[21.0785438,40.5859402],[21.0786186,40.5861222],[21.0787909,40.5862347],[21.0788736,40.586507],[21.0790175,40.5866187],[21.0796297,40.5872107],[21.0806158,40.5875463],[21.0801486,40.5882371],[21.0801109,40.5885604],[21.0799284,40.5889521],[21.0798331,40.5898954],[21.0798292,40.5902556],[21.0800812,40.5909825],[21.0809815,40.5920141],[21.0810689,40.5924486],[21.0816321,40.5933545],[21.0816801,40.593608],[21.0815063,40.5938017],[21.0815004,40.5939367],[21.0817409,40.5943841],[21.0820596,40.5946624],[21.0826257,40.5960457],[21.0825577,40.5965214],[21.0826947,40.5966329],[21.0831179,40.5964095],[21.0832548,40.5959806],[21.083429,40.5957778],[21.0834762,40.5955088],[21.0839033,40.5951953],[21.0850924,40.5955676],[21.0853911,40.5957643],[21.0857459,40.5957553],[21.0861948,40.5954874],[21.0863738,40.5954469],[21.0865492,40.5954873],[21.0867995,40.5957098],[21.0872551,40.5955592],[21.0875888,40.5957658],[21.0879429,40.5957747],[21.0881498,40.595852],[21.0882437,40.596084],[21.0880329,40.5965831],[21.0881225,40.5972429],[21.088034,40.5973757],[21.0878396,40.5974969],[21.0872314,40.5976257],[21.0869821,40.5979256],[21.0870935,40.5983518],[21.0874005,40.5986297],[21.0873581,40.599061],[21.0869641,40.5996996],[21.086658,40.599944],[21.0868344,40.6002367],[21.0868054,40.6006323],[21.0866209,40.6007988],[21.0863109,40.600863],[21.0862369,40.6009332],[21.0862925,40.6012859],[21.0861147,40.6015696],[21.0854979,40.6018963],[21.084976,40.603027],[21.0849823,40.6031533],[21.0851295,40.6033011],[21.0858087,40.6034443],[21.0859473,40.6037901],[21.0857551,40.6044067],[21.0853173,40.6052333],[21.0852946,40.605485],[21.0854277,40.6059567],[21.0853483,40.6061528],[21.0854111,40.6064201],[21.0861136,40.6068432],[21.0877176,40.6071899],[21.0878514,40.6073734],[21.0892029,40.608092],[21.0900518,40.6084107],[21.0906728,40.6085344],[21.0914254,40.6091659],[21.0921524,40.6095715],[21.093277,40.6095278],[21.093844,40.6092628],[21.094019,40.6090421],[21.0942581,40.6089535],[21.0946655,40.6090989],[21.0952827,40.6095828],[21.0960499,40.6093319],[21.0965324,40.60938],[21.0970687,40.6092764],[21.0972332,40.6092986],[21.0973486,40.6093645],[21.097525,40.6096572],[21.0984973,40.6104022],[21.0988354,40.6105098],[21.0990215,40.6104424],[21.0990706,40.6102635],[21.0989886,40.6099732],[21.0990436,40.6097944],[21.0992316,40.609547],[21.0995231,40.6093652],[21.0995675,40.6091591],[21.0994533,40.6090121],[21.0991096,40.6087603],[21.0987995,40.6077347],[21.0986546,40.6075329],[21.0985283,40.6068993],[21.0980912,40.6060776],[21.0981575,40.605638],[21.0977973,40.6052236],[21.0974499,40.6045123],[21.0976057,40.6036425],[21.0978015,40.6032151],[21.0977919,40.6028906],[21.0980734,40.6023933],[21.0984412,40.6019252],[21.0986457,40.6018403],[21.0987784,40.6012311],[21.0991913,40.6007011],[21.0992251,40.6004677],[21.0994787,40.6000688],[21.099953,40.5989368],[21.1006449,40.5976932],[21.1008446,40.5974461],[21.1011601,40.5972558],[21.1017234,40.5972339],[21.1022112,40.5971561],[21.1028661,40.5967672],[21.1034381,40.5966555],[21.10411,40.5964202],[21.1042223,40.5960087],[21.1043599,40.595832],[21.1049734,40.5953069],[21.1052743,40.5951794],[21.1054884,40.5951757],[21.1059355,40.5952725],[21.1061789,40.5951075],[21.1068076,40.5950512],[21.1071482,40.5948256],[21.1072527,40.594594],[21.1073288,40.5941996],[21.1072517,40.5929727],[21.1068745,40.5918554],[21.1070682,40.5906533],[21.1073422,40.5897775],[21.1073798,40.5894542],[21.1078266,40.5886817],[21.1078369,40.5883622],[21.1081711,40.5880103],[21.1082582,40.5876342],[21.1085372,40.5871909],[21.1085401,40.5868487],[21.1087292,40.5865742],[21.1093121,40.5864807],[21.1095519,40.5861264],[21.1097217,40.5860226],[21.1104711,40.5859063],[21.1106874,40.5858216],[21.1107799,40.5853195],[21.1114046,40.5848037],[21.1123044,40.584484],[21.1128012,40.5844694],[21.1130121,40.5845107],[21.1135958,40.5843992],[21.1142874,40.5845246],[21.1144929,40.5846918],[21.1144639,40.5848172],[21.1142524,40.5851767],[21.1135915,40.5868085],[21.1125405,40.5876198],[21.1121742,40.5881691],[21.1126364,40.5886851],[21.1129171,40.5901242],[21.1133221,40.5903235],[21.113965,40.590209],[21.1146211,40.5898966],[21.1147343,40.5897373],[21.115466,40.5892062],[21.1157889,40.5891152],[21.1162213,40.5886756],[21.1162892,40.5884702],[21.1167337,40.5883011],[21.1168933,40.588161],[21.1173023,40.5879911],[21.1182609,40.5874025],[21.1187007,40.5873414],[21.1189849,40.5870513],[21.1195984,40.5867964],[21.1199901,40.5867521],[21.1205229,40.5864502],[21.1207857,40.5863847],[21.1212935,40.5863883],[21.1222077,40.586285],[21.1230195,40.5860891],[21.1242822,40.5861206],[21.1262632,40.5859357],[21.1267996,40.585823],[21.1273926,40.5854955],[21.127859,40.585363],[21.1288621,40.5848925],[21.1304335,40.5843371],[21.1307777,40.5843007],[21.1318398,40.5843271],[21.1331187,40.5839805],[21.1342037,40.5840255],[21.134477,40.5842665],[21.1345709,40.584557],[21.1353121,40.5846295],[21.1355142,40.5845984],[21.1357126,40.5846574],[21.1363788,40.5845478],[21.1370488,40.5846275],[21.1378467,40.5844807],[21.1381981,40.5842732],[21.1383089,40.5841679],[21.1383006,40.5840866],[21.1379627,40.5836999],[21.137949,40.5834654],[21.1388705,40.5829118],[21.1393251,40.5827789],[21.1395116,40.5828376],[21.1398779,40.5814506],[21.1406632,40.5815691],[21.1416964,40.5816893],[21.1416632,40.5819452],[21.1420862,40.5819692],[21.1423728,40.5821744],[21.1427295,40.5820932],[21.1432477,40.5818538],[21.1433557,40.581897],[21.1435476,40.5818297],[21.1438417,40.5824134]]},{"id":19931,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u0394\u03b5\u03bd\u03b4\u03c1\u03bf\u03c7\u03ce\u03c1\u03b9-\u039a\u03bf\u03c1\u03bf\u03bc\u03b7\u03bb\u03b9\u03ac","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 10","path":"MACEDONIA\/Makedonia_GP_Dendrochori_Koromilia","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":11629,"name_EN":"Gramos-Prespa: Dendrochori-Koromilia","description_EN":"Section 10","ascent_time":300,"descent_time":300,"marker":"Red_dots","level":11,"ascent":272,"descent":544,"maxelev":984,"minelev":690,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.14384 40.535,21.19591 40.58241)","views":0,"millestones":"0,21.1438390,40.5824134#1,21.1540767,40.5800737#2,21.1611016,40.5737309#3,21.1695415,40.5677110#4,21.1797638,40.5691808#5,21.1887766,40.5727145#6,21.1900304,40.5679235#7,21.1922075,40.5606410#8,21.1945284,40.5524978#9,21.1907950,40.5451291#10,21.1839780,40.5437696#11,21.1828652,40.5389721#11.6,21.1816269,40.5346495","x":21.18997,"y":40.5655853,"coor":[[21.143839,40.5824134],[21.1451433,40.5820223],[21.1457882,40.5819662],[21.146073,40.5819372],[21.147065,40.5818626],[21.1470866,40.5821874],[21.147222,40.5821728],[21.1480943,40.5821628],[21.1485861,40.582265],[21.1499239,40.5819198],[21.1512348,40.5808172],[21.1514605,40.5807868],[21.1519995,40.5808901],[21.1524865,40.5808301],[21.1530495,40.5806458],[21.1541501,40.5800425],[21.1540706,40.5798018],[21.1537567,40.5796274],[21.1537361,40.5795549],[21.1538469,40.5794495],[21.1545089,40.5791596],[21.1547865,40.5787431],[21.1548041,40.5785229],[21.156041,40.5777697],[21.1564695,40.5776047],[21.1566055,40.5775495],[21.1570657,40.5772816],[21.1572755,40.5770706],[21.1573349,40.5767838],[21.1577951,40.5762367],[21.1581488,40.5759752],[21.1589391,40.575166],[21.1590826,40.5751245],[21.1621103,40.5730237],[21.1628303,40.5725866],[21.1635919,40.5716145],[21.1645907,40.5709005],[21.1657439,40.5704424],[21.1660252,40.5702151],[21.1662787,40.569807],[21.1667514,40.5695214],[21.1671076,40.5691969],[21.1685394,40.5685745],[21.1687358,40.5683991],[21.1688199,40.5681985],[21.1690658,40.5679704],[21.1694654,40.567737],[21.1698994,40.5675855],[21.1709942,40.5678375],[21.1711598,40.5678326],[21.1721204,40.5674598],[21.1729173,40.567047],[21.1734809,40.5668446],[21.1739441,40.5667839],[21.1751704,40.5668319],[21.1759188,40.5670123],[21.1769286,40.5674334],[21.177749,40.5678677],[21.1782325,40.568447],[21.1787689,40.5688925],[21.1793003,40.5691757],[21.1797845,40.5691785],[21.1805357,40.5687285],[21.1812791,40.5686611],[21.1814472,40.5687642],[21.1822633,40.5690183],[21.182729,40.5694621],[21.1832334,40.5698256],[21.1840195,40.5699529],[21.1847274,40.5699702],[21.1856033,40.5702077],[21.1858166,40.5704741],[21.1858904,40.5707731],[21.1864668,40.5711115],[21.1868216,40.5711021],[21.1869164,40.571262],[21.1871958,40.5713589],[21.1872945,40.5715415],[21.1874449,40.5716172],[21.1877383,40.5716604],[21.1880605,40.5718664],[21.1880735,40.5721189],[21.1882426,40.5723121],[21.1885772,40.5725004],[21.1885712,40.5726444],[21.1887829,40.5726676],[21.1887689,40.5727753],[21.1886926,40.5731878],[21.1888145,40.5733799],[21.1886755,40.5735387],[21.1886834,40.573773],[21.1884085,40.5739915],[21.188501,40.5740388],[21.1890392,40.5738808],[21.189566,40.5739927],[21.1897557,40.5739207],[21.1898392,40.5738732],[21.1900136,40.5737694],[21.1901135,40.5734971],[21.1905787,40.5724906],[21.1908694,40.5714709],[21.1908765,40.5710207],[21.1907362,40.570702],[21.1900501,40.5701629],[21.189916,40.5699795],[21.1899248,40.5692051],[21.1900933,40.5688489],[21.1901586,40.5684182],[21.1897804,40.5670128],[21.189499,40.5666817],[21.1894646,40.5663747],[21.1897859,40.565752],[21.18997,40.5655853],[21.190808,40.5653175],[21.1911607,40.5650739],[21.1919766,40.5647695],[21.1921868,40.5645404],[21.1924058,40.5641044],[21.1926926,40.563742],[21.1927846,40.5635191],[21.1927436,40.5630858],[21.1926045,40.5627401],[21.1926475,40.562561],[21.192301,40.5623724],[21.1922041,40.5621539],[21.1917985,40.5616847],[21.1916574,40.5611048],[21.1918213,40.5608566],[21.1921227,40.5607108],[21.1925874,40.5603258],[21.1927641,40.5597716],[21.1928896,40.5595945],[21.1931589,40.5593669],[21.1938354,40.559005],[21.1941986,40.5585095],[21.1944758,40.5582685],[21.194639,40.5580383],[21.1949075,40.5578286],[21.19496,40.5577038],[21.1948156,40.5574841],[21.1947782,40.557249],[21.1948283,40.556899],[21.1947349,40.5565904],[21.1947786,40.5558259],[21.1947186,40.555284],[21.1948405,40.5549087],[21.194661,40.5543999],[21.1946786,40.5536978],[21.1945807,40.5534972],[21.1945191,40.5529913],[21.1945373,40.5514245],[21.1947268,40.5505644],[21.1944805,40.5505224],[21.1943427,40.550429],[21.1941816,40.5502675],[21.1940162,40.549705],[21.1935074,40.548882],[21.1932318,40.5486951],[21.1927382,40.5486381],[21.1925003,40.5483981],[21.1924917,40.5480376],[21.1922869,40.5478525],[21.191669,40.5479456],[21.1914274,40.5477956],[21.1907486,40.5462388],[21.1907971,40.5448259],[21.1908925,40.544522],[21.1900765,40.5439887],[21.1898811,40.5435786],[21.1895195,40.5431915],[21.1894055,40.5428104],[21.1895681,40.54231],[21.1897048,40.5422007],[21.1898258,40.5421316],[21.1898174,40.5420503],[21.1895712,40.5420083],[21.1894581,40.5418885],[21.1892709,40.5418479],[21.1885236,40.5424962],[21.1883562,40.5425462],[21.1882162,40.5425068],[21.1878501,40.5425969],[21.1875213,40.5425529],[21.1870476,40.5425864],[21.1867078,40.5425241],[21.1864925,40.5425909],[21.1860797,40.5425808],[21.1854809,40.5427824],[21.1848849,40.5432002],[21.1843739,40.5432778],[21.1842348,40.5434996],[21.184067,40.5435586],[21.1840244,40.5437287],[21.1837669,40.5439566],[21.1837255,40.5440997],[21.1838241,40.5442822],[21.1837481,40.5444065],[21.1837152,40.5449101],[21.1834604,40.5453542],[21.1831891,40.5455142],[21.1831658,40.5452254],[21.1834906,40.544801],[21.1834228,40.5444481],[21.1831642,40.5438563],[21.18336,40.5434107],[21.1834204,40.5430969],[21.1833461,40.542897],[21.1829997,40.5424291],[21.1828527,40.5419932],[21.1828803,40.5416156],[21.1832796,40.539977],[21.1831668,40.5396275],[21.1829225,40.5395404],[21.1831161,40.5392299],[21.1829821,40.5390465],[21.1825453,40.5387656],[21.1815444,40.5378585],[21.181093,40.5373611],[21.18101,40.5370888],[21.1809808,40.5362099],[21.1810144,40.5361117],[21.181469,40.5356004],[21.1815096,40.5353672],[21.181546,40.5348907],[21.1816269,40.5346495]]},{"id":19932,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u039a\u03bf\u03c1\u03bf\u03bc\u03b7\u03bb\u03b9\u03ac-\u039a\u03b1\u03c3\u03c4\u03bf\u03c1\u03b9\u03ac","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 11","path":"MACEDONIA\/Makedonia_GP_Koromilia_Kastoria","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":13511,"name_EN":"Gramos-Prespa: Koromilia-Kastoria","description_EN":"Section 11","ascent_time":320,"descent_time":320,"marker":"Red_dots","level":11,"ascent":648,"descent":706,"maxelev":1086,"minelev":636,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.18136 40.52094,21.26173 40.5411)","views":0,"millestones":"0,21.1816282,40.5346495#1,21.1850294,40.5385899#2,21.1925196,40.5401187#3,21.2009775,40.5363302#4,21.2060101,40.5365175#5,21.2093970,40.5324106#6,21.2129918,40.5297289#7,21.2210381,40.5281023#8,21.2317652,40.5287337#9,21.2413980,40.5330452#10,21.2424726,40.5287242#11,21.2463568,40.5255962#12,21.2510425,40.5257738#13.5,21.2616749,40.5222856","x":21.2275912,"y":40.5289618,"coor":[[21.1816282,40.5346495],[21.1823163,40.5346798],[21.1828271,40.5346022],[21.1833083,40.5349247],[21.183692,40.5351817],[21.1843177,40.5356023],[21.1844177,40.5354696],[21.1846855,40.535278],[21.185151,40.534875],[21.1851375,40.5350819],[21.1843485,40.5361615],[21.1843322,40.5371159],[21.1844117,40.5371899],[21.1845433,40.537148],[21.1848646,40.5365254],[21.1850201,40.5364751],[21.1850554,40.5370434],[21.1852982,40.5374457],[21.185042,40.5379258],[21.185027,40.5394116],[21.1858941,40.5404146],[21.1862296,40.5411433],[21.1863209,40.5412176],[21.1867852,40.5411523],[21.1888882,40.540501],[21.1894122,40.5398292],[21.1904725,40.5394587],[21.1909301,40.5392717],[21.1910598,40.5392748],[21.1911135,40.5393752],[21.1912093,40.539909],[21.1915724,40.5402601],[21.1917486,40.5402824],[21.1924623,40.5401556],[21.1927606,40.5399647],[21.1925527,40.5395724],[21.1925678,40.538645],[21.1927,40.5383059],[21.1928712,40.538166],[21.1941744,40.5374951],[21.1943506,40.5375174],[21.1946394,40.5376685],[21.1950271,40.537714],[21.1965959,40.5374638],[21.1985446,40.5374481],[21.1993209,40.5372327],[21.1999258,40.5371663],[21.2010004,40.5363097],[21.2032218,40.5351295],[21.2031909,40.5350207],[21.203028,40.5349627],[21.2025791,40.5349698],[21.2029076,40.5341671],[21.2029705,40.5337904],[21.2031461,40.5335424],[21.2032044,40.5334988],[21.203105,40.5338747],[21.2032111,40.5344447],[21.2034345,40.5344681],[21.2039204,40.5341376],[21.2040752,40.5341054],[21.2043207,40.5341653],[21.2046088,40.5343344],[21.2050352,40.5348672],[21.2053741,40.5358031],[21.2057032,40.5364056],[21.205922,40.536537],[21.2065657,40.5363904],[21.2070585,40.5361772],[21.207689,40.5357781],[21.2082916,40.5357656],[21.2087827,40.5355974],[21.2090998,40.5353528],[21.2093991,40.535252],[21.2102988,40.5351926],[21.2107638,40.535366],[21.211331,40.5353527],[21.2113819,40.5352638],[21.2113489,40.5349748],[21.2110758,40.5349592],[21.210587,40.5350735],[21.2098098,40.5350277],[21.2095776,40.534932],[21.2091201,40.5345787],[21.2090207,40.5344142],[21.2089629,40.5335301],[21.2093485,40.5327738],[21.2094344,40.5321273],[21.2091082,40.5314529],[21.2092633,40.5308441],[21.2090074,40.5299012],[21.2091986,40.5292753],[21.2091046,40.5286966],[21.2088129,40.5283293],[21.2088306,40.528073],[21.2099755,40.5289293],[21.2100254,40.5292097],[21.2104182,40.5294174],[21.2106948,40.5290097],[21.2109819,40.5289176],[21.2114684,40.5288213],[21.2118198,40.529172],[21.2123084,40.5293459],[21.2124594,40.5295207],[21.2128073,40.5295561],[21.2130688,40.5297966],[21.2137328,40.5300108],[21.2138292,40.5302473],[21.213798,40.530715],[21.2142707,40.5309876],[21.2144166,40.5311712],[21.2147328,40.5312329],[21.2149563,40.5315356],[21.2151965,40.5317215],[21.2153487,40.5317522],[21.215559,40.5312348],[21.2162134,40.5308273],[21.2163159,40.5306316],[21.2170754,40.5299653],[21.2175347,40.5297062],[21.2178046,40.5297172],[21.2180375,40.5297949],[21.2182333,40.5296284],[21.2188724,40.5293016],[21.219351,40.5288627],[21.2203414,40.5283191],[21.2216329,40.5279179],[21.2224989,40.5278126],[21.2233208,40.5276342],[21.2237003,40.5278775],[21.2238293,40.5278986],[21.2244689,40.5282473],[21.2247294,40.5285147],[21.2251468,40.5286959],[21.2259461,40.5287782],[21.2263507,40.5289861],[21.2266897,40.5290663],[21.2275912,40.5289618],[21.2281329,40.5289928],[21.2288291,40.5287123],[21.2294848,40.5285028],[21.2297773,40.5283072],[21.2306676,40.5284727],[21.2313387,40.5285158],[21.2322868,40.5289979],[21.2333214,40.5299594],[21.2338023,40.5303222],[21.2344383,40.5306437],[21.2350456,40.5310906],[21.2357775,40.5313784],[21.236712,40.5321934],[21.2368299,40.5321061],[21.2371041,40.5320406],[21.2380133,40.5323236],[21.2383437,40.532354],[21.2401053,40.5328645],[21.24058,40.5328038],[21.2409979,40.5329759],[21.2416425,40.5330904],[21.2419867,40.5330446],[21.2423509,40.5331523],[21.2427644,40.5331172],[21.2430157,40.5330331],[21.2433555,40.5330953],[21.2437145,40.5329777],[21.2443182,40.5329381],[21.2456656,40.53261],[21.2459317,40.5324542],[21.245345,40.532188],[21.245324,40.5318362],[21.2452098,40.5317434],[21.2450568,40.5317307],[21.2449912,40.5316031],[21.2446448,40.5314147],[21.2446382,40.5312884],[21.2444318,40.5311394],[21.2444594,40.5310409],[21.244392,40.5309583],[21.2444908,40.5308525],[21.2444878,40.5306363],[21.2445995,40.5305038],[21.2445803,40.5303953],[21.2437393,40.5301771],[21.2437722,40.5299527],[21.2434917,40.5298829],[21.2433111,40.5296804],[21.2430303,40.5296197],[21.2426261,40.5290606],[21.2424241,40.5288036],[21.2424742,40.5287327],[21.2424269,40.5284749],[21.2425721,40.5283883],[21.242403,40.5284022],[21.2421634,40.5283425],[21.2416217,40.5280233],[21.2412339,40.5276582],[21.241773,40.5278423],[21.2418428,40.5278124],[21.2419114,40.527724],[21.2422781,40.5279939],[21.2424052,40.5278258],[21.242761,40.5279289],[21.2430964,40.5278108],[21.243375,40.5279256],[21.2434067,40.5280164],[21.2435393,40.5279475],[21.2435157,40.5282352],[21.2438664,40.52823],[21.24432,40.528394],[21.2445581,40.5286338],[21.2448002,40.5286036],[21.2449904,40.5285721],[21.2450796,40.5284121],[21.2449624,40.5281031],[21.244983,40.5275991],[21.2452705,40.5269214],[21.2452451,40.5263894],[21.2456435,40.5258855],[21.2460525,40.5258412],[21.2461645,40.5256998],[21.2464903,40.5255274],[21.2466797,40.5255139],[21.2467601,40.5255698],[21.2468564,40.5257568],[21.2468107,40.5260079],[21.2468778,40.5260996],[21.2468708,40.5263246],[21.2469843,40.5264354],[21.2470248,40.5265985],[21.2470635,40.5267796],[21.2470145,40.5271117],[21.2471531,40.5274753],[21.2475415,40.528079],[21.2476654,40.5285143],[21.2477767,40.5286791],[21.2480188,40.52882],[21.24823,40.5291402],[21.2482226,40.5293202],[21.2483158,40.5293495],[21.2483781,40.5289816],[21.2485285,40.5287691],[21.2484429,40.5282626],[21.2492468,40.5268451],[21.2498597,40.5263283],[21.2502775,40.5262121],[21.2507522,40.5261514],[21.2509291,40.5258673],[21.2512467,40.5256047],[21.2515813,40.5255046],[21.2518533,40.525493],[21.2523014,40.5252154],[21.2530877,40.525036],[21.2533074,40.5248611],[21.2535086,40.5248478],[21.2536353,40.5246347],[21.2538732,40.5245277],[21.2541584,40.5244805],[21.25455,40.5239404],[21.2544815,40.5235964],[21.2543128,40.5233267],[21.2547845,40.5233379],[21.2554729,40.5232462],[21.2558601,40.522724],[21.2561637,40.522515],[21.2570628,40.5221761],[21.2571552,40.5219351],[21.2570778,40.5215189],[21.2567394,40.5211326],[21.2565918,40.5208183],[21.257475,40.521132],[21.2588201,40.5217224],[21.2596713,40.5219768],[21.2606534,40.5221532],[21.2616749,40.5222856]]},{"id":19933,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u039a\u03b1\u03c3\u03c4\u03bf\u03c1\u03b9\u03ac-\u0391\u03c0\u03cc\u03c3\u03ba\u03b5\u03c0\u03bf\u03c2","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 12","path":"MACEDONIA\/Makedonia_GP_Kastoria_Aposkepos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":8115,"name_EN":"Gramos-Prespa: Kastoria-Aposkepos","description_EN":"Section 12","ascent_time":190,"descent_time":180,"marker":"Red_dots","level":11,"ascent":473,"descent":226,"maxelev":901,"minelev":636,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.23986 40.52094,21.26173 40.55984)","views":0,"millestones":"0,21.2616779,40.5222856#1,21.2544711,40.5240542#2,21.2513332,40.5316594#3,21.2513039,40.5376604#4,21.2574734,40.5424370#5,21.2508259,40.5480505#6,21.2433921,40.5541476#7,21.2442080,40.5566890#8.1,21.2504653,40.5597191","x":21.2515957,"y":40.5474556,"coor":[[21.2616779,40.5222856],[21.2606563,40.5221533],[21.2596743,40.5219769],[21.258823,40.5217225],[21.2574779,40.5211321],[21.2565948,40.5208184],[21.2567424,40.5211326],[21.2570807,40.521519],[21.2571582,40.5219352],[21.2570657,40.5221762],[21.2561666,40.5225151],[21.255863,40.5227241],[21.2554758,40.5232463],[21.2547875,40.523338],[21.2543158,40.5233268],[21.2544844,40.5235965],[21.254553,40.5239404],[21.2541613,40.5244806],[21.2538885,40.5253253],[21.2537378,40.5255469],[21.2527588,40.5263703],[21.2512443,40.5276403],[21.2511359,40.52798],[21.2511345,40.5283042],[21.2517184,40.5286829],[21.2522501,40.5294296],[21.252273,40.5297364],[21.2521625,40.5301301],[21.2521883,40.5306532],[21.2519178,40.5310881],[21.2517712,40.5313278],[21.251525,40.5315741],[21.2510802,40.5317707],[21.2502635,40.5318233],[21.2500092,40.5319794],[21.2501025,40.5325851],[21.2499742,40.5328343],[21.25007,40.5330887],[21.2499757,40.5339512],[21.2502537,40.5349486],[21.2501977,40.5351634],[21.2499611,40.5354641],[21.2499812,40.5358654],[21.2499668,40.5359821],[21.2491943,40.5363961],[21.2487771,40.5364942],[21.2485651,40.5364802],[21.2485268,40.5365513],[21.2487199,40.536736],[21.2489986,40.5368508],[21.2503719,40.5370456],[21.2508857,40.5374722],[21.2512691,40.5376254],[21.2516318,40.5379944],[21.2517003,40.5383383],[21.251547,40.5386228],[21.2517125,40.538906],[21.2517962,40.5394574],[21.2516164,40.5403899],[21.2521767,40.5402051],[21.25313,40.5397279],[21.2535554,40.5395759],[21.2538539,40.5394929],[21.2538912,40.539737],[21.2540128,40.539938],[21.2544828,40.5401654],[21.2554902,40.5405046],[21.2561322,40.5411188],[21.2569605,40.5419402],[21.257769,40.542734],[21.2579349,40.542774],[21.2579439,40.5437109],[21.25772,40.5441605],[21.2568937,40.5447353],[21.2564175,40.5451203],[21.2563526,40.5455511],[21.2562618,40.5455265],[21.2559719,40.5455421],[21.2555192,40.5456394],[21.255026,40.5455737],[21.2547178,40.5456024],[21.2543175,40.5458631],[21.2537074,40.5460557],[21.2531748,40.5463763],[21.2530038,40.5465164],[21.2527878,40.5468895],[21.252605,40.5470293],[21.2518743,40.5472821],[21.2515957,40.5474556],[21.2514095,40.5476764],[21.2509546,40.5478277],[21.2507257,40.5482276],[21.2505694,40.5482959],[21.2501993,40.5486834],[21.2499118,40.5487846],[21.2498469,40.5489272],[21.2496777,40.5490223],[21.2497079,40.5491491],[21.2494197,40.5492683],[21.2491609,40.5495324],[21.2488498,40.549633],[21.2484133,40.5499109],[21.2482946,40.5499261],[21.2482784,40.5500338],[21.2481574,40.5501029],[21.2476701,40.5501814],[21.2476907,40.5502539],[21.2474721,40.5504018],[21.2470043,40.5505798],[21.2469155,40.5507309],[21.2465925,40.5508312],[21.2463138,40.5510047],[21.2464745,40.5511167],[21.2458722,40.5514085],[21.2457103,40.5516118],[21.2455791,40.5516447],[21.2452178,40.5523927],[21.2447901,40.5527428],[21.2445659,40.5530257],[21.2444977,40.5532492],[21.2438072,40.5536741],[21.2436302,40.5539581],[21.2429957,40.5544564],[21.2428342,40.5546507],[21.2418406,40.5549782],[21.2416054,40.5552428],[21.2412448,40.5553964],[21.241272,40.5555952],[21.241174,40.5556829],[21.2407994,40.5556019],[21.2406335,40.5556159],[21.2402829,40.5558147],[21.2406897,40.5557929],[21.2407583,40.5558486],[21.2406192,40.5560705],[21.240227,40.5561331],[21.240224,40.5562051],[21.2405167,40.5562662],[21.2401326,40.5564191],[21.2399991,40.556506],[21.2400205,40.5565605],[21.2406306,40.5566562],[21.2410708,40.5565766],[21.241372,40.556719],[21.2416537,40.5567617],[21.2418683,40.5564246],[21.2423756,40.5561485],[21.2427192,40.5561206],[21.2431587,40.5563473],[21.2433187,40.556189],[21.2436763,40.5561075],[21.2439307,40.5562396],[21.2442186,40.5567059],[21.2444347,40.5569092],[21.2444254,40.5577106],[21.2443472,40.5578889],[21.2446103,40.5580978],[21.2449459,40.5585517],[21.2450175,40.5588236],[21.2448478,40.5595041],[21.2445989,40.5598134],[21.2446063,40.5599217],[21.2446874,40.5599597],[21.2452442,40.5599189],[21.245833,40.5590953],[21.2462725,40.5587455],[21.2466058,40.5586814],[21.2470394,40.5587638],[21.2474678,40.5583957],[21.2476079,40.558435],[21.2478726,40.5586936],[21.2489953,40.5592517],[21.2495377,40.5595889],[21.2499569,40.5599052],[21.2501457,40.5599097],[21.2503274,40.5597969],[21.2504653,40.5597191]]},{"id":19934,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u0391\u03c0\u03cc\u03c3\u03ba\u03b5\u03c0\u03bf\u03c2-\u039a\u03bf\u03c1\u03ad\u03c3\u03c4\u03b5\u03b9\u03b1","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 13","path":"MACEDONIA\/Makedonia_GP_Aposkepos_Koresteia","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":13020,"name_EN":"Gramos-Prespa: Aposkepos-Koresteia","description_EN":"Section 13","ascent_time":325,"descent_time":315,"marker":"Red_dots","level":11,"ascent":582,"descent":670,"maxelev":1373,"minelev":789,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.2001 40.55925,21.25048 40.62352)","views":1,"millestones":"0,21.2504653,40.5597191#1,21.2440163,40.5642816#2,21.2410276,40.5718719#3,21.2429345,40.5796607#4,21.2422761,40.5848347#5,21.2475882,40.5912110#6,21.2474899,40.5990975#7,21.2402399,40.6024992#8,21.2344657,40.6075525#9,21.2247565,40.6041437#10,21.2219047,40.6115591#11,21.2189633,40.6181625#12,21.2089464,40.6214852#13,21.2001245,40.6230049","x":21.2469916,"y":40.5999571,"coor":[[21.2504653,40.5597191],[21.2503274,40.5597969],[21.2501457,40.5599097],[21.2499569,40.5599052],[21.2495377,40.5595889],[21.2489953,40.5592517],[21.2485497,40.5592006],[21.2481796,40.5592999],[21.2479392,40.5594022],[21.2477777,40.5595965],[21.2474648,40.5598818],[21.2476485,40.5600123],[21.2480518,40.5599949],[21.2476669,40.5601658],[21.2472997,40.5601931],[21.2467851,40.5606447],[21.2459033,40.5611596],[21.2453304,40.5615963],[21.2447079,40.563527],[21.2445036,40.5639004],[21.2441511,40.5641442],[21.2434482,40.564866],[21.2430477,40.5654149],[21.2428043,40.5655893],[21.2419903,40.5664841],[21.2417278,40.56741],[21.2416271,40.5675607],[21.2416452,40.5676963],[21.2415528,40.5678157],[21.2414329,40.5684343],[21.2415495,40.5691892],[21.2416653,40.569246],[21.2417586,40.5695635],[21.2414886,40.5698092],[21.2413343,40.5698551],[21.2407865,40.5700537],[21.2405667,40.5702286],[21.2405052,40.5710963],[21.2406449,40.5711717],[21.2406456,40.5714419],[21.2408341,40.5714554],[21.2408377,40.5716537],[21.2409432,40.5716742],[21.240903,40.5717904],[21.2410298,40.5718654],[21.2408823,40.5722943],[21.2410216,40.5726399],[21.2410135,40.5728378],[21.2413261,40.5732776],[21.2415113,40.5733721],[21.2416352,40.5735192],[21.2415735,40.573869],[21.2419408,40.57413],[21.2421871,40.5741719],[21.242578,40.5744064],[21.2427801,40.5746635],[21.2428973,40.5752607],[21.2428446,40.5753946],[21.2425986,40.5756319],[21.2424353,40.5759478],[21.2423644,40.5768108],[21.2417551,40.5775528],[21.24233,40.5779358],[21.242344,40.5781704],[21.2427872,40.5788835],[21.2427201,40.5793683],[21.243212,40.5800466],[21.2428607,40.5797995],[21.2424425,40.5796274],[21.242042,40.5793116],[21.2409441,40.5790061],[21.2407619,40.5791279],[21.2408238,40.5793455],[21.2411354,40.5798123],[21.241609,40.5800758],[21.2422992,40.5813894],[21.2422793,40.5818753],[21.2424157,40.5822929],[21.2424042,40.5825718],[21.2425407,40.5827012],[21.2425539,40.5829537],[21.2426671,40.5830735],[21.2425214,40.5831691],[21.2421809,40.5836924],[21.241964,40.5843718],[21.2424098,40.5850219],[21.2429203,40.5855385],[21.243177,40.5856167],[21.244119,40.5856932],[21.2445155,40.5858198],[21.2458175,40.586049],[21.2463744,40.5862965],[21.2468355,40.5865777],[21.2468594,40.5868575],[21.2469671,40.5871123],[21.246793,40.5879008],[21.2468811,40.5883442],[21.2467421,40.5885661],[21.2467147,40.5889437],[21.2466277,40.5890497],[21.2465922,40.5896254],[21.2466527,40.589879],[21.2472709,40.5906504],[21.2473509,40.5910035],[21.2475,40.5911692],[21.2480403,40.5914253],[21.2480684,40.5915161],[21.2480499,40.5917318],[21.2475202,40.592836],[21.2472822,40.5931636],[21.247252,40.593325],[21.2473147,40.5935247],[21.2479181,40.5943678],[21.2481771,40.5949684],[21.2482021,40.5957977],[21.2485005,40.5971649],[21.2487625,40.5976935],[21.2486197,40.5985818],[21.2485097,40.5986693],[21.2479645,40.5987103],[21.2476402,40.5988377],[21.2469916,40.5999571],[21.2467986,40.6000516],[21.2455562,40.5992293],[21.2448294,40.5990859],[21.2437566,40.5990243],[21.2431235,40.5991893],[21.2423377,40.5996209],[21.2415688,40.5996385],[21.2411955,40.5998097],[21.2410051,40.6001295],[21.240991,40.6007596],[21.2402132,40.6012815],[21.239973,40.601663],[21.2399795,40.6020775],[21.2405225,40.6029552],[21.2398166,40.6034517],[21.239652,40.603718],[21.2396128,40.6040954],[21.2398337,40.6047582],[21.2402218,40.6053799],[21.2402044,40.6055146],[21.2393479,40.6062237],[21.2382347,40.6068546],[21.2377649,40.6073298],[21.2374871,40.6074762],[21.237195,40.6075368],[21.2370437,40.6074791],[21.2366811,40.6071012],[21.2364126,40.6070227],[21.2361978,40.6070716],[21.2358553,40.6073516],[21.235279,40.607572],[21.2344053,40.607551],[21.2339832,40.6074689],[21.2335762,40.6075942],[21.2332225,40.6072615],[21.2321289,40.6071272],[21.2315364,40.6068788],[21.2311609,40.6068157],[21.2309292,40.6067021],[21.2304318,40.6067262],[21.2302208,40.6066851],[21.2299493,40.6063903],[21.2295531,40.6062547],[21.2288704,40.6056169],[21.2275619,40.6052522],[21.2266234,40.6047973],[21.2262833,40.6047351],[21.2259019,40.6045277],[21.2251111,40.6039323],[21.2247617,40.6038608],[21.2247575,40.6043921],[21.2249888,40.6053705],[21.2252593,40.6062597],[21.2255262,40.6066624],[21.2253047,40.6071615],[21.2256313,40.6078359],[21.2256434,40.6081154],[21.2254513,40.6087593],[21.2250378,40.6093258],[21.224344,40.6098135],[21.2237176,40.6103839],[21.2233548,40.6105823],[21.2230417,40.6110072],[21.2225103,40.6112826],[21.2221736,40.6117068],[21.2219657,40.6115352],[21.2213061,40.611794],[21.2211407,40.6120242],[21.2215964,40.6131476],[21.2218682,40.6134334],[21.2220895,40.613799],[21.2222614,40.6139292],[21.2222538,40.6143974],[21.2223957,40.61468],[21.2223536,40.6148412],[21.2219557,40.6150297],[21.2215958,40.6154444],[21.2216539,40.6157521],[21.2215762,40.6162005],[21.2216029,40.6166966],[21.2211154,40.6167659],[21.2204142,40.6166544],[21.2202554,40.6169208],[21.2202186,40.6175234],[21.2201896,40.6176533],[21.2201893,40.6177209],[21.2199586,40.6178684],[21.2187503,40.6182176],[21.2172384,40.6190459],[21.2167933,40.6192333],[21.216332,40.6192402],[21.2156084,40.6190156],[21.2153726,40.6190279],[21.2150801,40.6191875],[21.2146989,40.6192593],[21.2137948,40.6191114],[21.2136133,40.619125],[21.2132279,40.6192959],[21.2130516,40.619841],[21.2129061,40.6199276],[21.2126803,40.6199582],[21.2124875,40.619958],[21.211187,40.6205301],[21.2100737,40.6211517],[21.2089486,40.6214848],[21.2079713,40.6216773],[21.2075083,40.6217607],[21.2068662,40.6217271],[21.2065562,40.6217917],[21.2062055,40.6219813],[21.2059661,40.6223358],[21.2055881,40.6234616],[21.2053799,40.6236367],[21.2049426,40.6236351],[21.2037221,40.6231372],[21.2035168,40.6231007],[21.2033502,40.6230921],[21.2027667,40.62306],[21.2010932,40.6229383],[21.2001245,40.6230049]]},{"id":19935,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u039a\u03bf\u03c1\u03ad\u03c3\u03c4\u03b5\u03b9\u03b1-\u0392\u03b1\u03c4\u03bf\u03c7\u03ce\u03c1\u03b9","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 13","path":"MACEDONIA\/Makedonia_GP_Koresteia_Vatochori","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":9076,"name_EN":"Gramos-Prespa: Koresteia-Vatochori","description_EN":"Section 13","ascent_time":250,"descent_time":235,"marker":"Red_dots","level":11,"ascent":292,"descent":197,"maxelev":984,"minelev":776,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.14925 40.623,21.20012 40.67152)","views":0,"millestones":"0,21.2001245,40.6230049#1,21.1911942,40.6268135#2,21.1834869,40.6319655#3,21.1782475,40.6396100#4,21.1769940,40.6482741#5,21.1764819,40.6542068#6,21.1726609,40.6615852#7,21.1709149,40.6683974#8,21.1610539,40.6715352#9.1,21.1492926,40.6704975","x":21.1763303,"y":40.6547155,"coor":[[21.2001245,40.6230049],[21.1991043,40.6232233],[21.1987816,40.6233056],[21.1983089,40.6235508],[21.1974867,40.6239902],[21.195851,40.6240946],[21.1954502,40.6240668],[21.1952403,40.6239987],[21.1946836,40.6235663],[21.1946208,40.6240242],[21.1943924,40.6243969],[21.1925131,40.6262517],[21.192309,40.6264674],[21.1910516,40.6268511],[21.1905671,40.6268483],[21.1904065,40.6272948],[21.1902839,40.6273999],[21.190034,40.6274388],[21.1897894,40.6273158],[21.1897401,40.6273281],[21.1899301,40.6281614],[21.1896512,40.6288932],[21.1891316,40.6291597],[21.1887964,40.6292597],[21.1864955,40.6305637],[21.1859531,40.6310909],[21.1853838,40.6312886],[21.1851797,40.6316439],[21.1842939,40.6316223],[21.1834029,40.6320059],[21.1823721,40.632341],[21.1818358,40.6327242],[21.1813433,40.6331896],[21.1810489,40.6337228],[21.1809405,40.6343327],[21.1802473,40.6353515],[21.179576,40.6369744],[21.1789597,40.6375718],[21.1786999,40.6381239],[21.1784006,40.6390533],[21.1771906,40.6436354],[21.1769712,40.6457557],[21.1770749,40.6461005],[21.1776066,40.6469511],[21.17766,40.6473668],[21.1774631,40.6478303],[21.176823,40.6484271],[21.1765964,40.6487548],[21.1764459,40.6492375],[21.1764948,40.6497611],[21.176648,40.6500531],[21.1769526,40.6504028],[21.1792387,40.651999],[21.1794133,40.6523455],[21.1794566,40.6530536],[21.177968,40.6530172],[21.177492,40.6528074],[21.1774207,40.6528147],[21.1773697,40.6529035],[21.1773201,40.6531185],[21.1768057,40.6535382],[21.1766385,40.6538584],[21.1764914,40.6539809],[21.1764774,40.6543138],[21.1763752,40.6544914],[21.176442,40.6545921],[21.1763303,40.6547155],[21.1762221,40.6550371],[21.1761502,40.6551299],[21.1760409,40.6557577],[21.175698,40.6560376],[21.1752891,40.6561987],[21.1749427,40.6565595],[21.174934,40.6573249],[21.1751266,40.657807],[21.1748561,40.658611],[21.1737761,40.6595393],[21.1735729,40.6595884],[21.1730412,40.6595753],[21.1729784,40.6596639],[21.1730756,40.6601616],[21.1733527,40.6606008],[21.1732899,40.6606893],[21.1729164,40.6608513],[21.172634,40.661655],[21.1728499,40.6627051],[21.1730302,40.6629167],[21.1734575,40.6631658],[21.1732605,40.6636294],[21.172972,40.6640186],[21.1725306,40.6643861],[21.1721685,40.6645573],[21.1715015,40.6646671],[21.1712107,40.6648311],[21.1711402,40.6650996],[21.1711524,40.6656493],[21.1707591,40.6659999],[21.1705319,40.6663366],[21.1704073,40.6667659],[21.1705274,40.6670031],[21.1710691,40.6673406],[21.171238,40.6675429],[21.1714705,40.6676387],[21.17187,40.6677025],[21.1713439,40.668149],[21.1709197,40.6683907],[21.1704421,40.6690546],[21.1697732,40.6694885],[21.1698317,40.669607],[21.1697441,40.669722],[21.1692024,40.6699429],[21.1687476,40.670346],[21.1684225,40.6704822],[21.1681282,40.6707271],[21.1676328,40.6708906],[21.1675676,40.6710286],[21.166388,40.6714635],[21.1653942,40.6717453],[21.1648815,40.6718408],[21.1637553,40.6718807],[21.1627333,40.6717115],[21.1600252,40.6714107],[21.1588981,40.6712118],[21.1582252,40.6711772],[21.1569349,40.6711994],[21.1550094,40.6714132],[21.1530676,40.6714554],[21.152143,40.6713875],[21.1516432,40.671231],[21.1508774,40.6711581],[21.1507878,40.6710388],[21.1506118,40.6707282],[21.1492926,40.6704975]]},{"id":19936,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u0392\u03b1\u03c4\u03bf\u03c7\u03ce\u03c1\u03b9-\u039c\u03b9\u03ba\u03c1\u03bf\u03bb\u03af\u03bc\u03bd\u03b7","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 14","path":"MACEDONIA\/Makedonia_GP_Vatochori_Mikrolimni","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":19037,"name_EN":"Gramos-Prespa: Vatochori-Mikrolimni","description_EN":"Section 14","ascent_time":535,"descent_time":505,"marker":"Red_dots","level":11,"ascent":1187,"descent":1224,"maxelev":1751,"minelev":826,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.10289 40.6706,21.15341 40.74698)","views":3,"millestones":"0,21.1492926,40.6704975#1,21.1520892,40.6773654#2,21.1411839,40.6801359#3,21.1310865,40.6840653#4,21.1200691,40.6865685#5,21.1113699,40.6844427#6,21.1095277,40.6903699#7,21.1051582,40.6979338#8,21.1127676,40.7023337#9,21.1171654,40.7097092#10,21.1235110,40.7122826#11,21.1298650,40.7071978#12,21.1389794,40.7103688#13,21.1468714,40.7139597#14,21.1437726,40.7201568#15,21.1426380,40.7280398#16,21.1377698,40.7353686#17,21.1314615,40.7419565#18,21.1216130,40.7464353#19,21.1144063,40.7448694","x":21.1162803,"y":40.7071729,"coor":[[21.1492926,40.6704975],[21.1506644,40.6707295],[21.1509519,40.6710609],[21.1513238,40.6710791],[21.1520101,40.6711861],[21.1519143,40.6720484],[21.1519751,40.6728425],[21.1525703,40.673866],[21.1529558,40.6753706],[21.1531635,40.6757721],[21.1530773,40.6761302],[21.1531519,40.6766004],[21.1528543,40.6767012],[21.152378,40.6770497],[21.1520428,40.6774197],[21.1516334,40.6775897],[21.1514011,40.6777641],[21.1506859,40.6778906],[21.1504681,40.6782815],[21.1489656,40.6787803],[21.1485706,40.6788877],[21.14681,40.6791143],[21.1450306,40.6795026],[21.1443413,40.6795757],[21.143411,40.6797508],[21.1420694,40.6798617],[21.1408348,40.6802364],[21.1404824,40.6804528],[21.1397179,40.680623],[21.1392508,40.6807556],[21.138932,40.6810179],[21.138296,40.6812273],[21.1375444,40.68165],[21.1366747,40.6817905],[21.1357682,40.6822364],[21.13557,40.6821684],[21.13547,40.682292],[21.1352188,40.6823578],[21.1352149,40.6824478],[21.1351078,40.6824631],[21.1347519,40.6827605],[21.1339603,40.6830111],[21.1335608,40.6829471],[21.1331683,40.6832706],[21.1322726,40.6834645],[21.1317371,40.6838115],[21.1310393,40.6840824],[21.1305541,40.6843585],[21.1302186,40.6844583],[21.1298754,40.6844587],[21.1295292,40.6845312],[21.1292481,40.6847404],[21.1283146,40.6849873],[21.1275198,40.6853098],[21.127174,40.6853733],[21.1266053,40.6856653],[21.1249688,40.6857507],[21.12443,40.6858993],[21.1231653,40.6858678],[21.1229739,40.6859171],[21.1224058,40.6859209],[21.1220198,40.6860914],[21.1217815,40.6861305],[21.1215503,40.6862779],[21.1208137,40.6863496],[21.1196753,40.6866814],[21.1181436,40.6868053],[21.1172421,40.6865846],[21.1168299,40.6865383],[21.1166377,40.6866055],[21.1163788,40.6865721],[21.1160126,40.6868331],[21.115888,40.6867039],[21.1153159,40.6865275],[21.1151297,40.6861805],[21.1149065,40.6858687],[21.1147899,40.6858298],[21.1146498,40.685511],[21.1138794,40.684447],[21.1135645,40.68434],[21.1129823,40.6843975],[21.1127476,40.6846258],[21.1126737,40.6849662],[21.1126139,40.6849827],[21.1124417,40.6849964],[21.1123829,40.6847158],[21.1118532,40.6843782],[21.1116255,40.6844446],[21.1113895,40.6844297],[21.1112068,40.6845512],[21.1106458,40.6846633],[21.110411,40.6846213],[21.1102058,40.6847153],[21.1100684,40.684883],[21.1100725,40.6850632],[21.1101734,40.6851918],[21.1100564,40.6851619],[21.110006,40.6852327],[21.110034,40.6854045],[21.1102855,40.685609],[21.1103616,40.685764],[21.1101746,40.6859845],[21.1102157,40.6861296],[21.1097371,40.6862527],[21.1097672,40.6866498],[21.1100791,40.6870989],[21.1100954,40.6872705],[21.109965,40.6872762],[21.1099178,40.6875452],[21.1097068,40.6877741],[21.1093597,40.6878645],[21.1089957,40.6878014],[21.1086506,40.6878468],[21.1083757,40.6881821],[21.1082687,40.6884677],[21.1085385,40.6890689],[21.1091337,40.6895341],[21.1098392,40.6899121],[21.1100182,40.6901508],[21.1098465,40.6902906],[21.10938,40.690405],[21.1091862,40.6905082],[21.1091477,40.6905793],[21.1093038,40.6907994],[21.1090494,40.6909371],[21.1088451,40.6912833],[21.1087264,40.6918387],[21.1084052,40.6924251],[21.1082342,40.6925469],[21.1081155,40.6931024],[21.1078182,40.6934102],[21.1074495,40.693455],[21.1072564,40.6935402],[21.1068775,40.6938189],[21.1065767,40.6942077],[21.1065516,40.6945133],[21.1063413,40.6947242],[21.1062068,40.6950991],[21.1062218,40.6952976],[21.106121,40.6954392],[21.1062529,40.6959469],[21.1061734,40.6961431],[21.1058421,40.696414],[21.1056144,40.6964803],[21.1055477,40.696929],[21.1053094,40.6972382],[21.105345,40.6975093],[21.1052316,40.6976686],[21.1050215,40.6984199],[21.1050713,40.6986373],[21.1049776,40.6988872],[21.1050919,40.6989801],[21.1051027,40.6992776],[21.105,40.6995182],[21.1057492,40.6997892],[21.1062002,40.7003049],[21.1065883,40.7009091],[21.1071101,40.7011564],[21.1082317,40.7012205],[21.1095697,40.7009298],[21.1102353,40.7008654],[21.1109395,40.7010002],[21.1113897,40.7012636],[21.111717,40.7016321],[21.1120567,40.7017127],[21.1127537,40.7022885],[21.1129196,40.7028331],[21.1130371,40.703426],[21.1136853,40.7040367],[21.1140174,40.7045674],[21.1142199,40.7049237],[21.1142688,40.7054609],[21.1139732,40.7054535],[21.1144543,40.7056051],[21.114953,40.7058427],[21.115147,40.7060097],[21.1152113,40.7061644],[21.1155193,40.7064334],[21.1157543,40.7067455],[21.1162803,40.7071729],[21.1171313,40.7080228],[21.1172151,40.7082771],[21.1171055,40.708459],[21.1169157,40.7087425],[21.1171777,40.7098029],[21.1169763,40.7103563],[21.1170687,40.7106828],[21.1170406,40.7110604],[21.1173235,40.7121843],[21.1174314,40.7125878],[21.1178776,40.7132205],[21.1180687,40.7134009],[21.1184907,40.71347],[21.1190069,40.7133027],[21.1191817,40.7130909],[21.1194568,40.7130257],[21.1196278,40.7129039],[21.1198168,40.712089],[21.1201746,40.7120259],[21.120333,40.7119217],[21.1205664,40.7119726],[21.123536,40.7122809],[21.1241673,40.7121885],[21.1243273,40.7120979],[21.1252106,40.7116516],[21.1254928,40.7111452],[21.1258797,40.7109567],[21.1261237,40.7105125],[21.1264873,40.7103144],[21.1271982,40.7091972],[21.1273941,40.7087697],[21.1276311,40.7084874],[21.1278145,40.7080777],[21.1281437,40.7078517],[21.1282603,40.7075934],[21.1283794,40.7073262],[21.1287313,40.7068485],[21.1288377,40.7068512],[21.1288827,40.7069063],[21.1287302,40.707425],[21.1287847,40.7075344],[21.1291795,40.7074361],[21.1295309,40.7072467],[21.1296702,40.707034],[21.1297755,40.7070637],[21.1298646,40.707192],[21.1298718,40.7073002],[21.1293231,40.7076739],[21.1292235,40.7077885],[21.1292567,40.7078434],[21.1305873,40.7080026],[21.1312405,40.708226],[21.1323954,40.7083448],[21.1325562,40.7084568],[21.1327978,40.7088952],[21.1338529,40.7094078],[21.134801,40.7096565],[21.1354154,40.7096808],[21.1362457,40.7099176],[21.1363639,40.7099205],[21.1363776,40.7098758],[21.1375222,40.7101834],[21.1387472,40.7103219],[21.1394982,40.7104756],[21.1410324,40.7111036],[21.1415221,40.7112779],[21.1423025,40.7112972],[21.1436554,40.7112136],[21.1446227,40.7112916],[21.1453044,40.7111284],[21.1456255,40.7109832],[21.1460748,40.7112735],[21.146445,40.711751],[21.1466315,40.7118187],[21.1473495,40.7124669],[21.1473642,40.7129222],[21.1472407,40.7133514],[21.1472371,40.7137116],[21.1470868,40.7139061],[21.1468236,40.7139716],[21.1464449,40.713692],[21.1462797,40.7136789],[21.1461588,40.713739],[21.1460415,40.7142675],[21.1463149,40.7145175],[21.146334,40.714626],[21.146188,40.7152709],[21.1459006,40.7159033],[21.1454397,40.7161621],[21.1452683,40.7165722],[21.1449477,40.7168705],[21.1445318,40.7171844],[21.1441236,40.7173184],[21.1441537,40.7174453],[21.1444764,40.7176514],[21.1442394,40.7179338],[21.1442549,40.7181233],[21.1443934,40.7182078],[21.144652,40.7182502],[21.1447428,40.7183425],[21.1445202,40.7188414],[21.1448737,40.7191564],[21.1449065,40.7194094],[21.1447749,40.7197754],[21.1444501,40.7201727],[21.1442113,40.7202208],[21.1437642,40.7201557],[21.1432172,40.7202142],[21.1430367,40.7202818],[21.1434748,40.7208331],[21.1437588,40.7213895],[21.1438097,40.7218591],[21.1437546,40.7223171],[21.1434634,40.7227603],[21.1436002,40.72316],[21.1434583,40.7239851],[21.1434933,40.7242742],[21.1433259,40.7247834],[21.1430737,40.7248672],[21.1433206,40.7249094],[21.1435708,40.726172],[21.1432131,40.7267847],[21.1430847,40.7272949],[21.1427076,40.7278079],[21.1425834,40.7282192],[21.1421555,40.728812],[21.1413803,40.7294954],[21.141195,40.7302293],[21.1410099,40.7304049],[21.1405622,40.730628],[21.1397302,40.7312558],[21.1394234,40.7318922],[21.1392307,40.7323828],[21.1395315,40.7329082],[21.1396344,40.733271],[21.1399071,40.733539],[21.1398595,40.7337089],[21.139501,40.7340603],[21.1383347,40.7347519],[21.1375517,40.7356152],[21.1369001,40.7361755],[21.1367573,40.7364106],[21.1365175,40.7372017],[21.1366688,40.7376468],[21.1365905,40.737816],[21.1361595,40.7382016],[21.1357326,40.7387675],[21.135441,40.7389404],[21.1352669,40.7391342],[21.1349641,40.7396221],[21.134773,40.7402118],[21.134525,40.7406109],[21.1341102,40.7406186],[21.1335614,40.7408256],[21.1329151,40.740679],[21.1314485,40.7419575],[21.1312523,40.7421148],[21.1307382,40.7422281],[21.1292461,40.742227],[21.1289263,40.7423676],[21.1275591,40.7434279],[21.1269964,40.7438462],[21.1257316,40.7446163],[21.125362,40.7448368],[21.1243307,40.7451353],[21.1236672,40.745416],[21.1208431,40.7468362],[21.1197677,40.7473317],[21.1194097,40.7473948],[21.1190437,40.7473677],[21.1180984,40.7471819],[21.1173496,40.7466949],[21.1168489,40.7463356],[21.1165882,40.7461219],[21.1161693,40.7458367],[21.1156593,40.7455808],[21.1150861,40.7453368],[21.1147168,40.7452195],[21.1144063,40.7448694]]},{"id":19939,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u039a\u03bf\u03bc\u03bd\u03b7\u03bd\u03ac\u03b4\u03b5\u03c2-\u0399\u03b5\u03c1\u03bf\u03c0\u03b7\u03b3\u03ae","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 8","path":"MACEDONIA\/Makedonia_GP_Komninades_Ieropigi","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":16257,"name_EN":"Gramos-Prespa: Komninades-Ieropigi","description_EN":"Section 8","ascent_time":420,"descent_time":400,"marker":"Red_dots","level":11,"ascent":758,"descent":605,"maxelev":1182,"minelev":771,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(20.99537 40.5207,21.08938 40.57582)","views":0,"millestones":"0,20.9979354,40.5183597#1,21.0044690,40.5250407#2,21.0101853,40.5324568#3,21.0149208,40.5360820#4,21.0220110,40.5411053#5,21.0264047,40.5352285#6,21.0364616,40.5344992#7,21.0471166,40.5362992#8,21.0545512,40.5385155#9,21.0603140,40.5362602#10,21.0626025,40.5441222#11,21.0699277,40.5504345#12,21.0789635,40.5551469#13,21.0856639,40.5615127#14,21.0829142,40.5677896#15,21.0856852,40.5708493#16.3,21.0807199,40.5780106","x":21.0558915,"y":40.5390371,"coor":[[20.9979354,40.5183597],[20.9983377,40.5193159],[20.9984959,40.5198965],[20.9985781,40.5201688],[20.9998202,40.5206109],[21.0002767,40.5206408],[21.0004629,40.5206997],[21.0015035,40.5211861],[21.0019213,40.5215842],[21.0021775,40.5216629],[21.0023345,40.5218471],[21.0026422,40.5231521],[21.0032316,40.5236988],[21.0039629,40.5242402],[21.0041761,40.5244889],[21.0048192,40.5256855],[21.0060264,40.5266716],[21.0063935,40.5271765],[21.0063063,40.5275435],[21.0065188,40.5278868],[21.0068141,40.5281466],[21.0072183,40.5288777],[21.0076316,40.5291406],[21.007948,40.5299864],[21.0084596,40.5301618],[21.0086195,40.5302831],[21.0088573,40.5307756],[21.0093125,40.5311567],[21.0093554,40.5315181],[21.0098684,40.5319277],[21.0099008,40.5322618],[21.0103588,40.5325799],[21.0103886,40.5327067],[21.0103046,40.5330018],[21.0106014,40.5334958],[21.0109227,40.5337023],[21.0114713,40.5338426],[21.0115579,40.5337548],[21.0113207,40.5335145],[21.0113027,40.5333879],[21.0113884,40.5333181],[21.0115881,40.5333412],[21.0121966,40.5337263],[21.0125695,40.533835],[21.0128421,40.5340762],[21.0132964,40.5342141],[21.0133899,40.5347659],[21.0134677,40.534876],[21.0137946,40.5351682],[21.0137417,40.5355632],[21.0133254,40.5361649],[21.012846,40.5366704],[21.0129092,40.5368161],[21.0131926,40.5368144],[21.013556,40.5366077],[21.0140349,40.5364579],[21.014451,40.5361264],[21.0153402,40.5360413],[21.0159417,40.5357867],[21.0165675,40.5357848],[21.0170602,40.5355904],[21.0177039,40.5357151],[21.0183835,40.5363632],[21.018479,40.53687],[21.0187545,40.5375797],[21.0190385,40.5378302],[21.0194893,40.538049],[21.0199552,40.5384573],[21.0201427,40.5390206],[21.0201691,40.5394896],[21.0203223,40.5397638],[21.0203335,40.5400433],[21.0204088,40.5402074],[21.0206281,40.5403211],[21.0212028,40.540408],[21.0215076,40.5407221],[21.0221359,40.5411977],[21.0227321,40.5413302],[21.0235556,40.5413964],[21.0236949,40.5411838],[21.0240017,40.5409215],[21.0243379,40.5407951],[21.0247656,40.5407341],[21.0249481,40.5406127],[21.0247493,40.5403013],[21.0245382,40.5397374],[21.0245458,40.5395665],[21.0246858,40.5393359],[21.0246466,40.5391548],[21.0242468,40.538586],[21.024296,40.5377407],[21.0243342,40.5376786],[21.0247061,40.5375441],[21.0248902,40.5373867],[21.0251359,40.5366364],[21.0255843,40.5361076],[21.0255273,40.5355296],[21.0258504,40.5353758],[21.0262951,40.5351981],[21.0266566,40.5352975],[21.0268727,40.5354832],[21.0272396,40.5359971],[21.0276152,40.536313],[21.028134,40.5363263],[21.0285578,40.5361166],[21.0290436,40.536075],[21.0293258,40.5361003],[21.0300183,40.5364604],[21.0306267,40.5365841],[21.0307935,40.536629],[21.0314879,40.5365432],[21.0322954,40.5361677],[21.0331953,40.5358395],[21.0340886,40.5353941],[21.0355353,40.5349809],[21.0364241,40.5346345],[21.0364925,40.534393],[21.0365717,40.5343906],[21.0373084,40.5340942],[21.0374381,40.5340975],[21.0383168,40.5346515],[21.0389433,40.5349018],[21.0394471,40.5349867],[21.0400037,40.534947],[21.0406256,40.5347648],[21.0413392,40.5348641],[21.042511,40.5350608],[21.0432905,40.5350537],[21.0441207,40.5349669],[21.0445404,40.5350857],[21.0450177,40.5353186],[21.0456395,40.5356768],[21.04658,40.5360341],[21.0477237,40.5366038],[21.0504115,40.5372309],[21.050845,40.537197],[21.0509916,40.5370836],[21.0510538,40.5367429],[21.0510071,40.5361923],[21.0512383,40.5357659],[21.051181,40.5354582],[21.0513331,40.5354891],[21.0516787,40.5358177],[21.0519263,40.5360942],[21.0523066,40.5361714],[21.0532267,40.5367264],[21.0538661,40.5377605],[21.0543216,40.5381414],[21.0545747,40.5385622],[21.0548137,40.5387664],[21.0550798,40.5391605],[21.0554716,40.5394587],[21.0558128,40.5394854],[21.0558915,40.5390371],[21.0560291,40.5388605],[21.0562327,40.5387936],[21.0561459,40.5386202],[21.0562638,40.5379793],[21.0561,40.5371374],[21.0564432,40.5368489],[21.0566083,40.5365829],[21.0566343,40.5364485],[21.0567672,40.5363798],[21.0573143,40.5362857],[21.0575918,40.5362838],[21.0583367,40.5362577],[21.0584924,40.5362076],[21.0587613,40.5362685],[21.0589393,40.536246],[21.0590376,40.5361585],[21.0591799,40.5361441],[21.0592106,40.5359827],[21.0596045,40.5356145],[21.060253,40.535631],[21.0604704,40.5355194],[21.0604472,40.535726],[21.0601665,40.535935],[21.0604031,40.5364635],[21.0603217,40.537299],[21.0599404,40.5376496],[21.0593767,40.5378514],[21.0593138,40.5379399],[21.0593445,40.5380488],[21.059482,40.5381423],[21.0601726,40.5383581],[21.0608569,40.5405282],[21.0612696,40.5413493],[21.0613594,40.5419416],[21.061714,40.542473],[21.0622023,40.5436158],[21.0629736,40.5446082],[21.0632527,40.5447054],[21.0638432,40.5447024],[21.063947,40.5450293],[21.0646447,40.5453848],[21.0651924,40.5458445],[21.0661069,40.5468045],[21.0666125,40.5471236],[21.066905,40.5474553],[21.0677125,40.5478901],[21.0678627,40.5482362],[21.0677841,40.5486846],[21.0678246,40.5488387],[21.0684576,40.5492151],[21.0686887,40.5494416],[21.069223,40.5501847],[21.0697475,40.5503422],[21.0713761,40.5511761],[21.0718031,40.5516733],[21.0720611,40.5517159],[21.0725863,40.5515851],[21.0728214,40.5516091],[21.0730661,40.5522278],[21.0735364,40.5526],[21.0740413,40.5532072],[21.074698,40.5533139],[21.0752296,40.5537147],[21.0753858,40.5538943],[21.0761383,40.554134],[21.0766519,40.5545434],[21.0773542,40.5546872],[21.0782247,40.5547633],[21.0784835,40.5548915],[21.0791642,40.55526],[21.0797478,40.5556891],[21.0800197,40.5564976],[21.0800843,40.5571837],[21.0802114,40.5575202],[21.0810189,40.5585044],[21.0815782,40.5589509],[21.0821489,40.5589968],[21.0826927,40.5593663],[21.0830522,40.5597897],[21.0835556,40.5598925],[21.0837172,40.5599777],[21.0843804,40.560751],[21.0847926,40.5608875],[21.0851138,40.5608866],[21.0853064,40.5608014],[21.0854228,40.5608404],[21.0855063,40.5613649],[21.0857219,40.5615685],[21.0868472,40.5617635],[21.0874101,40.5626199],[21.0875144,40.563807],[21.0870773,40.5641112],[21.0866826,40.5643309],[21.0862145,40.5643686],[21.0859109,40.5647528],[21.0858351,40.5647599],[21.0857309,40.5649824],[21.0854397,40.5651867],[21.0853116,40.5654177],[21.0844458,40.5660443],[21.0841964,40.5664028],[21.0842142,40.5665383],[21.0843431,40.5666677],[21.0837069,40.5667417],[21.0831485,40.5670879],[21.083037,40.5677516],[21.0827378,40.5678431],[21.0822274,40.5681725],[21.0824313,40.5682362],[21.0830526,40.5680177],[21.0835206,40.5681196],[21.0838784,40.5680385],[21.0841769,40.5680461],[21.083083,40.568757],[21.0829191,40.5689961],[21.0829144,40.569104],[21.0829702,40.5691775],[21.0832424,40.5691664],[21.0842912,40.5689497],[21.0843688,40.5690958],[21.0848472,40.5695041],[21.0856578,40.5704208],[21.0849971,40.5704041],[21.0844096,40.5706055],[21.0842458,40.570786],[21.0849428,40.570673],[21.0855882,40.5707703],[21.0860603,40.5711605],[21.0856314,40.571573],[21.0854503,40.5723431],[21.0853977,40.5727381],[21.0851595,40.5733265],[21.0848395,40.5736247],[21.0848521,40.5738772],[21.0849604,40.5741051],[21.0849978,40.5743312],[21.0841359,40.5748093],[21.0836286,40.5747965],[21.0834477,40.574882],[21.0831587,40.57528],[21.0828528,40.5755245],[21.0828091,40.5757125],[21.0826212,40.57596],[21.0822212,40.5761931],[21.0819617,40.5764567],[21.0819806,40.5765653],[21.0821907,40.5766246],[21.0828184,40.5765865],[21.0828869,40.5766422],[21.0814797,40.5772191],[21.0813241,40.5774269],[21.0812358,40.5775552],[21.0807199,40.5780106]]},{"id":19940,"author":"AnaDigit","name_GR":"\u0393\u03c1\u03ac\u03bc\u03bf\u03c2-\u03a0\u03c1\u03ad\u03c3\u03c0\u03b1: \u039c\u03b9\u03ba\u03c1\u03bf\u03bb\u03af\u03bc\u03bd\u03b7-\u0386\u03b3\u03b9\u03bf\u03c2 \u0393\u03b5\u03c1\u03bc\u03b1\u03bd\u03cc\u03c2","description_GR":"\u03a3\u03ba\u03ad\u03bb\u03bf\u03c2 15","path":"MACEDONIA\/Makedonia_GP_Mikrolimni_AgiosGermanos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":14883,"name_EN":"Gramos-Prespa: Mikrolimni-Agios Germanos","description_EN":"Section 15","ascent_time":385,"descent_time":375,"marker":"Red_dots","level":11,"ascent":486,"descent":290,"maxelev":1067,"minelev":825,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(21.11036 40.7461,21.16406 40.83824)","views":0,"millestones":"0,21.1144054,40.7448694#1,21.1206570,40.7514824#2,21.1248462,40.7582173#3,21.1257454,40.7664253#4,21.1247785,40.7739485#5,21.1273665,40.7816082#6,21.1345604,40.7864723#7,21.1371184,40.7931214#8,21.1366123,40.8017766#9,21.1410840,40.8097807#10,21.1387992,40.8156575#11,21.1400315,40.8224116#12,21.1433079,40.8293129#13,21.1520020,40.8339674#14,21.1542385,40.8375265#14.9,21.1591025,40.8394478","x":21.1400237,"y":40.8089023,"coor":[[21.1144054,40.7448694],[21.1147159,40.7452194],[21.115085,40.7453367],[21.1156582,40.7455808],[21.1154996,40.7457434],[21.1155076,40.7458337],[21.116374,40.7466119],[21.1167583,40.7469278],[21.1172647,40.7475439],[21.1176884,40.7478787],[21.1176645,40.7479637],[21.1175809,40.748529],[21.1177857,40.7487233],[21.1179791,40.7487957],[21.1185542,40.7490532],[21.1191666,40.749681],[21.1195818,40.7502948],[21.1201616,40.7503363],[21.120082,40.7510549],[21.1205427,40.7514672],[21.1209785,40.7515231],[21.1213468,40.7514963],[21.1213528,40.7516315],[21.1215244,40.751798],[21.121933,40.7524837],[21.1220704,40.7525952],[21.1222123,40.7525987],[21.122135,40.7532678],[21.1222234,40.7534141],[21.1225871,40.7534952],[21.1228144,40.7537171],[21.1235159,40.7547524],[21.1235807,40.7548981],[21.123564,40.7550913],[21.1239911,40.7556244],[21.1241275,40.7556773],[21.1241122,40.755812],[21.1239628,40.7565289],[21.1238406,40.7566159],[21.1234715,40.7566607],[21.1234093,40.7567312],[21.1234303,40.7568488],[21.1237232,40.7571984],[21.1244884,40.757276],[21.125066,40.758772],[21.1255059,40.7590082],[21.1259621,40.7599653],[21.1259883,40.7601821],[21.1258469,40.7604398],[21.125979,40.7609474],[21.1264135,40.761859],[21.126586,40.7625298],[21.1267474,40.7626329],[21.1266568,40.7628107],[21.1263816,40.7628759],[21.1261412,40.7632302],[21.1259575,40.7633698],[21.1257971,40.7640683],[21.1256339,40.7642804],[21.125465,40.7646274],[21.1253777,40.7650036],[21.1255895,40.7655853],[21.1257207,40.7663902],[21.1257989,40.7665002],[21.1264237,40.7665698],[21.1269305,40.7667671],[21.1267669,40.7669341],[21.1267431,40.7672127],[21.126822,40.7684036],[21.1270768,40.7693647],[21.1270432,40.7698682],[21.1267317,40.7710494],[21.1266745,40.7715523],[21.1265889,40.7716132],[21.1262114,40.7715768],[21.1261144,40.7716284],[21.1259114,40.7727943],[21.1258914,40.7729829],[21.1257408,40.7731773],[21.1250501,40.7738086],[21.1247715,40.7739503],[21.1245492,40.7741609],[21.1241409,40.7748352],[21.1240364,40.775337],[21.1234696,40.7766649],[21.1234391,40.7770964],[21.1236461,40.7775159],[21.1237774,40.7780416],[21.1237599,40.7783114],[21.1239746,40.7788526],[21.125504,40.7805345],[21.1267485,40.7813491],[21.1279586,40.7818656],[21.1280652,40.7818097],[21.1278978,40.7816254],[21.1275028,40.7814445],[21.1274517,40.7813621],[21.1280338,40.7816018],[21.1284557,40.7822608],[21.1291547,40.7830888],[21.1304578,40.7844182],[21.1311145,40.7849615],[21.1323184,40.7856219],[21.1333659,40.7862019],[21.1341561,40.7862621],[21.13446,40.7863597],[21.1350702,40.7870503],[21.1352736,40.787168],[21.1371256,40.7879165],[21.1376521,40.7880737],[21.1378621,40.7883716],[21.1379048,40.7884808],[21.1381269,40.7886889],[21.138355,40.7888973],[21.1384252,40.788917],[21.1385428,40.7890505],[21.1385866,40.7894119],[21.1389084,40.7899468],[21.1384911,40.7902291],[21.1374733,40.7904741],[21.1374571,40.7920048],[21.1371092,40.7927663],[21.1371194,40.7934691],[21.1365622,40.7954007],[21.1364212,40.7956494],[21.1357777,40.7962819],[21.1357044,40.7969916],[21.135608,40.7972775],[21.1356368,40.7977105],[21.1361333,40.7991189],[21.1363515,40.7995566],[21.1364142,40.8000266],[21.1363574,40.8005205],[21.1365231,40.8014613],[21.136737,40.8022502],[21.1376049,40.8032896],[21.137925,40.8039775],[21.1384011,40.8050341],[21.138776,40.8062414],[21.1390519,40.8067166],[21.1391712,40.8072509],[21.1391664,40.8076381],[21.1395907,40.8084953],[21.1399066,40.8085932],[21.1400237,40.8089023],[21.1403796,40.8091723],[21.1409952,40.8094668],[21.1410977,40.8098386],[21.1412533,40.8100812],[21.1413555,40.810462],[21.1414696,40.8105639],[21.1417847,40.8106798],[21.1424455,40.8107502],[21.1425361,40.81082],[21.142668,40.811116],[21.1427101,40.8126212],[21.1427948,40.8128575],[21.1427554,40.8129465],[21.1426625,40.8131784],[21.1422256,40.8135774],[21.1419759,40.8141476],[21.1416529,40.8144098],[21.1410274,40.8146195],[21.1396314,40.8148281],[21.1396934,40.815316],[21.1399604,40.8154487],[21.139704,40.8156225],[21.1396478,40.8157697],[21.13854,40.8156161],[21.1385743,40.8157836],[21.1382303,40.8160633],[21.1382282,40.8163874],[21.1379703,40.8165972],[21.1380344,40.8167609],[21.1377768,40.8175111],[21.1377758,40.8186369],[21.1376908,40.8189591],[21.1376837,40.8194002],[21.1373013,40.8197465],[21.1367868,40.82013],[21.1366614,40.820289],[21.1366797,40.8204156],[21.137278,40.8211149],[21.137658,40.8213766],[21.1380329,40.8217552],[21.1383611,40.8218444],[21.1396134,40.8219475],[21.1398948,40.8222967],[21.1405925,40.8228905],[21.1407803,40.8232104],[21.1407596,40.823417],[21.1406326,40.823612],[21.1402649,40.8238911],[21.1401046,40.8243105],[21.1401332,40.8244733],[21.141436,40.8253342],[21.1417619,40.8259773],[21.1417305,40.8261566],[21.1419519,40.8265224],[21.1419686,40.8266849],[21.1416727,40.8269478],[21.1413999,40.8269501],[21.1412433,40.8270092],[21.140986,40.827201],[21.1409695,40.8273087],[21.1413671,40.8277148],[21.1418354,40.8278525],[21.1422381,40.8283038],[21.1423275,40.8284321],[21.1427675,40.8286772],[21.1429068,40.8290229],[21.1430883,40.829158],[21.1433301,40.8293262],[21.143753,40.8294177],[21.1442987,40.8294132],[21.144753,40.8293254],[21.1451669,40.8293536],[21.1452995,40.8293029],[21.1454504,40.8293787],[21.1457461,40.829395],[21.1460924,40.8298899],[21.1463633,40.8299327],[21.146651,40.8301379],[21.1469353,40.830145],[21.1471805,40.8302321],[21.1477955,40.8308238],[21.1479582,40.8308998],[21.1481604,40.8308868],[21.1483383,40.8311614],[21.1489324,40.8314103],[21.1491214,40.8317032],[21.1492941,40.8318246],[21.1500575,40.8319966],[21.1508919,40.8324495],[21.1511245,40.8328335],[21.1512328,40.8333496],[21.1513863,40.8336416],[21.152163,40.8340571],[21.1524828,40.8343442],[21.1525083,40.834579],[21.1523741,40.8346658],[21.1523155,40.8352047],[21.1521228,40.8355512],[21.1519641,40.8356554],[21.1519729,40.8357277],[21.1521873,40.8357059],[21.1526861,40.835412],[21.1528035,40.8351627],[21.1532657,40.8346157],[21.1531801,40.8343975],[21.1534232,40.8342594],[21.1535762,40.8340109],[21.1538328,40.8338326],[21.1540097,40.833855],[21.1541671,40.8340571],[21.1541266,40.8341731],[21.1539309,40.8343124],[21.1539525,40.8346372],[21.1541138,40.8347493],[21.1542563,40.8347438],[21.1545898,40.8349862],[21.1546684,40.8353664],[21.1546028,40.8357656],[21.1545854,40.8364497],[21.1547876,40.8366303],[21.1547956,40.8367206],[21.1546213,40.8369144],[21.1546105,40.8371663],[21.1543422,40.8373399],[21.1541905,40.8376108],[21.1542856,40.8378834],[21.1545939,40.8381612],[21.1548862,40.8382585],[21.1552668,40.8382318],[21.1554518,40.8383445],[21.1554039,40.8386315],[21.1555957,40.8388614],[21.1559213,40.8387344],[21.1563383,40.8386906],[21.1565615,40.8384619],[21.1572315,40.8380461],[21.1579669,40.8378526],[21.1585891,40.8377238],[21.1588653,40.8378342],[21.1596021,40.8379379],[21.1601391,40.8381673],[21.1598084,40.8386906],[21.1591025,40.8394478]]}],{"extent":[20.83124,40.32026,21.26173,40.83824],"advPath":"http:\/\/www.topoguide.gr\/adventure.php?l=el&ul=1&a=","style":{"default":{"color":"#ff612f","width":6,"action":{"type":"openurl"},"sort":{"type":"byname"}},"PELOPONNESE\/Pelop_Abeliona_Trail_1":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_2":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1c":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1a":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1b":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"Car_touring\/CAR_Rodos_Attavyros_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Attavyros_summit":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_36km_Lindos_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Kattavia_Skiadeni_loop":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"Car_touring\/CAR_Rodos_Lindos_Sport":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"MACEDONIA\/Makedonia_GP_Kiafa_Gramosta":{"url":"https:\/\/www.topoguide.gr\/mountains\/macedonia\/gramos_prespa_long_trail\/routes\/GP_KaliVrysi_Komninades.php","color":"#0306cc","width":6,"exclude":false,"useStyle":true},"MACEDONIA\/Makedonia_GP_Gramosta_NRP":{"url":"https:\/\/www.topoguide.gr\/mountains\/macedonia\/gramos_prespa_long_trail\/routes\/GP_Gramosta_NRP.php","color":"#03cc40","width":6,"exclude":false,"useStyle":true},"MACEDONIA\/Makedonia_GP_NRP_Kotyli":{"url":"https:\/\/www.topoguide.gr\/mountains\/macedonia\/gramos_prespa_long_trail\/routes\/GP_NRP_Kotyli.php","color":"#0306cc","width":6,"exclude":false,"useStyle":true}}}); function getPoiCollection(key, data, meta) { this.passedOl = undefined; this.modal = undefined; this.key = key; this.data = data; this.item = []; //this.meta = meta; this.gsMap = null; this.features = []; //this.lineFeatures = [] ; var self = this; //console.log(data); this.initOl = function (ol,modal) { this.passedOl = ol; this.modal = modal; this.source = new this.passedOl.source.Vector({ wrapX: false, noWrap: true }); this.layer = new this.passedOl.layer.Vector({ source: this.source, //clusterSource visible: true }); } this.registerMap = function (gsMap) { this.gsMap = gsMap; this.gsMap.map.addLayer(this.layer); this.createFeatures(); } this.createFeatures = function () { this.features = []; var self = this; for (var i in this.data) { //console.log(this.data[i]); var newItem = this.getItem(this.data[i]); newItem.style = this.getIconStyle(newItem); var f = this.gsMap.feature_from_coor(this.data[i].x, this.data[i].y, this.pointMsp(newItem)); //var s = this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 1, 5, "");//this.adventureIconPointStyle(this.data[i].activity_type,this.data[i].difficulty);//this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 0, 5, ""); f.setStyle(newItem.style); f.show = function () { // var div = document.getElementById("myModal"); self.modal.dom.innerHTML = '
'; setTimeout(function () { self.modal.show(); // self.passed$('#myModal').modal('show'); }, 200); } newItem.feature = f; this.item.push(newItem); this.features.push(f); } this.source.addFeatures(this.features); this.gsMap.registerOnZoomChangedFunction(function () { self.refresh(); }); this.refresh(); } this.zoomTo = function () { this.gsMap.map.getView().fit(this.gsMap.ll2xy(this.meta.extent), this.gsMap.map.getSize()); } this.pointMsp = function (item) { var modal = this.modal; return { width: item.width, height: item.height, photoPath: item.photoPath, name: item.name, description: item.description, parent: this, click: [function (s, f, l) { //var div = document.getElementById("myModal"); var self = f.get('msp'); //#34b0ff modal.dom.innerHTML = '
' + '
' + self.name.replace("
", ": ") + '
' + self.parent.getImagetItem(self.photoPath, self.width, self.height) + '
' + self.description + '
' + '
'; setTimeout(function () { modal.show(); // $('#myModal').modal('show'); }, 200); }] }; } this.poiIconPointStyle = function (activity_type, difficulty) { var iconpath = 'https://anadigit.fr/TopoMedia/Icons/activity_adv_loc/activity_' + activity_type + '_' + difficulty + '_adv_loc.png'; return new this.passedOl.style.Style({ image: new this.passedOl.style.Icon({ src: iconpath, //size: [liconsize, liconsize] scale: 0.5 })/*, stroke: new ol.style.Stroke({ color: (s_color ) ,width: 1+is301 + (map3.getZoom()-8) }) */}) } this.getIconStyle = function (myItem) { var icon_size = this.pop_info_adjust_size(myItem.type, this.gsMap.getZoom() - myItem.zoom_level) var icon_size_set = this.pop_info_adjust_size(myItem.type, this.gsMap.getZoom() - myItem.zoom_level) * icon_size / 100; var is = (icon_size > 0) ? icon_size : 9; var icon_index = myItem.icon_index; if (wpt_icon.anch_fraction_x[icon_index] >= 0) { var anch_x = wpt_icon.anch_fraction_x[icon_index]; var anch_y = wpt_icon.anch_fraction_y[icon_index]; } else { var anch_x = 0.5; var anch_y = 0.5; } if (wpt_icon.scale[icon_index] >= 0) { var scale = wpt_icon.scale[icon_index]; } else { if (icon_size_set > 0) { var scale = icon_size_set; } else { var scale = 0.3; } } scale = 0.2; var MarkerIcon = wpt_icon.url_s[icon_index]; var iconStyle = new this.passedOl.style.Style({ image: new this.passedOl.style.Icon(({ anchor: [anch_x, anch_y], anchorXUnits: 'fraction', anchorYUnits: 'fraction', //anchorYUnits: 'pixels', opacity: 0.95, src: MarkerIcon, scale: scale })) }); return iconStyle; } this.getItem = function (dat) { var type = dat.type * 1;//[3]*1; var icon = map_point_collection.get(type); var icon_index = icon.iconindex; var img_path = icon.path; return { image: dat.photo, name: dat.name, description: dat.description, link_en: dat.hlink_EN, type: dat.type * 1, dbid: dat.id, hlink: dat.hlink_GR, zoom_level: dat.zoom_level, width: dat.width * 1, height: dat.height * 1, owner: dat.owner, icon_index: icon_index, photoPath: img_path + dat.photo + '.jpg', thumb_path: img_path + 'thumbs/' + dat.photo + '.jpg', //tmpim:add_image(pop_info_tmp, fp.attributes.thumb_path,-230,3,-1,-1,null), path: (dat.type * 1 == 1) ? img_path + dat.photo + '.jpg' : "" } } this.pop_info_adjust_size = function (type, dl) { if (dl < 0) dl = 0; var new_size = 9 + (1.5 * dl); return new_size * 0.2; } this.refresh = function () { try { this.source.clear(); } catch (err) { } var zoom = this.gsMap.getZoom(); for (var i = 0; i < this.item.length; i++) { if (zoom >= this.item[i].zoom_level) this.source.addFeatures([this.item[i].feature]); } } this.getImagetItem = function (path, width, height) { /* PARADOXES - OLES OI EIKONES PIANOYN TO MEGISTO PLATOS - AN TO YPSOS EINEI MEGALYTERO TOY DIAUESIMOY H EIKONA KOVETAI KATV */ var minAvailableWidth = 568; //APO BOOTSTRAP, http://www.topoguide.gr/css/bootstrap.css, 5489, var maxAvailableHeight = browser.size()[1] - 250; var style = "", divStyle = ""; if (height > maxAvailableHeight) { var ratio = width / height; var renderWidth = maxAvailableHeight * ratio; var renderHeight = maxAvailableHeight; if (minAvailableWidth / ratio > maxAvailableHeight) divStyle += "height:" + renderHeight + "px;"; divStyle += "width:100%;"; style += "width:100%;"; } else { if (width < minAvailableWidth) style += "width:100%;"; } return '
'; } } var img_path = 'https://anadigit.fr/TopoMedia/map_points/img'; var map_point_collection = { 0: { iconindex: 14, path: img_path + "/Landscape/" }, 1: { iconindex: 17, path: img_path + "/Flora/" }, 2: { iconindex: 18, path: img_path + "/Animals/" }, 3: { iconindex: 19, path: img_path + "/Books/" }, 4: { iconindex: 20, path: img_path + "/Maps/" }, 5: { iconindex: 21, path: img_path + "/Apps/" }, 6: { iconindex: 22, path: img_path + "/Mushrooms/" }, 7: { iconindex: 23, path: img_path + "/Animals/" }, 8: { iconindex: 24, path: img_path + "/Animals/" }, 9: { iconindex: 25, path: img_path + "/Architecture/" }, 10: { iconindex: 26, path: img_path + "/Monuments/" }, 447: { iconindex: 38, path: img_path + "/Refuges/" }, 450: { iconindex: 41, path: img_path + "/Signposts/" }, 71: { iconindex: 36, path: img_path + "/Geology/" }, 72: { iconindex: 34, path: img_path + "/Geology/" }, 73: { iconindex: 35, path: img_path + "/Geology/" }, 204: { iconindex: 27, path: img_path + "/logos/" }, 206: { iconindex: 28, path: img_path + "/logos/" }, 200: { iconindex: 29, path: img_path + "/logos/" }, 201: { iconindex: 30, path: img_path + "/logos/" }, 205: { iconindex: 31, path: img_path + "/logos/" }, 202: { iconindex: 32, path: img_path + "/logos/" }, 203: { iconindex: 33, path: img_path + "/logos/" }, 301: { iconindex: 42, path: img_path + "/Beach/" }, 1001: { iconindex: 42, path: img_path + "/Water/" }, default: { iconindex: 28, path: "" } } map_point_collection.get = function (key) { return this[key] || this.default; } function wpt_icon_class() { this.count = 0; this.url = new Array(); this.url_s = new Array(); this.cx = new Array(); this.cy = new Array(); this.scx = new Array(); this.scy = new Array(); this.ix = new Array(); this.iy = new Array(); this.anch_fraction_x = new Array(); this.anch_fraction_y = new Array(); this.scale = new Array(); this.inwptwindow = new Array(); this.add = function (url, url_s, cx, cy, ix, iy, scx, scy, anch_fraction_x, anch_fraction_y, scale, inwptwindow) { this.count += 1; this.url[this.count] = "https://anadigit.fr/TopoMedia/" + url; this.url_s[this.count] = "https://anadigit.fr/TopoMedia/" + url_s; this.cx[this.count] = cx; this.cy[this.count] = cy; this.scx[this.count] = scx; //kentro simeiou gia xarti this.scy[this.count] = scy; this.ix[this.count] = ix; //offset sto icon list this.iy[this.count] = iy; this.anch_fraction_x[this.count] = anch_fraction_x; //offset sto icon list this.anch_fraction_y[this.count] = anch_fraction_y; this.scale[this.count] = scale; this.inwptwindow[this.count] = inwptwindow; } } var wpt_icon = new wpt_icon_class(); wpt_icon.add("Icons/WPT/pin_blue.png", "Icons/WPT/pin_blue_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/pin_green.png", "Icons/WPT/pin_green_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/pin_red.png", "Icons/WPT/pin_red_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/star_blue.png", "Icons/WPT/star_blue_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/star_green.png", "Icons/WPT/star_green_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/star_red.png", "Icons/WPT/star_red_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/lmk_red.png", "Icons/WPT/lmk_red_s.png", 32, 32, -3, 0, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/house_blue.png", "Icons/WPT/house_blue_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true);; wpt_icon.add("Icons/WPT/house_red.png", "Icons/WPT/house_red_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/monastery_red.png", "Icons/WPT/monastery_red_s.png", 32, 32, 5, 8, 11, 16, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/church_red.png", "Icons/WPT/church_red_s.png", 32, 32, 5, 8, 11, 16, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/anchor_blue.png", "Icons/WPT/anchor_blue_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/anchor_red.png", "Icons/WPT/anchor_red_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); //photo_points wpt_icon.add("Icons/WPT/landscape.png", "Icons/WPT/landscape.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("img/NAV_START.png", "img/NAV_START.png", 32 * 1.5, 42, -5, -48, 11, 11, 0.5, 1.0, 0.6, true); wpt_icon.add("img/NAV_END.png", "img/NAV_END.png", 32 * 1.5, 162, -5, -28, 11, 11, 0.5, 1.0, 0.6, true); wpt_icon.add("Icons/WPT/flora.png", "Icons/WPT/flora.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/bird.png", "Icons/WPT/bird.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/book.png", "Icons/WPT/book.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/map.png", "Icons/WPT/map.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/iphone.png", "Icons/WPT/iphone.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/mushroom.png", "Icons/WPT/mushroom.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/mammal.png", "Icons/WPT/mammal.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/turtle.png", "Icons/WPT/turtle.png", 30, 30, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/architecture.png", "Icons/WPT/architecture.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/monument.png", "Icons/WPT/monument.png", 28, 28, 5, 8, 16, 16); // pop_info wpt_icon.add("pop_info/Icons/pop_info_1.png", "pop_info/Icons/pop_info_1.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 27 wpt_icon.add("pop_info/Icons/pop_info_2.png", "pop_info/Icons/pop_info_2.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 28 wpt_icon.add("pop_info/Icons/pop_info_3.png", "pop_info/Icons/pop_info_3.png", 32, 32, 5, 8, 32, 32); // iconindex= 29 wpt_icon.add("pop_info/Icons/pop_info_4.png", "pop_info/Icons/pop_info_4.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 30 wpt_icon.add("pop_info/Icons/pop_info_5.png", "pop_info/Icons/pop_info_5.png", 32, 32, 5, 8, 32, 32); // iconindex= 31 wpt_icon.add("pop_info/Icons/pop_info_6.png", "pop_info/Icons/pop_info_6.png", 32, 32, 5, 8, 32, 32); // iconindex= 32 wpt_icon.add("pop_info/Icons/pop_info_7.png", "pop_info/Icons/pop_info_7.png", 32, 32, 5, 8, 32, 32); // iconindex= 33 wpt_icon.add("pop_info/Icons/pop_info_101.png", "pop_info/Icons/pop_info_101.png", 32, 32, 5, 8, 32, 32, 0.5, 0.5); // iconindex= 34 wpt_icon.add("pop_info/Icons/pop_info_102.png", "pop_info/Icons/pop_info_102.png", 32, 32, 5, 8, 32, 32); // iconindex= 35 wpt_icon.add("pop_info/Icons/pop_info_103.png", "pop_info/Icons/pop_info_103.png", 32, 32, 5, 8, 32, 32); // iconindex= 36 wpt_icon.add("Icons/WPT/POI_446_icon.png", "Icons/WPT/POI_446_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 37 wpt_icon.add("Icons/WPT/POI_447_icon.png", "Icons/WPT/POI_447_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 38 wpt_icon.add("Icons/WPT/POI_448_icon.png", "Icons/WPT/POI_448_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 39 wpt_icon.add("Icons/WPT/POI_449_icon.png", "Icons/WPT/POI_449_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 40 wpt_icon.add("Icons/WPT/POI_450_icon.png", "Icons/WPT/POI_450_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 41 wpt_icon.add("Icons/WPT/Fountain_blue.png", "Icons/WPT/Fountain_blue.png", 32, 32, 5, 8, 32, 32); // iconindex= 42 console.log('poi signature up to date');var poiCollection_gramos_prespa = new getPoiCollection("gramos_prespa",[],{});function createAdventureListWidgetContext(){};console.log('sort type: byname');function createAdventureListWidgetContext(){var divHere = (document.getElementById('pathListDivId'))?true:false;var style = document.createElement('style');style.type = 'text/css';style.innerHTML = '.advListItemWidgetStyleMona{background:#f5f5f5;overflow:hidden;position:relative;width:100%;height:45px;border-bottom:1px solid #fff;margin:0px;} .advListItemWidgetStyle{background:#fdfdfd;overflow:hidden;position:relative;width:100%;height:45px;border-bottom:1px solid #fff;margin:0px;} .advListItemWidgetStyleMona:hover{background:#dcdcbc;} .advListItemWidgetStyle:hover{background:#dcdcbc;}';if(divHere) document.getElementsByTagName('head')[0].appendChild(style);if(divHere) {document.getElementById('pathListDivId').innerHTML="
Απόσκεπος-Κορέστεια
Δενδροχώρι-Κορομηλιά
Γράμοστα-Πάρκο Εθνικής Συμφιλίωσης
Ιεροπηγή-Δενδροχώρι
Καλή Βρύση-Κομνηνάδες
Καστοριά-Απόσκεπος
Διάσελο Κιάφας-Γράμοστα
Κομνηνάδες-Ιεροπηγή
Κορέστεια-Βατοχώρι
Κορομηλιά-Καστοριά
Κοτύλη-Νεστόριο
Μικρολίμνη-Άγιος Γερμανός
Νεστόριο-Καλή Βρύση
Πάρκο Εθνικής Συμφιλίωσης-Κοτύλη
Βατοχώρι-Μικρολίμνη
";}else{console.log('adventure list widget activated but div missing. Requested id: pathListDivId');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["gramos_prespa"],pc:["gramos_prespa"],url: 'https://anadigit.fr/wms/wmsolv3xyz2.php?z={z}&x={x}&y={y}&t=15',showLogo: 0,showZoomTool: 0}; var overrideAfterLoad = function(map){ adventureCollection_gramos_prespa.zoomTo();}; var gsMapManager = this.gsMapManager; gsMapManager.create = function(mapDivId,options,afterLoad,beforeLoad){ if(typeof overrideUserOptions != "undefined") { for( var i in options) overrideUserOptions[i] = options[i]; options = overrideUserOptions; } if(typeof afterLoad != "undefined") { afterLoad = afterLoad }else{ if(typeof overrideAfterLoad != "undefined") afterLoad = overrideAfterLoad }; if(typeof beforeLoad != "undefined") { beforeLoad = beforeLoad }else{ if(typeof overrideBeforeLoad != "undefined") beforeLoad = overrideBeforeLoad }; return gsMapManager.create_dummy_function(mapDivId,options,afterLoad,beforeLoad); // return new gsMapObject(mapDivId,options,afterLoad); }