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_psiloritis = new getAdventureCollection("psiloritis",[{"id":16015,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u0386\u03b3\u03b9\u03bf\u03c2 \u03a5\u03ac\u03ba\u03b9\u03bd\u03b8\u03bf\u03c2-\u039d\u03af\u03b4\u03b1","description_GR":"\u0394\u03b9\u03ac\u03c3\u03c7\u03b9\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03bf\u03c1\u03bf\u03c0\u03b5\u03b4\u03af\u03bf\u03c5 \u03c4\u03b7\u03c2 \u039d\u03af\u03b4\u03b1\u03c2","path":"Crete\/Crete_Psiloritiis_E4_AgYakinthos_Nida","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":2,"length":13462,"name_EN":"Psiloritiis: E4 Aghios Yakinthos-Nida","description_EN":"Crossing the Nida plateau","ascent_time":250,"descent_time":245,"marker":"E4","level":12,"ascent":441,"descent":275,"maxelev":1501,"minelev":1175,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.8349 35.20362,24.89055 35.25123)","views":29,"millestones":"0,24.8619164,35.2493431#1,24.8714761,35.2500665#2,24.8820097,35.2498709#3,24.8893715,35.2459333#4,24.8863478,35.2391169#5,24.8869465,35.2355611#6,24.8795825,35.2325433#7,24.8797931,35.2265314#8,24.8750270,35.2212601#9,24.8655674,35.2178809#10,24.8583682,35.2142617#11,24.8559459,35.2099845#12,24.8457396,35.2080956#13.5,24.8346477,35.2067227","x":24.8787633,"y":35.2273091,"coor":[[24.8619164,35.2493431],[24.8621692,35.2491429],[24.8625411,35.2489689],[24.8628002,35.2485343],[24.8629658,35.2484677],[24.8631198,35.2484756],[24.8633274,35.2485598],[24.8640802,35.2490594],[24.8641793,35.2490767],[24.8645298,35.248966],[24.8648381,35.2490179],[24.8652579,35.2492133],[24.8657644,35.2492998],[24.8660639,35.2495501],[24.8663481,35.2494038],[24.8668521,35.249256],[24.8669955,35.2493],[24.8671191,35.2495516],[24.867296,35.2496495],[24.8685894,35.2497597],[24.8704682,35.2496831],[24.871152,35.2499036],[24.8719291,35.250297],[24.8730445,35.2506564],[24.8735767,35.2508306],[24.8740926,35.2509509],[24.8747188,35.2509193],[24.8756286,35.2507549],[24.8775878,35.2502358],[24.878961,35.2501627],[24.8805453,35.2502955],[24.8808852,35.2502209],[24.8815637,35.2499454],[24.8822714,35.2498276],[24.8823697,35.2497637],[24.8829414,35.2497776],[24.883668,35.2498805],[24.8842857,35.2500834],[24.8845276,35.2500906],[24.8855259,35.2501013],[24.8869053,35.2495863],[24.887235,35.2495839],[24.8882314,35.2492339],[24.8884061,35.2491245],[24.8885577,35.248916],[24.8894419,35.2473496],[24.889688,35.2467346],[24.8896077,35.2464287],[24.8893731,35.2460787],[24.8893701,35.2458083],[24.8907729,35.2444274],[24.8909891,35.2441012],[24.8908975,35.2437592],[24.8900514,35.2427736],[24.8897944,35.2423878],[24.8897398,35.2414144],[24.8893643,35.2408063],[24.8890248,35.2405428],[24.8880982,35.240234],[24.8875215,35.2397513],[24.8865612,35.2393707],[24.8863613,35.2391828],[24.8863126,35.2389397],[24.8864209,35.2387856],[24.8870315,35.2383483],[24.8876605,35.2375683],[24.8884467,35.2371027],[24.8885648,35.2368493],[24.888563,35.236687],[24.8885236,35.2360336],[24.8884081,35.235897],[24.887967,35.2353795],[24.8875286,35.234481],[24.8872786,35.2337255],[24.8870571,35.2335648],[24.8869471,35.2335566],[24.8865649,35.2337758],[24.8866103,35.2339783],[24.8870911,35.2347322],[24.8871383,35.2350294],[24.8867968,35.2359696],[24.8865028,35.2362152],[24.8862285,35.2362533],[24.8859092,35.2362016],[24.8848718,35.2358034],[24.8839268,35.2358103],[24.8816693,35.235394],[24.8812712,35.2351624],[24.8811469,35.2348477],[24.88183,35.2339952],[24.8817624,35.2338424],[24.8801269,35.2329977],[24.8795169,35.2324882],[24.8787117,35.2322055],[24.8785889,35.2320351],[24.8785046,35.2313504],[24.8783809,35.2312792],[24.878183,35.2312716],[24.8777562,35.231437],[24.877525,35.2313936],[24.8768934,35.2309113],[24.8764367,35.2303375],[24.8762235,35.2299333],[24.8761986,35.2296585],[24.8762805,35.2294189],[24.8764974,35.2291469],[24.8779808,35.2281172],[24.8787633,35.2273091],[24.8795582,35.2266361],[24.8798206,35.2265169],[24.8805994,35.226385],[24.8808181,35.2262843],[24.8809142,35.2260311],[24.8808532,35.2254725],[24.8804071,35.2245403],[24.8803937,35.224324],[24.8805649,35.2238899],[24.880463,35.2236111],[24.8803613,35.2234789],[24.879971,35.2229497],[24.8796275,35.2226907],[24.8793633,35.2226386],[24.8786498,35.2227068],[24.8781073,35.2223321],[24.8773584,35.2221752],[24.8766304,35.22191],[24.8758782,35.2214466],[24.875292,35.2212772],[24.8738955,35.2211791],[24.873631,35.2211089],[24.8733878,35.2209754],[24.8731102,35.2206979],[24.8729073,35.2202215],[24.8726578,35.2199482],[24.8713856,35.2191369],[24.8696965,35.218457],[24.8679242,35.2178205],[24.8674626,35.2178058],[24.8663876,35.2179758],[24.8656725,35.2178907],[24.8649363,35.2178216],[24.8642004,35.2178449],[24.8631669,35.2177801],[24.8627046,35.2177023],[24.8625933,35.2175678],[24.8625918,35.2174236],[24.8627658,35.21726],[24.8631918,35.2170225],[24.8633212,35.2167872],[24.8633079,35.2165709],[24.8632297,35.2164452],[24.8630312,35.2163835],[24.8623476,35.2165439],[24.8619077,35.2166395],[24.8610801,35.2162937],[24.8604415,35.216172],[24.8602195,35.2159572],[24.8599951,35.215517],[24.8592672,35.2152516],[24.8590436,35.2148925],[24.8583781,35.2142931],[24.8582695,35.2139558],[24.8584716,35.2133232],[24.8583826,35.2132246],[24.8576886,35.2130492],[24.8572049,35.2130166],[24.8564658,35.2127333],[24.8557646,35.2129185],[24.8555226,35.2128932],[24.8550568,35.2124817],[24.8549887,35.2122748],[24.854794,35.2115188],[24.8548119,35.2111219],[24.855624,35.2110441],[24.855719,35.2106737],[24.8558168,35.2105648],[24.856275,35.210255],[24.8570183,35.2098981],[24.8570939,35.2097803],[24.8570166,35.2097358],[24.8567212,35.2098551],[24.8559206,35.209987],[24.8549468,35.2103726],[24.8541784,35.2104321],[24.8536986,35.2103791],[24.8529711,35.2101498],[24.8518272,35.2100316],[24.8509042,35.2100111],[24.8504406,35.209807],[24.8500298,35.2093951],[24.8477333,35.2086943],[24.8465858,35.2082245],[24.8456725,35.2080866],[24.8453508,35.2077823],[24.8424276,35.2066305],[24.8414258,35.20643],[24.8395295,35.205776],[24.8389654,35.2054102],[24.8383077,35.2052817],[24.8373263,35.2049279],[24.836743,35.2048237],[24.8363911,35.2048532],[24.8360537,35.2047608],[24.8354532,35.2040526],[24.8353278,35.2040129],[24.8352003,35.2044286],[24.8346974,35.2046665],[24.8344689,35.2048845],[24.8344275,35.2051372],[24.834574,35.2054969],[24.834583,35.2057673],[24.8346407,35.2060374],[24.8345683,35.2064798],[24.8346477,35.2067227]]},{"id":16016,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u0391\u03bd\u03ce\u03b3\u03b5\u03b9\u03b1-\u0386\u03b3\u03b9\u03bf\u03c2 \u03a5\u03ac\u03ba\u03b9\u03bd\u03b8\u03bf\u03c2","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c4\u03b1 \u0391\u03bd\u03ce\u03b3\u03b5\u03b9\u03b1 \u03c3\u03c4\u03bf \u03bf\u03c1\u03bf\u03c0\u03ad\u03b4\u03b9\u03bf","path":"Crete\/Crete_Psiloritiis_E4_Anogia_AgYakinthos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":9098,"name_EN":"Psiloritiis: E4 Anogia-Aghios Yakinthos","description_EN":"Ascent from Anogia to Aghios Yakinthos","ascent_time":220,"descent_time":200,"marker":"E4","level":12,"ascent":564,"descent":93,"maxelev":1209,"minelev":728,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.85743 35.24912,24.89276 35.29222)","views":34,"millestones":"0,24.8825738,35.2915206#1,24.8888282,35.2872834#2,24.8878588,35.2827991#3,24.8915220,35.2787660#4,24.8827464,35.2753971#5,24.8744146,35.2736402#6,24.8704359,35.2667468#7,24.8635894,35.2616032#8,24.8582698,35.2568087#9.1,24.8619171,35.2493431","x":24.8742545,"y":35.2733268,"coor":[[24.8825738,35.2915206],[24.8828996,35.2914596],[24.8831752,35.2915207],[24.8833444,35.2919162],[24.8835546,35.2920319],[24.8837956,35.29194],[24.8838708,35.2917771],[24.8844239,35.2915725],[24.885028,35.2914959],[24.885424,35.291511],[24.8863111,35.2911709],[24.8864395,35.2908454],[24.8864898,35.2904122],[24.8864776,35.2903041],[24.8863134,35.2901791],[24.886079,35.2898652],[24.8858017,35.2896509],[24.8857558,35.2894709],[24.8859522,35.2893342],[24.8869606,35.2890202],[24.8881125,35.2877585],[24.8883741,35.2875492],[24.889281,35.2870195],[24.8895203,35.2867743],[24.8900077,35.2861531],[24.8906757,35.2859047],[24.8910796,35.2856313],[24.8917419,35.2846638],[24.8918055,35.284447],[24.8917139,35.2841231],[24.8914044,35.2839721],[24.8912067,35.2839915],[24.8901229,35.2844413],[24.8899143,35.2844699],[24.8897486,35.284399],[24.8894366,35.2840226],[24.8887988,35.2840183],[24.8883536,35.2835346],[24.88756,35.2833601],[24.8874269,35.2832529],[24.8874145,35.2831268],[24.8876322,35.2829268],[24.8879601,35.2827441],[24.8883657,35.2826239],[24.8891111,35.2825395],[24.8905627,35.2825469],[24.8913745,35.2823786],[24.892715,35.2818435],[24.8930315,35.2816247],[24.8931179,35.2814798],[24.8931142,35.2811463],[24.8928206,35.2804451],[24.8930388,35.2792894],[24.8929217,35.278632],[24.8925231,35.2783825],[24.8921376,35.2783222],[24.8918854,35.2783872],[24.8916577,35.2786774],[24.8914612,35.2788051],[24.8905817,35.2788206],[24.8902193,35.2788684],[24.8900226,35.278978],[24.8892338,35.2786727],[24.8887225,35.2781716],[24.8881147,35.2778965],[24.887417,35.2774328],[24.8872161,35.2771637],[24.8867407,35.2769238],[24.8845962,35.2768854],[24.8845693,35.2766894],[24.8843788,35.2763572],[24.884376,35.2761048],[24.8844734,35.2759598],[24.8835507,35.2755383],[24.8831096,35.2754152],[24.8820645,35.2753688],[24.88145,35.2754814],[24.8807468,35.2755226],[24.8803425,35.2756946],[24.8801028,35.2758947],[24.8795999,35.2761689],[24.8796319,35.2760785],[24.8789865,35.2763807],[24.8778879,35.2764699],[24.8777779,35.2764617],[24.8777106,35.2763449],[24.8771249,35.2760697],[24.8765066,35.2758307],[24.8761875,35.2758059],[24.8758804,35.2758803],[24.8757686,35.2757098],[24.8750029,35.2750571],[24.8751753,35.2747223],[24.8750316,35.2746512],[24.874537,35.2740281],[24.8743323,35.2733984],[24.8742545,35.2733268],[24.8740453,35.2732923],[24.8736992,35.2728079],[24.8734336,35.2726475],[24.872934,35.2721912],[24.8726576,35.272049],[24.8725459,35.2718875],[24.8724878,35.2715994],[24.8723544,35.2714561],[24.8721814,35.2715407],[24.8717965,35.2715345],[24.8715373,35.2709412],[24.8715214,35.2704815],[24.8713482,35.2697073],[24.8714971,35.2692374],[24.8715789,35.2686687],[24.8715145,35.2677856],[24.8714221,35.2673715],[24.8715506,35.267055],[24.8714286,35.2669476],[24.8708627,35.2668548],[24.8707016,35.2668176],[24.8706458,35.2667459],[24.8705586,35.2668187],[24.8704038,35.2667296],[24.8696504,35.266185],[24.8693079,35.2660342],[24.8691967,35.2659087],[24.8687563,35.2658488],[24.8685453,35.2656519],[24.8681035,35.2654658],[24.8680712,35.2655291],[24.8680797,35.2652946],[24.8678572,35.2650437],[24.8677023,35.2649547],[24.8672178,35.264886],[24.8671626,35.2648594],[24.867161,35.2647061],[24.8665942,35.2645231],[24.8663968,35.2645064],[24.8660092,35.2642387],[24.8658121,35.2643123],[24.8656353,35.2642234],[24.8654046,35.264243],[24.8654036,35.2641529],[24.8652933,35.2641176],[24.8653582,35.264018],[24.8652116,35.2636674],[24.865253,35.2634236],[24.8651508,35.2631178],[24.8652028,35.2628379],[24.8650346,35.2625325],[24.8649971,35.262109],[24.8649189,35.2619923],[24.8647734,35.261937],[24.8640147,35.2619244],[24.8636832,35.2617645],[24.8635376,35.2615131],[24.8637621,35.2609164],[24.8631218,35.2606594],[24.862877,35.2603817],[24.8627857,35.2600667],[24.8621079,35.2597673],[24.8618757,35.2596427],[24.8619098,35.2597506],[24.8617773,35.2596975],[24.8616647,35.2594458],[24.8614418,35.2591589],[24.8610661,35.2589722],[24.8608421,35.258577],[24.860765,35.2585686],[24.8605949,35.2580739],[24.8603523,35.2580035],[24.8600864,35.257807],[24.85986,35.2571864],[24.8594157,35.2567568],[24.8591426,35.2558751],[24.8589112,35.2559534],[24.8587364,35.2560538],[24.8584003,35.256498],[24.8583599,35.2568319],[24.8582941,35.2568504],[24.8581485,35.256599],[24.8577932,35.2562589],[24.8576791,35.2558629],[24.8575243,35.2557739],[24.8572975,35.2552503],[24.8573241,35.2546459],[24.8570321,35.2540529],[24.8576415,35.2534715],[24.8577252,35.2530652],[24.8579863,35.2528109],[24.8587031,35.2517283],[24.8596572,35.2504772],[24.8608926,35.2498373],[24.861396,35.2496353],[24.8619171,35.2493431]]},{"id":16017,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u039a\u03b1\u03bc\u03ac\u03c1\u03b5\u03c2-\u039d\u03af\u03b4\u03b1","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7 \u039d\u03af\u03b4\u03b1 (\u03ba\u03bf\u03bd\u03c4\u03ac \u03b1\u03c0\u03cc \u03c4\u03bf \u03c3\u03c0\u03ae\u03bb\u03b1\u03b9\u03bf \u039a\u03b1\u03bc\u03b1\u03c1\u03ce\u03bd)","path":"Crete\/Crete_Psiloritiis_E4_Kamares_Nida","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":3,"length":10131,"name_EN":"Psiloritiis: E4 Kamares-Nida","description_EN":"Ascent to Nida (by the Kamares cave)","ascent_time":295,"descent_time":260,"marker":"E4","level":11,"ascent":1150,"descent":356,"maxelev":1645,"minelev":580,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.81837 35.15269,24.84085 35.20683)","views":28,"millestones":"0,24.8182397,35.1528418#1,24.8228873,35.1572128#2,24.8249873,35.1619503#3,24.8213960,35.1683414#4,24.8249509,35.1739027#5,24.8313107,35.1726480#6,24.8343494,35.1758718#7,24.8383141,35.1830648#8,24.8409710,35.1912442#10.1,24.8346449,35.2067227","x":24.8246128,"y":35.1720812,"coor":[[24.8182397,35.1528418],[24.8183738,35.1530844],[24.8182859,35.153076],[24.8181784,35.1533021],[24.8182677,35.1534458],[24.8182372,35.1536984],[24.8179789,35.1542142],[24.817848,35.1542962],[24.8180909,35.1544298],[24.8179726,35.1546831],[24.8180516,35.1548899],[24.8179821,35.1549467],[24.8179631,35.1552354],[24.8181727,35.1553422],[24.8181846,35.1554323],[24.8187999,35.1554822],[24.8190535,35.1555887],[24.819152,35.155552],[24.8194488,35.1555861],[24.8194612,35.1557302],[24.8195709,35.1557205],[24.8195936,35.1557925],[24.8198021,35.1557911],[24.8210049,35.156387],[24.8212027,35.1564127],[24.8213663,35.1563034],[24.8219038,35.1562547],[24.8218728,35.1564443],[24.8223113,35.1563782],[24.8223339,35.1564411],[24.8222471,35.1565499],[24.8224559,35.1565666],[24.823168,35.1564084],[24.8229401,35.1566715],[24.822887,35.1568522],[24.8229536,35.1569238],[24.8228687,35.157213],[24.8229675,35.1572123],[24.8229148,35.1574381],[24.8230371,35.1575815],[24.822994,35.157663],[24.8237186,35.157658],[24.8238395,35.1576752],[24.8239287,35.1578099],[24.8235913,35.1581007],[24.823516,35.1582545],[24.8232316,35.1583647],[24.823276,35.1584094],[24.8232218,35.1584819],[24.8233759,35.158517],[24.8233984,35.1585709],[24.8232899,35.1587069],[24.8235093,35.1586874],[24.8235099,35.1587415],[24.8236199,35.1587588],[24.8240815,35.1588097],[24.8243356,35.1589613],[24.8231123,35.1596008],[24.8234978,35.1597244],[24.8232248,35.1598705],[24.8237081,35.1598853],[24.8239511,35.1600279],[24.8240841,35.1601532],[24.823996,35.1601268],[24.8240403,35.1601625],[24.8239422,35.1602353],[24.8244163,35.1604305],[24.8244168,35.1604846],[24.8245268,35.1605019],[24.8244727,35.1605834],[24.8247379,35.1607529],[24.8247507,35.1609331],[24.824644,35.1612404],[24.8246104,35.1611685],[24.8246138,35.1615112],[24.8250356,35.1619591],[24.8247936,35.1619157],[24.8248394,35.1621047],[24.8245326,35.1621609],[24.8245563,35.1623411],[24.8243592,35.1623965],[24.8243708,35.1624506],[24.8246016,35.162476],[24.8250325,35.1627436],[24.8249448,35.1627532],[24.8249797,35.1629514],[24.8246508,35.1629987],[24.824575,35.1630984],[24.8241654,35.1638586],[24.824007,35.1644818],[24.823758,35.1648352],[24.8237262,35.1649526],[24.8238935,35.165204],[24.8239884,35.1659066],[24.8237854,35.166467],[24.8234717,35.1669381],[24.8232303,35.1669577],[24.823176,35.1670122],[24.8231094,35.1669405],[24.8230219,35.1669772],[24.822817,35.1673483],[24.8226309,35.1674036],[24.8223011,35.1673608],[24.8221149,35.1674161],[24.8219087,35.167652],[24.8217011,35.1677616],[24.8215835,35.168078],[24.8214421,35.1682052],[24.8213887,35.1683588],[24.8211922,35.1684774],[24.8208017,35.1689489],[24.8203322,35.1692226],[24.8200516,35.1697114],[24.8202021,35.1696585],[24.820445,35.1697921],[24.8206035,35.1699872],[24.8213498,35.1700836],[24.8220951,35.1699433],[24.8234515,35.1705111],[24.8237168,35.1706897],[24.823939,35.1709406],[24.8244667,35.1717485],[24.8246128,35.1720812],[24.8245813,35.1722257],[24.8246617,35.1725768],[24.8248502,35.1727558],[24.8247734,35.1727654],[24.8247852,35.1728464],[24.8250406,35.1731242],[24.8249996,35.173413],[24.8248149,35.1736127],[24.824741,35.1739017],[24.8249496,35.1739003],[24.8250504,35.1740889],[24.8252938,35.1742676],[24.8254808,35.1743024],[24.82557,35.1744371],[24.825669,35.1744544],[24.825773,35.1749587],[24.8260286,35.1752635],[24.8263139,35.1752435],[24.8266013,35.1754219],[24.8266393,35.1759266],[24.8268941,35.1761412],[24.8269173,35.1762673],[24.8270608,35.1763385],[24.8270384,35.176298],[24.8271908,35.1761617],[24.8275843,35.1759787],[24.8277799,35.175779],[24.8276691,35.1756806],[24.8279202,35.1755346],[24.8284559,35.1752965],[24.82896,35.1751939],[24.8297574,35.1747646],[24.8300537,35.1747536],[24.8304254,35.1745797],[24.8307722,35.1741355],[24.8308147,35.1739909],[24.8307474,35.1738471],[24.8309393,35.1732868],[24.8313386,35.1725988],[24.8313645,35.1719043],[24.8312851,35.1716523],[24.8313718,35.1715436],[24.8316996,35.171379],[24.8317865,35.1712882],[24.8316106,35.1712714],[24.8318182,35.1711708],[24.8325537,35.1711387],[24.8327568,35.1710742],[24.83302,35.1711017],[24.8330633,35.1710383],[24.8331952,35.1710554],[24.8336359,35.1711966],[24.834133,35.1714817],[24.8343218,35.1716878],[24.8347842,35.1718109],[24.8349172,35.1719272],[24.8348185,35.1719369],[24.8347758,35.1720634],[24.8350538,35.1724041],[24.8349677,35.172567],[24.8348883,35.1733971],[24.8345331,35.1741029],[24.8345362,35.1744094],[24.8344169,35.1745545],[24.8343325,35.1748887],[24.8343849,35.1757179],[24.8343309,35.1758085],[24.8343991,35.1760334],[24.8342698,35.1762778],[24.8343812,35.1764303],[24.83434,35.1767011],[24.8344055,35.1766645],[24.8344293,35.1768357],[24.8343542,35.1770166],[24.8341033,35.1771806],[24.8340392,35.1773523],[24.8341613,35.1774777],[24.8343598,35.1775575],[24.8352698,35.178489],[24.8360077,35.1786913],[24.8361957,35.1788162],[24.8362744,35.178996],[24.8363476,35.1797079],[24.8364698,35.1798513],[24.8365157,35.1800403],[24.8365706,35.1800399],[24.8365964,35.1804094],[24.8368179,35.1805973],[24.8369642,35.1809389],[24.8374402,35.1813053],[24.837652,35.1816104],[24.8382495,35.1820391],[24.8382466,35.1828236],[24.8383253,35.1830034],[24.8382111,35.1836534],[24.838416,35.1843462],[24.8405211,35.186135],[24.8408334,35.1865927],[24.8409245,35.1869076],[24.8411949,35.188637],[24.841231,35.1900073],[24.8411081,35.1908648],[24.8404605,35.1927132],[24.8399679,35.1940759],[24.8396681,35.1946302],[24.8393215,35.1949775],[24.8382023,35.1962927],[24.8377812,35.197008],[24.8362073,35.1988493],[24.8359816,35.1993377],[24.8356183,35.2013961],[24.8353244,35.2040107],[24.8351968,35.2044264],[24.8346939,35.2046643],[24.8344654,35.2048822],[24.8344241,35.205135],[24.8345706,35.2054947],[24.8345802,35.2057673],[24.8346379,35.2060374],[24.8345656,35.2064798],[24.8346449,35.2067227]]},{"id":16018,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u03a1\u03bf\u03cd\u03b2\u03b1\u03c2-\u039d\u03af\u03b4\u03b1","description_GR":"\u0394\u03b9\u03b1\u03c3\u03ba\u03b5\u03bb\u03b9\u03c3\u03bc\u03cc\u03c2 \u03b1\u03c0\u03cc \u03c4\u03bf \u03b4\u03ac\u03c3\u03bf\u03c2 \u03c4\u03bf\u03c5 \u03a1\u03bf\u03cd\u03b2\u03b1 \u03c3\u03c4\u03b7 \u039d\u03af\u03b4\u03b1 \u03bc\u03ad\u03c3\u03c9 \u03c4\u03bf\u03c5 \u03954","path":"Crete\/Crete_Psiloritiis_E4_Rouvas_Nida","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":11469,"name_EN":"Psiloritiis: E4 Rouvas-Nida","description_EN":"Crossing the E4 from Rouvas Forest to Nida","ascent_time":275,"descent_time":265,"marker":"E4","level":12,"ascent":635,"descent":212,"maxelev":1482,"minelev":914,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.83444 35.16582,24.91485 35.20673)","views":29,"millestones":"0,24.9148500,35.1658203#1,24.9099343,35.1722188#2,24.9021909,35.1767444#3,24.8987725,35.1839029#4,24.8934876,35.1888552#5,24.8835465,35.1911561#6,24.8749888,35.1950159#7,24.8670941,35.1926027#8,24.8570589,35.1931886#9,24.8473958,35.1923936#10,24.8388740,35.1955148#11.5,24.8346456,35.2067249","x":24.8892044,"y":35.1896916,"coor":[[24.91485,35.1658203],[24.914387,35.1662093],[24.9138303,35.166502],[24.9134134,35.1665322],[24.9129604,35.166468],[24.9122312,35.1666832],[24.9121575,35.1668438],[24.9124112,35.166941],[24.9125098,35.1669223],[24.912479,35.1671209],[24.9126008,35.1672101],[24.9122982,35.1676452],[24.912209,35.1685025],[24.9118171,35.168812],[24.9118752,35.1690911],[24.9116897,35.1692007],[24.9116469,35.1693002],[24.9115773,35.1699499],[24.9112939,35.1701414],[24.9105573,35.1710486],[24.9103065,35.1712038],[24.9101232,35.1715117],[24.9099332,35.1721984],[24.9099477,35.1725139],[24.9100478,35.1726304],[24.9098742,35.172812],[24.9093608,35.1730593],[24.9091215,35.1732685],[24.9087013,35.173993],[24.9083961,35.1741936],[24.9080387,35.1746472],[24.9078742,35.1746664],[24.9078863,35.1747655],[24.9074591,35.1748589],[24.9069027,35.1751967],[24.9064552,35.1753759],[24.9059656,35.1757943],[24.9057709,35.1760572],[24.9054648,35.1761858],[24.9048705,35.176073],[24.904539,35.1758861],[24.9042968,35.1758338],[24.9039792,35.1759083],[24.9038155,35.1759997],[24.9034081,35.1760884],[24.9030449,35.176019],[24.9029486,35.1761189],[24.9029171,35.1762544],[24.9026232,35.176491],[24.9017504,35.1770115],[24.8999192,35.177512],[24.8994507,35.1778491],[24.8992778,35.1781028],[24.8991997,35.1783672],[24.8989166,35.1785857],[24.8988208,35.1788659],[24.8985493,35.1791384],[24.8983995,35.1795002],[24.8984042,35.179933],[24.8986385,35.1802648],[24.8988044,35.1803718],[24.8989056,35.1805784],[24.8989539,35.1809838],[24.8988004,35.1820039],[24.8988799,35.1832386],[24.898815,35.1833292],[24.8987669,35.1839427],[24.898434,35.1846305],[24.8975294,35.1852684],[24.8973672,35.185504],[24.8974229,35.1855667],[24.8974666,35.1855483],[24.8975083,35.1853497],[24.8971605,35.1856768],[24.8970728,35.1856955],[24.8971001,35.1861822],[24.8969701,35.1863455],[24.8967084,35.1865187],[24.8967097,35.186636],[24.896644,35.1866545],[24.8969441,35.1869769],[24.8964306,35.1872241],[24.8963023,35.1875406],[24.8960841,35.1876775],[24.8962163,35.1877126],[24.8959661,35.1879309],[24.8956425,35.1886591],[24.8952805,35.1886978],[24.8948048,35.1883858],[24.894859,35.1883223],[24.8947813,35.1882507],[24.8943851,35.1881725],[24.8940158,35.1885539],[24.8938073,35.1885735],[24.8935779,35.1886834],[24.8934802,35.1887923],[24.8934923,35.1888914],[24.8933274,35.1888746],[24.893164,35.189002],[24.8930096,35.18894],[24.8926505,35.1892492],[24.8924532,35.1892868],[24.8919949,35.1895606],[24.8916991,35.189635],[24.8913729,35.1899349],[24.8906055,35.1900668],[24.8896593,35.1899205],[24.8893805,35.1897264],[24.8892044,35.1896916],[24.888326,35.1897161],[24.887252,35.1899404],[24.8862334,35.1902003],[24.8844948,35.1909253],[24.8831035,35.1912601],[24.8828739,35.191361],[24.882711,35.1915335],[24.882475,35.1920582],[24.8821932,35.1924028],[24.8820222,35.1928459],[24.8816928,35.1928573],[24.8809111,35.1926827],[24.8804286,35.1927583],[24.8795691,35.193522],[24.8791194,35.1935793],[24.878682,35.1937629],[24.8784237,35.1942607],[24.87789,35.1946793],[24.8770128,35.1948299],[24.8767044,35.194751],[24.8764198,35.1948432],[24.8760577,35.1948729],[24.875598,35.1950295],[24.875257,35.1949869],[24.8747524,35.1950446],[24.8739751,35.1952847],[24.8734456,35.1950811],[24.8733142,35.1951181],[24.8732723,35.1953078],[24.8734726,35.1955498],[24.8732876,35.1957134],[24.8730142,35.1958236],[24.8724211,35.1958279],[24.8718556,35.195336],[24.87107,35.1948007],[24.870441,35.1945257],[24.8699129,35.1944483],[24.86968,35.1942426],[24.8696457,35.1941166],[24.8697215,35.1940079],[24.8693027,35.1938756],[24.8689256,35.1935357],[24.8686187,35.193601],[24.8684119,35.1937738],[24.8682574,35.1937118],[24.8677989,35.1929397],[24.8672901,35.1926097],[24.8668396,35.1925949],[24.8664648,35.1924713],[24.8659223,35.1920694],[24.8656356,35.1919633],[24.8648483,35.1922935],[24.8646178,35.1923132],[24.8642983,35.1922253],[24.8635838,35.1917773],[24.8631219,35.1917265],[24.8624115,35.1920652],[24.8614591,35.1923695],[24.8603387,35.1923685],[24.8588275,35.192803],[24.8580695,35.1927903],[24.8575325,35.1929113],[24.8568665,35.1932948],[24.8564638,35.1936493],[24.856146,35.1937146],[24.8554201,35.1936296],[24.854735,35.1932377],[24.8541642,35.1932688],[24.8540099,35.1932248],[24.8533698,35.1929317],[24.8528379,35.1924846],[24.8520537,35.1920754],[24.8509283,35.1915874],[24.8505325,35.1915541],[24.8502899,35.1914656],[24.8499173,35.1915404],[24.8495985,35.1915156],[24.8488775,35.1918993],[24.8483076,35.1920205],[24.8469513,35.192571],[24.8464339,35.1924574],[24.8459185,35.1925422],[24.8452572,35.1923214],[24.8442014,35.1921935],[24.8432792,35.192236],[24.8423049,35.1925584],[24.8416683,35.1925988],[24.8410983,35.19272],[24.8404612,35.1927154],[24.8399686,35.1940781],[24.8396695,35.1946325],[24.8393222,35.1949798],[24.8382037,35.196295],[24.8377826,35.1970102],[24.8362087,35.1988515],[24.835983,35.19934],[24.8356196,35.2013983],[24.8353251,35.2040129],[24.8351975,35.2044286],[24.8346946,35.2046665],[24.8344662,35.2048845],[24.8344248,35.2051372],[24.8345713,35.2054969],[24.8345809,35.2057696],[24.8346386,35.2060397],[24.8345663,35.206482],[24.8346456,35.2067249]]},{"id":16020,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u03a6\u03bf\u03c5\u03c1\u03c6\u03bf\u03c5\u03c1\u03ac\u03c2-\u03a4\u03af\u03bc\u03b9\u03bf\u03c2 \u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03c2","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03bc\u03ad\u03c3\u03c9 \u03c4\u03bf\u03c5 \u03ba\u03b1\u03c4\u03b1\u03c6\u03cd\u03b3\u03b9\u03bf\u03c5 \u03a4\u03bf\u03c5\u03bc\u03c0\u03c9\u03c4\u03cc\u03c2 \u03a0\u03c1\u03af\u03bd\u03bf\u03c2","path":"Crete\/Crete_Psiloritis_E4_Fourfouras_TimiosStavros","activity_type":33,"assistance":1,"difficulty":2,"scenic_value":4,"length":10732,"name_EN":"Psiloritis: E4 Fourfouras-Timios Stavross","description_EN":"Ascent to the summit via Toubotos Prinos refuge","ascent_time":375,"descent_time":275,"marker":"E4","level":12,"ascent":1966,"descent":11,"maxelev":2448,"minelev":475,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.7144 35.20166,24.77908 35.22661)","views":124,"millestones":"0,24.7142666,35.2114871#1,24.7210559,35.2068605#2,24.7277704,35.2045474#3,24.7356633,35.2023065#4,24.7405713,35.2070778#5,24.7473643,35.2076395#6,24.7577275,35.2075931#7,24.7663108,35.2085036#8,24.7755814,35.2112694#9,24.7786193,35.2182959#10.7,24.7709151,35.2262631","x":24.7485052,"y":35.2075067,"coor":[[24.7142666,35.2114871],[24.714749,35.2111258],[24.7153103,35.2112397],[24.7168693,35.2111133],[24.7170767,35.2109678],[24.7172922,35.2104796],[24.7172416,35.2097225],[24.7173169,35.2095417],[24.7174806,35.2094145],[24.7182921,35.2092474],[24.7183376,35.2095041],[24.7187993,35.2095284],[24.7190072,35.209437],[24.7193419,35.2087678],[24.720009,35.2084212],[24.7204113,35.2079499],[24.7204198,35.2076703],[24.7208358,35.2074965],[24.7210646,35.2072878],[24.7210181,35.2069995],[24.7211459,35.2065389],[24.7213296,35.2061951],[24.7215264,35.2060858],[24.7216993,35.2057601],[24.722009,35.2060017],[24.7221083,35.2060462],[24.7221738,35.2059917],[24.7220953,35.2058209],[24.7221267,35.2056404],[24.7218374,35.2052273],[24.7218918,35.2051639],[24.7222322,35.2051438],[24.7226566,35.2046904],[24.7231375,35.2044171],[24.7234881,35.2043068],[24.7242893,35.2042208],[24.724629,35.2041286],[24.7255707,35.2037803],[24.7259522,35.2034354],[24.7260619,35.2034257],[24.726337,35.2038659],[24.7264472,35.2039013],[24.7272023,35.2037999],[24.7278861,35.2041023],[24.7278767,35.2042827],[24.7277687,35.2044908],[24.7277795,35.2047792],[24.7278571,35.2048599],[24.7278371,35.2050764],[24.7278927,35.2051482],[24.7282558,35.2050649],[24.7285179,35.204883],[24.7289326,35.2047362],[24.7290237,35.2047041],[24.729233,35.204766],[24.7293316,35.2047383],[24.7297623,35.204605],[24.7306732,35.2045093],[24.7307717,35.2044636],[24.7307683,35.204085],[24.7319654,35.2040417],[24.7322717,35.2039046],[24.7329522,35.2038373],[24.7336614,35.2035219],[24.7336211,35.203698],[24.7339175,35.2036782],[24.7342437,35.2037574],[24.7343961,35.2036032],[24.73435,35.20336],[24.734577,35.2029528],[24.7349148,35.2026442],[24.7350325,35.2023009],[24.7352081,35.2022818],[24.735517,35.2024242],[24.7361168,35.2019336],[24.736475,35.2026686],[24.7365554,35.2030648],[24.7367231,35.2033884],[24.7370196,35.2033686],[24.7371858,35.2035298],[24.7372426,35.2037369],[24.7372973,35.2037095],[24.7374737,35.2037806],[24.7375626,35.2038882],[24.73775,35.2039682],[24.7378946,35.2041567],[24.7383386,35.2034507],[24.7384156,35.2034683],[24.7384715,35.2035671],[24.7386368,35.2036292],[24.738693,35.2037731],[24.7388245,35.2037363],[24.7390464,35.2039693],[24.7393215,35.2040218],[24.7395225,35.2043812],[24.7396433,35.2043805],[24.7400086,35.2046848],[24.740361,35.2047819],[24.7404276,35.2048536],[24.7407074,35.2054199],[24.7407325,35.2057624],[24.7404644,35.2064854],[24.7405913,35.2071519],[24.7411484,35.2080141],[24.7412142,35.2079956],[24.7414127,35.2080846],[24.7415802,35.2083811],[24.7420776,35.2087117],[24.7427496,35.208906],[24.7428243,35.2086711],[24.743055,35.2086696],[24.743196,35.2084704],[24.7433059,35.2084697],[24.743349,35.2083793],[24.7434156,35.208451],[24.7440384,35.2080775],[24.7441691,35.2079505],[24.7440234,35.2077913],[24.7441671,35.2076597],[24.7444088,35.2076582],[24.7445171,35.2074862],[24.7447253,35.2074308],[24.7446354,35.207215],[24.7447666,35.207142],[24.7447441,35.2070791],[24.7449301,35.2069968],[24.7449073,35.2069067],[24.7449738,35.2069695],[24.7451715,35.2069682],[24.7455647,35.2067133],[24.7458103,35.2071446],[24.7463308,35.2076013],[24.7463988,35.2078263],[24.7464203,35.2077721],[24.7467618,35.2078782],[24.7472649,35.2076316],[24.7477487,35.2076737],[24.7481644,35.2074728],[24.7485052,35.2075067],[24.7492733,35.2074028],[24.7499653,35.2073895],[24.7503175,35.2074594],[24.7507236,35.2074118],[24.7511872,35.2076524],[24.7514068,35.207642],[24.7517046,35.2077664],[24.751913,35.2077291],[24.7524418,35.2078881],[24.7533766,35.2079905],[24.7537276,35.2079342],[24.7538806,35.2078431],[24.7540465,35.2079683],[24.7543297,35.207696],[24.7550976,35.207574],[24.7553743,35.2076534],[24.7556708,35.2075636],[24.7559567,35.2075889],[24.7566809,35.2074942],[24.7569008,35.2075109],[24.7571876,35.2076353],[24.7585379,35.2075367],[24.758978,35.2075971],[24.7593528,35.207739],[24.7594404,35.2077024],[24.7602764,35.2078234],[24.7604625,35.2077501],[24.7605958,35.2079115],[24.7606838,35.20792],[24.7608694,35.2077926],[24.7612813,35.2083716],[24.7613623,35.2082967],[24.7615427,35.2076103],[24.7617803,35.207176],[24.761836,35.2071869],[24.7623519,35.2071386],[24.7625625,35.2073356],[24.7628706,35.2073878],[24.7633243,35.2077366],[24.763491,35.2079429],[24.763933,35.2082106],[24.7641309,35.2082274],[24.7644177,35.2083518],[24.7652198,35.2083648],[24.7653639,35.2084991],[24.7658264,35.2086134],[24.7662099,35.2085028],[24.7667373,35.2085085],[24.766782,35.2085893],[24.7669907,35.208588],[24.7673992,35.2088018],[24.7676839,35.2087008],[24.767994,35.2089604],[24.7682901,35.2089044],[24.7686666,35.2092266],[24.7696045,35.2096535],[24.7702358,35.2101904],[24.7707322,35.2104037],[24.7721731,35.2105839],[24.7726116,35.2104819],[24.7730261,35.2101636],[24.7732461,35.2101893],[24.7735998,35.2104125],[24.7736891,35.2105652],[24.7739541,35.2107077],[24.7739659,35.2107888],[24.7742084,35.2108684],[24.7744932,35.2107855],[24.7750132,35.2111608],[24.7752336,35.2112316],[24.7759594,35.2113081],[24.7759711,35.2113801],[24.776444,35.2114312],[24.7764994,35.2114849],[24.77684,35.2114827],[24.7771602,35.211652],[24.7774998,35.2115416],[24.7775552,35.2115954],[24.7779363,35.2123864],[24.7780658,35.2132963],[24.7784214,35.2137178],[24.7785337,35.2139695],[24.7785684,35.2141496],[24.7784712,35.2143216],[24.7786481,35.2144467],[24.7787182,35.214879],[24.7787958,35.2149507],[24.7787866,35.2151401],[24.7786883,35.2151948],[24.7786686,35.2154384],[24.7785923,35.215502],[24.7786069,35.2158806],[24.7784445,35.2161341],[24.7785558,35.2162777],[24.7784916,35.2164584],[24.7785918,35.2166021],[24.778486,35.2170265],[24.7787112,35.2176022],[24.7786029,35.2177652],[24.7786193,35.2183331],[24.7784809,35.2187939],[24.7784304,35.2192631],[24.7785442,35.2196681],[24.7787876,35.2198469],[24.7786571,35.2199829],[24.7789016,35.2202789],[24.7790587,35.2206206],[24.7792571,35.2206824],[24.7791041,35.2207735],[24.7789851,35.2209637],[24.7791413,35.2212151],[24.779143,35.2213955],[24.7790998,35.2214679],[24.7786177,35.2216152],[24.7780561,35.2214836],[24.7778804,35.2215028],[24.7774573,35.2220645],[24.7770189,35.2221846],[24.7770525,35.2222565],[24.776954,35.2222932],[24.7768894,35.2224379],[24.7762755,35.2225861],[24.77608,35.2228218],[24.7759703,35.2228405],[24.7758957,35.2230844],[24.7755915,35.2234561],[24.7751215,35.2237115],[24.7748276,35.224002],[24.7741067,35.2244664],[24.7739983,35.2246204],[24.7738711,35.2251081],[24.772843,35.2256196],[24.7721525,35.2258044],[24.7721092,35.2258768],[24.7718895,35.2258782],[24.7717366,35.2259874],[24.7709151,35.2262631]]},{"id":16022,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u039a\u03b1\u03bc\u03ac\u03c1\u03b5\u03c2-\u03a4\u03af\u03bc\u03b9\u03bf\u03c2 \u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03c2","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b9\u03c2 \u039a\u03b1\u03bc\u03ac\u03c1\u03b5\u03c2 \u03c3\u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03c4\u03bf\u03c5 \u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7","path":"Crete\/Crete_Psiloritis_E4_Kamares_TimiosStavros","activity_type":33,"assistance":1,"difficulty":3,"scenic_value":4,"length":15339,"name_EN":"Psiloritis: Kamares-Timios Stavros","description_EN":"Ascent from Kamares to the summit of Psiloritis","ascent_time":580,"descent_time":470,"marker":"E4","level":11,"ascent":2066,"descent":214,"maxelev":2448,"minelev":580,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.77091 35.1528,24.82494 35.22626)","views":79,"millestones":"0,24.8182397,35.1528418#1,24.8228873,35.1572128#2,24.8249873,35.1619503#3,24.8213960,35.1683414#4,24.8138847,35.1712860#5,24.8120852,35.1770586#6,24.8149748,35.1838378#7,24.8138608,35.1896298#8,24.8144230,35.1968407#9,24.8172769,35.2008933#10,24.8129383,35.2085243#11,24.8083754,35.2154381#12,24.7997844,35.2186157#13,24.7904656,35.2227618#14,24.7810994,35.2236034#15.3,24.7709151,35.2262631","x":24.8144408,"y":35.1807678,"coor":[[24.8182397,35.1528418],[24.8183738,35.1530844],[24.8182859,35.153076],[24.8181784,35.1533021],[24.8182677,35.1534458],[24.8182372,35.1536984],[24.8179789,35.1542142],[24.817848,35.1542962],[24.8180909,35.1544298],[24.8179726,35.1546831],[24.8180516,35.1548899],[24.8179821,35.1549467],[24.8179631,35.1552354],[24.8181727,35.1553422],[24.8181846,35.1554323],[24.8187999,35.1554822],[24.8190535,35.1555887],[24.819152,35.155552],[24.8194488,35.1555861],[24.8194612,35.1557302],[24.8195709,35.1557205],[24.8195936,35.1557925],[24.8198021,35.1557911],[24.8210049,35.156387],[24.8212027,35.1564127],[24.8213663,35.1563034],[24.8219038,35.1562547],[24.8218728,35.1564443],[24.8223113,35.1563782],[24.8223339,35.1564411],[24.8222471,35.1565499],[24.8224559,35.1565666],[24.823168,35.1564084],[24.8229401,35.1566715],[24.822887,35.1568522],[24.8229536,35.1569238],[24.8228687,35.157213],[24.8229675,35.1572123],[24.8229148,35.1574381],[24.8230371,35.1575815],[24.822994,35.157663],[24.8237186,35.157658],[24.8238395,35.1576752],[24.8239287,35.1578099],[24.8235913,35.1581007],[24.823516,35.1582545],[24.8232316,35.1583647],[24.823276,35.1584094],[24.8232218,35.1584819],[24.8233759,35.158517],[24.8233984,35.1585709],[24.8232899,35.1587069],[24.8235093,35.1586874],[24.8235099,35.1587415],[24.8236199,35.1587588],[24.8240815,35.1588097],[24.8243356,35.1589613],[24.8231123,35.1596008],[24.8234978,35.1597244],[24.8232248,35.1598705],[24.8237081,35.1598853],[24.8239511,35.1600279],[24.8240841,35.1601532],[24.823996,35.1601268],[24.8240403,35.1601625],[24.8239422,35.1602353],[24.8244163,35.1604305],[24.8244168,35.1604846],[24.8245268,35.1605019],[24.8244727,35.1605834],[24.8247379,35.1607529],[24.8247507,35.1609331],[24.824644,35.1612404],[24.8246104,35.1611685],[24.8246138,35.1615112],[24.8250356,35.1619591],[24.8247936,35.1619157],[24.8248394,35.1621047],[24.8245326,35.1621609],[24.8245563,35.1623411],[24.8243592,35.1623965],[24.8243708,35.1624506],[24.8246016,35.162476],[24.8250325,35.1627436],[24.8249448,35.1627532],[24.8249797,35.1629514],[24.8246508,35.1629987],[24.824575,35.1630984],[24.8241654,35.1638586],[24.824007,35.1644818],[24.823758,35.1648352],[24.8237262,35.1649526],[24.8238935,35.165204],[24.8239884,35.1659066],[24.8237854,35.166467],[24.8234717,35.1669381],[24.8232303,35.1669577],[24.823176,35.1670122],[24.8231094,35.1669405],[24.8230219,35.1669772],[24.822817,35.1673483],[24.8226309,35.1674036],[24.8223011,35.1673608],[24.8221149,35.1674161],[24.8219087,35.167652],[24.8217011,35.1677616],[24.8215835,35.168078],[24.8214421,35.1682052],[24.8213887,35.1683588],[24.8211922,35.1684774],[24.8208017,35.1689489],[24.8203322,35.1692226],[24.8200516,35.1697114],[24.8200302,35.1697656],[24.8198104,35.1697401],[24.8196583,35.1699124],[24.8188278,35.1703148],[24.818242,35.169931],[24.8178683,35.1698975],[24.817628,35.1700253],[24.8173753,35.170009],[24.8169673,35.1698404],[24.8167267,35.1699412],[24.8168063,35.1702112],[24.8167409,35.1702658],[24.8151958,35.1705827],[24.8141184,35.1704637],[24.8136883,35.1702773],[24.8137993,35.1703938],[24.8139248,35.1708708],[24.8138754,35.1714212],[24.8132674,35.1721195],[24.8130096,35.1726984],[24.8121034,35.1732274],[24.8118103,35.173572],[24.8115052,35.1738085],[24.8113974,35.1740076],[24.8111353,35.1741626],[24.8110075,35.1745602],[24.8111868,35.1749197],[24.8110681,35.1751369],[24.8110496,35.1754797],[24.8109185,35.1755527],[24.8104909,35.1756187],[24.8104041,35.1757274],[24.810373,35.175908],[24.8105595,35.1758887],[24.8105163,35.1759701],[24.8106148,35.1759334],[24.8106484,35.1759963],[24.8108131,35.1759952],[24.8108032,35.1761035],[24.8110774,35.1760656],[24.8110022,35.1762374],[24.8113316,35.1762352],[24.8112348,35.1764342],[24.8113776,35.1764423],[24.8113571,35.1765867],[24.8115766,35.1765762],[24.8115561,35.1767206],[24.8117867,35.1767191],[24.8117009,35.176927],[24.8120629,35.1768885],[24.8120318,35.1770691],[24.8121304,35.1770504],[24.8121418,35.1770864],[24.8128108,35.1770007],[24.8124444,35.1776975],[24.812435,35.1778599],[24.8125227,35.1778412],[24.8124815,35.178121],[24.8125809,35.1781745],[24.8127281,35.1786153],[24.8133234,35.1788457],[24.8138772,35.1793199],[24.8138355,35.1795366],[24.8138904,35.1795362],[24.8139136,35.1796623],[24.8138603,35.179825],[24.8139706,35.1798693],[24.8140379,35.1800131],[24.8141477,35.1800124],[24.8143139,35.1801555],[24.8142851,35.1805705],[24.8144408,35.1807678],[24.8142919,35.1812557],[24.8143693,35.1813093],[24.8143378,35.1814538],[24.8145049,35.1816871],[24.8146368,35.1816953],[24.8148279,35.1821448],[24.8148631,35.18237],[24.8146914,35.1827679],[24.81478,35.1828417],[24.8151342,35.1831188],[24.815293,35.1836227],[24.8149439,35.1838595],[24.8146403,35.1842492],[24.814689,35.1847268],[24.8146191,35.1854306],[24.8149304,35.1858072],[24.8151652,35.1862204],[24.8152915,35.1867696],[24.8157672,35.187118],[24.8167056,35.1875986],[24.8171071,35.1882091],[24.8169133,35.1885981],[24.8162459,35.1888551],[24.8158544,35.1892454],[24.8144451,35.1889032],[24.8138982,35.1891323],[24.8138306,35.1900615],[24.8131818,35.1910938],[24.8127118,35.1913224],[24.8119342,35.191553],[24.8117435,35.1922576],[24.8118677,35.1925994],[24.8123212,35.192912],[24.8123441,35.193002],[24.8121728,35.193454],[24.8122342,35.1941028],[24.8121616,35.1945361],[24.8124488,35.1946964],[24.8127176,35.1952176],[24.8129396,35.1954506],[24.8130533,35.1958285],[24.8136414,35.1964287],[24.813896,35.1966253],[24.8144034,35.1968383],[24.8151953,35.1969322],[24.8159854,35.1968547],[24.8162804,35.1966995],[24.8167596,35.1962815],[24.8172564,35.1954395],[24.8173339,35.1954931],[24.8173963,35.1962411],[24.8175759,35.1966276],[24.8179092,35.1970041],[24.8180561,35.1974088],[24.8180353,35.1975262],[24.8177571,35.1978572],[24.817726,35.1980377],[24.8178962,35.1985866],[24.8179677,35.1991361],[24.8181139,35.1994778],[24.8180937,35.1996583],[24.8178878,35.1999392],[24.8177926,35.2003005],[24.816902,35.2013164],[24.8164445,35.2017072],[24.8162248,35.2017087],[24.8159407,35.2018549],[24.8155937,35.202317],[24.8150173,35.202898],[24.8149122,35.2033676],[24.8146757,35.2038922],[24.8145112,35.2046101],[24.8144644,35.2052867],[24.8142721,35.205829],[24.8134637,35.2062852],[24.8132893,35.2064217],[24.8130078,35.2068383],[24.8129363,35.2073798],[24.812992,35.2074606],[24.8130198,35.2080375],[24.8129802,35.2084796],[24.8122627,35.2092418],[24.8121556,35.209513],[24.8121932,35.2099816],[24.8122161,35.2100717],[24.8123264,35.210116],[24.8123856,35.2105484],[24.8120801,35.2107578],[24.8116971,35.2109137],[24.8112624,35.2113945],[24.8105614,35.2116066],[24.8101682,35.2118437],[24.8100217,35.212584],[24.8100364,35.2129536],[24.8098962,35.213216],[24.8096896,35.2134338],[24.8094705,35.2134984],[24.8090858,35.2134829],[24.809083,35.2143125],[24.8089969,35.2144934],[24.8089803,35.2150345],[24.8084768,35.2152272],[24.8081001,35.2160142],[24.8074027,35.2165959],[24.806977,35.2168873],[24.8067799,35.2169518],[24.806551,35.2171336],[24.8064076,35.2170805],[24.8057408,35.2174275],[24.8054663,35.2174474],[24.8050183,35.2177029],[24.8048445,35.2179024],[24.8044501,35.2180222],[24.8042625,35.2179333],[24.8041088,35.2179524],[24.8039673,35.2180795],[24.8036051,35.218118],[24.8035168,35.2180825],[24.803265,35.2181744],[24.8030669,35.2181396],[24.8030237,35.218221],[24.8028364,35.2181682],[24.8028494,35.2183665],[24.8027508,35.2184032],[24.8025958,35.218278],[24.8021023,35.2183714],[24.8019368,35.2183094],[24.8016957,35.2183741],[24.8014202,35.2182858],[24.8012893,35.2183858],[24.8011346,35.2182967],[24.8009718,35.2184961],[24.8008948,35.2184876],[24.8007834,35.2183351],[24.8004977,35.218337],[24.7990748,35.2188964],[24.7984552,35.2195767],[24.7975389,35.220259],[24.7963418,35.220321],[24.7952925,35.2208869],[24.7941312,35.2212372],[24.7925336,35.2219239],[24.7920835,35.2219629],[24.7916464,35.2219974],[24.7912411,35.2221263],[24.7907293,35.2226075],[24.7905106,35.2227171],[24.789825,35.2234069],[24.7897483,35.2234254],[24.7892807,35.2232233],[24.7883103,35.222869],[24.7879033,35.2228265],[24.7878135,35.2226287],[24.7875381,35.2225584],[24.7875045,35.2224865],[24.7873072,35.2225419],[24.7872382,35.2222177],[24.7870717,35.2220475],[24.7865807,35.2224113],[24.7863838,35.2224938],[24.7858682,35.2225873],[24.7853409,35.2225997],[24.7845731,35.22274],[24.7840253,35.2229148],[24.7830815,35.2230291],[24.7824025,35.223268],[24.7818649,35.2233526],[24.7812625,35.2235639],[24.7802875,35.2238001],[24.7784149,35.2244704],[24.7782062,35.2244717],[24.7773617,35.2246485],[24.7770542,35.2246594],[24.7768112,35.2245348],[24.7762306,35.2247188],[24.7751972,35.2246713],[24.7748683,35.2247456],[24.7738711,35.2251081],[24.772843,35.2256196],[24.7721525,35.2258044],[24.7721092,35.2258768],[24.7718895,35.2258782],[24.7717366,35.2259874],[24.7709151,35.2262631]]},{"id":16024,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u039d\u03af\u03b4\u03b1-\u03a4\u03af\u03bc\u03b9\u03bf\u03c2 \u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03c2","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b7 \u039d\u03af\u03b4\u03b1 \u03c3\u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03c4\u03bf\u03c5 \u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7","path":"Crete\/Crete_Psiloritis_E4_Nida_TimiosStavros","activity_type":33,"assistance":1,"difficulty":2,"scenic_value":4,"length":8629,"name_EN":"Psiloritis: E4 Nida-Timios Stavros","description_EN":"Ascent from Nida plateau to the summit of Psiloritis","ascent_time":250,"descent_time":200,"marker":"E4","level":11,"ascent":1178,"descent":128,"maxelev":2441,"minelev":1372,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.77091 35.19868,24.83456 35.22626)","views":83,"millestones":"0,24.8346456,35.2067249#1,24.8307830,35.2003598#2,24.8230946,35.2019842#3,24.8144768,35.2050587#4,24.8100765,35.2122877#5,24.8037449,35.2181056#6,24.7947187,35.2210645#7,24.7857624,35.2225895#8.6,24.7709137,35.2262631","x":24.8122147,"y":35.2100739,"coor":[[24.8346456,35.2067249],[24.8343068,35.2068941],[24.8341968,35.2068768],[24.8340523,35.2067155],[24.8340541,35.2064923],[24.8338115,35.2062686],[24.8335811,35.2062972],[24.8333607,35.2062266],[24.8331374,35.2058765],[24.8328952,35.205824],[24.8324199,35.2055388],[24.8320152,35.2055122],[24.8319257,35.2054249],[24.8319636,35.2048296],[24.8323295,35.2040877],[24.8322096,35.2036422],[24.8321644,35.2035162],[24.8322521,35.2034976],[24.8317182,35.2028521],[24.8316501,35.2026361],[24.8315387,35.2024836],[24.8313849,35.2024847],[24.8314933,35.2023397],[24.8310636,35.2022164],[24.8311924,35.2019179],[24.831,35.2013602],[24.8310206,35.2012338],[24.8311946,35.2010613],[24.8311046,35.2008455],[24.8308715,35.2006127],[24.8308589,35.2004505],[24.8306364,35.2001815],[24.8305907,35.2000105],[24.8305463,35.1999657],[24.8304809,35.2000113],[24.8304139,35.1999035],[24.8300272,35.1996898],[24.8299891,35.1991761],[24.8293917,35.1987654],[24.8291386,35.198722],[24.8285353,35.1988073],[24.8284277,35.1990245],[24.8282521,35.1990437],[24.8280784,35.1992432],[24.8279024,35.1992264],[24.8274112,35.1995273],[24.827064,35.1999535],[24.8263536,35.200319],[24.8259267,35.2004662],[24.8257304,35.2006118],[24.8256663,35.2007836],[24.8253171,35.2010204],[24.8251227,35.2013463],[24.8246231,35.2019087],[24.8244701,35.2019909],[24.8242597,35.2018211],[24.8241057,35.2018041],[24.8239743,35.20185],[24.8239533,35.2019404],[24.8236793,35.2020053],[24.822954,35.2019832],[24.8228012,35.2020744],[24.8221186,35.2019258],[24.8217707,35.2022888],[24.8215723,35.202227],[24.8210571,35.2023387],[24.8206285,35.2023146],[24.8203121,35.2025331],[24.8195857,35.2024028],[24.8193887,35.2024673],[24.8190615,35.2027039],[24.8188861,35.2027412],[24.8182263,35.2026735],[24.8176245,35.202912],[24.8176251,35.2029751],[24.817537,35.2029577],[24.8174948,35.2031293],[24.8173641,35.2032383],[24.8170016,35.2032408],[24.8160331,35.204167],[24.8158352,35.2041503],[24.8155397,35.2042605],[24.8151542,35.2041549],[24.8150666,35.2041916],[24.8150029,35.2044084],[24.8148062,35.2045179],[24.8147196,35.2046448],[24.8145106,35.2046101],[24.8144631,35.2052889],[24.8142708,35.2058312],[24.8134624,35.2062875],[24.8132879,35.2064239],[24.8130065,35.2068406],[24.8129349,35.2073821],[24.8129907,35.2074629],[24.8130184,35.2080397],[24.8129789,35.2084818],[24.8122614,35.2092441],[24.8121542,35.2095153],[24.8121918,35.2099839],[24.8122147,35.2100739],[24.812325,35.2101183],[24.8123842,35.2105507],[24.8120787,35.2107601],[24.8116957,35.210916],[24.8112611,35.2113968],[24.81056,35.2116088],[24.8101668,35.2118459],[24.8100204,35.2125863],[24.810035,35.2129559],[24.8098948,35.2132183],[24.8096882,35.2134361],[24.8094691,35.2135007],[24.8090844,35.2134852],[24.8090817,35.2143148],[24.8089956,35.2144957],[24.808979,35.2150368],[24.8084755,35.2152295],[24.8080987,35.2160165],[24.8074013,35.2165982],[24.8069757,35.2168896],[24.8067786,35.216954],[24.8065496,35.2171359],[24.8064063,35.2170827],[24.8057395,35.2174298],[24.805465,35.2174497],[24.805017,35.2177051],[24.8048432,35.2179046],[24.8044488,35.2180245],[24.8042611,35.2179356],[24.8041075,35.2179546],[24.8039659,35.2180818],[24.8036037,35.2181203],[24.8035155,35.2180848],[24.8032636,35.2181766],[24.8030655,35.2181419],[24.8030224,35.2182233],[24.8028351,35.2181704],[24.802848,35.2183687],[24.8027495,35.2184054],[24.8025944,35.2182802],[24.8021009,35.2183737],[24.8019355,35.2183117],[24.8016944,35.2183764],[24.8014188,35.218288],[24.801288,35.2183881],[24.8011333,35.2182989],[24.8009704,35.2184984],[24.8008934,35.2184899],[24.800782,35.2183373],[24.8004964,35.2183392],[24.7990735,35.2188986],[24.7984538,35.219579],[24.7975375,35.2202613],[24.7963405,35.2203233],[24.7952912,35.2208892],[24.7941299,35.2212395],[24.7925323,35.2219262],[24.7920822,35.2219652],[24.791645,35.2219996],[24.7912397,35.2221285],[24.7907279,35.2226097],[24.7905092,35.2227194],[24.7898237,35.2234091],[24.7897469,35.2234277],[24.7892793,35.2232233],[24.7883089,35.222869],[24.787902,35.2228265],[24.7878121,35.2226288],[24.7875368,35.2225584],[24.7875031,35.2224865],[24.7873058,35.2225419],[24.7872368,35.2222177],[24.7870703,35.2220475],[24.7865794,35.2224114],[24.7863824,35.2224938],[24.7858668,35.2225873],[24.7853395,35.2225997],[24.7845717,35.22274],[24.784024,35.2229148],[24.7830801,35.2230291],[24.7824011,35.223268],[24.7818635,35.2233526],[24.7812612,35.2235639],[24.7802868,35.2238001],[24.7784142,35.2244704],[24.7782055,35.2244717],[24.777361,35.2246485],[24.7770535,35.2246594],[24.7768105,35.2245348],[24.7762299,35.2247188],[24.7751965,35.2246714],[24.7748676,35.2247456],[24.7738697,35.2251081],[24.7728416,35.2256196],[24.7721511,35.2258044],[24.7721078,35.2258768],[24.7718881,35.2258782],[24.7717353,35.2259874],[24.7709137,35.2262631]]},{"id":16025,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u03a0\u03c1\u03af\u03bd\u03bf\u03c2-\u0394\u03ac\u03c3\u03bf\u03c2 \u03a1\u03bf\u03cd\u03b2\u03b1","description_GR":"\u03a4\u03bc\u03ae\u03bc\u03b1 \u03c4\u03bf\u03c5 \u03954 \u03b1\u03c0\u03cc \u03c4\u03bf\u03c5\u03c2 \u0391\u03c3\u03af\u03c4\u03b5\u03c2 \u03c3\u03c4\u03bf \u03ba\u03b1\u03c4. \u03a0\u03c1\u03af\u03bd\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03bc\u03b5\u03c4\u03ac \u03c3\u03c4\u03bf\u03bd \u0391\u03b3\u03b9\u03ac\u03bd\u03bd\u03b7 \u03a1\u03bf\u03cd\u03b2\u03b1","path":"Crete\/Crete_Psiloritis_E4_Prinos_Rouvas","activity_type":33,"assistance":1,"difficulty":2,"scenic_value":4,"length":13470,"name_EN":"Psiloritise: E4 Prinos-Rouvas","description_EN":"E4 section from Asites to Rouvas forest via the Prinos ref.","ascent_time":485,"descent_time":410,"marker":"E4","level":11,"ascent":1154,"descent":777,"maxelev":1693,"minelev":587,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.91533 35.16266,24.97925 35.20807)","views":46,"millestones":"0,24.9797833,35.2074724#1,24.9758282,35.2028621#2,24.9760680,35.1988219#3,24.9744011,35.1992218#4,24.9750746,35.1951200#5,24.9722303,35.1874446#6,24.9658256,35.1869418#7,24.9575178,35.1878429#8,24.9507569,35.1838884#9,24.9441946,35.1780114#10,24.9380538,35.1714424#11,24.9340267,35.1644808#12,24.9246322,35.1645398#13.5,24.9148521,35.1658226","x":24.9558396,"y":35.1881426,"coor":[[24.9797833,35.2074724],[24.9796746,35.2075634],[24.9793556,35.2075299],[24.9791348,35.2074416],[24.9785467,35.2069594],[24.9781846,35.2069894],[24.9778969,35.2068204],[24.9772828,35.2069155],[24.9768976,35.2068555],[24.9760201,35.2060511],[24.9753953,35.2061643],[24.9748211,35.2059165],[24.9745542,35.2056481],[24.9745295,35.2054229],[24.9748772,35.2050955],[24.9749722,35.2047792],[24.9750704,35.2047153],[24.9755417,35.2046303],[24.9760768,35.2043645],[24.9764227,35.2038929],[24.9765292,35.2036125],[24.9765048,35.2034053],[24.9760064,35.2030667],[24.9755609,35.2025563],[24.9755916,35.2023757],[24.9758217,35.2023198],[24.9760607,35.2021015],[24.9761442,35.2017311],[24.9760963,35.2013979],[24.9756326,35.2012032],[24.9754764,35.2010061],[24.9754067,35.2006911],[24.9756868,35.200229],[24.9756151,35.2002025],[24.9753326,35.2004663],[24.9752805,35.2007011],[24.9753728,35.2010701],[24.975697,35.2015363],[24.9755227,35.201664],[24.9749087,35.2017591],[24.9752344,35.2014409],[24.9749652,35.2009742],[24.9748598,35.200425],[24.9748913,35.2003075],[24.9751958,35.2000436],[24.9755091,35.1996083],[24.9756688,35.1991832],[24.9760289,35.1989819],[24.9761038,35.198819],[24.9759831,35.198829],[24.975438,35.1991761],[24.9749184,35.1998114],[24.974427,35.2000588],[24.9742034,35.2006557],[24.9737609,35.2013085],[24.9734107,35.2014195],[24.9718492,35.2022075],[24.9718152,35.2021266],[24.9720437,35.2019354],[24.9726984,35.2015695],[24.9729663,35.2010083],[24.9734899,35.2006975],[24.9736489,35.2002093],[24.9736319,35.1997045],[24.9743305,35.1993383],[24.9744382,35.1991571],[24.9744553,35.1987512],[24.9750188,35.1981064],[24.9751536,35.1974381],[24.9750552,35.197475],[24.9745567,35.198038],[24.9747363,35.1974415],[24.9746751,35.196919],[24.9747287,35.1968104],[24.9754915,35.1962993],[24.9766762,35.1961635],[24.9771143,35.1960518],[24.9776145,35.195633],[24.9775029,35.1954806],[24.9773708,35.1954636],[24.9767789,35.1955676],[24.9762184,35.195536],[24.9751481,35.1951389],[24.9745311,35.1949816],[24.9739029,35.1938866],[24.97373,35.1932027],[24.9737618,35.1931033],[24.9741767,35.1928926],[24.9742951,35.1926932],[24.9743559,35.192269],[24.9741175,35.1916127],[24.973947,35.1914788],[24.973768,35.1912075],[24.9736936,35.1904958],[24.9735247,35.1901455],[24.9735395,35.189548],[24.9734083,35.1890802],[24.9731196,35.188821],[24.973063,35.1886772],[24.9730794,35.1882082],[24.9728094,35.1876694],[24.9723672,35.1874295],[24.9723566,35.1874656],[24.9722026,35.1874398],[24.9722258,35.1875478],[24.9716832,35.1871735],[24.970961,35.186476],[24.9706595,35.1860636],[24.9703617,35.1859578],[24.9701828,35.1856887],[24.9689764,35.1849139],[24.9688328,35.1848407],[24.9687318,35.1846612],[24.9688876,35.1842542],[24.9685244,35.1843044],[24.9681749,35.1844695],[24.9680102,35.1844708],[24.967474,35.1846374],[24.9673803,35.185071],[24.9670771,35.185434],[24.9669709,35.1857415],[24.9666449,35.1860416],[24.966745,35.18614],[24.9666253,35.1862401],[24.9666496,35.1864383],[24.9665189,35.1865295],[24.9665863,35.1866552],[24.9658021,35.186923],[24.9658687,35.1869765],[24.9654649,35.1871961],[24.9649053,35.1872457],[24.9647906,35.1873007],[24.9646713,35.1874279],[24.9645615,35.1874288],[24.9645078,35.1875284],[24.9642458,35.1876657],[24.9640153,35.1876766],[24.9639069,35.1878037],[24.9635784,35.1878874],[24.9635463,35.1879598],[24.9634362,35.1879336],[24.9635042,35.1881134],[24.963275,35.1882325],[24.9631999,35.1883864],[24.9627761,35.1887684],[24.962734,35.1889311],[24.9621557,35.1892512],[24.961849,35.1893258],[24.9614681,35.1896174],[24.9610945,35.1896113],[24.9608296,35.1894962],[24.9606209,35.1894979],[24.9604443,35.1894271],[24.960368,35.1894728],[24.9599612,35.18944],[24.9597311,35.1894869],[24.9591333,35.1890859],[24.9588885,35.1889886],[24.9584915,35.1888565],[24.9584023,35.18874],[24.9583772,35.1884787],[24.9576247,35.1879978],[24.957513,35.1878363],[24.9573585,35.1880697],[24.9571839,35.1881613],[24.9565596,35.1883105],[24.9562624,35.1882587],[24.9559887,35.188333],[24.9558396,35.1881426],[24.9559033,35.1879618],[24.9558353,35.187782],[24.955831,35.1874123],[24.9556629,35.1871251],[24.9554302,35.1869466],[24.9553627,35.1868119],[24.9549765,35.1866617],[24.9549203,35.1865539],[24.9549742,35.1864633],[24.9547553,35.1865282],[24.9545025,35.1865121],[24.9541709,35.1863344],[24.9537777,35.1865178],[24.9532176,35.1865222],[24.9529878,35.1865962],[24.9528432,35.186444],[24.9521578,35.1860617],[24.952134,35.1858996],[24.9517241,35.1855962],[24.9517228,35.185488],[24.9515021,35.1853996],[24.9514348,35.1852829],[24.9513024,35.1852299],[24.9513437,35.1850041],[24.9509587,35.1840063],[24.9505606,35.183775],[24.9503017,35.183236],[24.9499597,35.1831034],[24.9498213,35.1825365],[24.9495564,35.1824213],[24.9493344,35.1822157],[24.9491208,35.1817936],[24.9491512,35.1815769],[24.9490722,35.1813882],[24.9489617,35.181335],[24.9487944,35.1811109],[24.9486067,35.1810312],[24.9483519,35.1803096],[24.9481177,35.1799958],[24.9477857,35.179782],[24.9474887,35.1797393],[24.947265,35.1799236],[24.9471437,35.1798186],[24.946903,35.1796063],[24.9464418,35.1796099],[24.9456901,35.179183],[24.9455807,35.1792199],[24.9452506,35.1791684],[24.9449942,35.1788368],[24.9449594,35.1786748],[24.9448159,35.1786128],[24.9446595,35.1783796],[24.9444276,35.1782732],[24.9442714,35.178058],[24.9440944,35.1779512],[24.9438856,35.1779348],[24.9438317,35.1780253],[24.9437547,35.1780169],[24.9436541,35.1778644],[24.9435885,35.177883],[24.9432004,35.1775614],[24.9431439,35.1774266],[24.9429786,35.1773738],[24.9428443,35.1771584],[24.9427785,35.1771679],[24.9426446,35.1769796],[24.9426546,35.1768984],[24.9425776,35.17689],[24.9424646,35.1766113],[24.9422423,35.1763786],[24.9421297,35.1761361],[24.9419637,35.1760291],[24.9419069,35.1758673],[24.9417627,35.1757422],[24.9416418,35.1757341],[24.94114,35.1750708],[24.9410272,35.1748101],[24.9406472,35.174236],[24.9403698,35.1739857],[24.9400783,35.173465],[24.9399011,35.1733401],[24.9395474,35.1733158],[24.9391979,35.1731247],[24.9390884,35.1731526],[24.938921,35.1729195],[24.9387164,35.1723169],[24.9383802,35.1717244],[24.9377701,35.1711881],[24.9375168,35.171127],[24.9377173,35.1707738],[24.9377166,35.1707197],[24.9375293,35.170658],[24.9375063,35.170568],[24.9376143,35.1704139],[24.9376329,35.1701252],[24.9375233,35.1701351],[24.9372906,35.1699565],[24.9372644,35.1695871],[24.9369314,35.1692741],[24.9368397,35.1689411],[24.9365846,35.1687177],[24.9365726,35.1686276],[24.936485,35.1686463],[24.936306,35.1683592],[24.9363197,35.1676377],[24.9362075,35.1674312],[24.9361706,35.1670889],[24.9361153,35.1670532],[24.9360279,35.16709],[24.935881,35.1667304],[24.9356834,35.166732],[24.9357138,35.1665153],[24.9355599,35.1664985],[24.9352823,35.1662301],[24.9348407,35.1660171],[24.9348682,35.165539],[24.9348457,35.1654941],[24.9346816,35.1655495],[24.9345109,35.1650278],[24.9342199,35.1645432],[24.9334926,35.1643143],[24.9332619,35.1643071],[24.933107,35.1642001],[24.933084,35.1641101],[24.9329303,35.1641113],[24.9328838,35.1638862],[24.9324198,35.1636373],[24.9318938,35.1637315],[24.9316647,35.1638595],[24.930746,35.1641732],[24.9303172,35.1641314],[24.9298675,35.1641709],[24.9295478,35.1640561],[24.9293144,35.1638145],[24.9289185,35.1637589],[24.9276514,35.1633719],[24.9262459,35.1633646],[24.9259836,35.1634748],[24.9255372,35.1638028],[24.9251641,35.1638237],[24.9249923,35.1641676],[24.9245473,35.1646309],[24.9242078,35.1647056],[24.9235488,35.1646926],[24.9234394,35.1647295],[24.9231168,35.1653271],[24.9230077,35.165391],[24.9217361,35.1646072],[24.9214143,35.1643031],[24.9209845,35.1641621],[24.9207523,35.1640196],[24.9201389,35.1631767],[24.9196991,35.1631259],[24.9192609,35.1632194],[24.91854,35.1635495],[24.918388,35.1637039],[24.9182705,35.1639934],[24.9177797,35.1642946],[24.9175734,35.1644946],[24.9168589,35.1644278],[24.9165303,35.1645025],[24.9161163,35.1647941],[24.9159759,35.1650026],[24.9156699,35.1651311],[24.9152565,35.1654679],[24.9150722,35.1656857],[24.9150411,35.1658482],[24.9148521,35.1658226]]},{"id":16026,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: E4 \u0396\u03c1\u03cc\u03c2-\u0394\u03ac\u03c3\u03bf\u03c2 \u03a1\u03bf\u03cd\u03b2\u03b1","description_GR":"\u03a4\u03bc\u03ae\u03bc\u03b1 \u03c4\u03bf\u03c5 \u03954 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03bb\u03af\u03bc\u03bd\u03b7 \u0392\u03cc\u03c4\u03bf\u03bc\u03bf\u03c2 \u03c3\u03c4\u03bf\u03bd \u0391\u03b3\u03b9\u03ac\u03bd\u03bd\u03b7 \u03a1\u03bf\u03cd\u03b2\u03b1","path":"Crete\/Crete_Psiloritis_E4_Zaros_Rouvas","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":4998,"name_EN":"Psiloritis: E4 Zaros-Rouvas","description_EN":"E4 section from Votomos Lake to Rouvas forest","ascent_time":125,"descent_time":110,"marker":"E4","level":11,"ascent":625,"descent":92,"maxelev":961,"minelev":414,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.90379 35.13953,24.91456 35.16707)","views":27,"millestones":"0,24.9103966,35.1395609#1,24.9071308,35.1451404#2,24.9060027,35.1524581#3,24.9058898,35.1563365#5.0,24.9148521,35.1658226","x":24.9043674,"y":35.152074,"coor":[[24.9103966,35.1395609],[24.9102842,35.1401275],[24.9104863,35.1405318],[24.9110549,35.1403382],[24.9113641,35.1403178],[24.911852,35.1403276],[24.9111522,35.1405674],[24.9107167,35.1408952],[24.9098981,35.1413162],[24.9090705,35.1419085],[24.908734,35.1422536],[24.9080242,35.1425926],[24.9072191,35.1432388],[24.9070248,35.1435378],[24.9069288,35.143791],[24.906921,35.1440706],[24.9070559,35.1443581],[24.9069841,35.1448185],[24.9072429,35.1453846],[24.9072822,35.1459614],[24.9071967,35.1461694],[24.9067936,35.1464429],[24.9067537,35.1468039],[24.906555,35.1467062],[24.9064072,35.1472393],[24.9067762,35.1478407],[24.9066623,35.1484637],[24.9066867,35.1486799],[24.9068989,35.1490119],[24.906757,35.1490851],[24.9067472,35.1491844],[24.9069493,35.1495977],[24.9069116,35.150157],[24.9070027,35.1504448],[24.9068204,35.1508429],[24.9068348,35.1511494],[24.9065621,35.1513047],[24.9060578,35.1513716],[24.9063116,35.1514869],[24.906149,35.1516775],[24.9060745,35.1518855],[24.9061523,35.151975],[24.906032,35.152012],[24.9060555,35.1521561],[24.9058599,35.1523379],[24.9059371,35.1523644],[24.9058609,35.1524281],[24.906026,35.1524629],[24.9059066,35.15259],[24.9061931,35.1526781],[24.9061614,35.1527955],[24.905911,35.1529867],[24.9052111,35.1532264],[24.9043558,35.153323],[24.9042238,35.1532969],[24.9042473,35.1530713],[24.9043929,35.1523985],[24.9043674,35.152074],[24.9042792,35.1520476],[24.9039086,35.1522849],[24.9037903,35.1525112],[24.9038815,35.152817],[24.9036308,35.1529812],[24.9036455,35.1533147],[24.903892,35.1537637],[24.9040465,35.1538347],[24.9040478,35.1539519],[24.9044678,35.1542103],[24.9045589,35.1544981],[24.9047694,35.1546769],[24.9052215,35.1548539],[24.9056312,35.1551664],[24.9055511,35.1558613],[24.9057624,35.1561031],[24.9057864,35.1562923],[24.9066359,35.1566557],[24.9068928,35.1570505],[24.9073344,35.1572726],[24.9073039,35.1574892],[24.9074506,35.1578488],[24.9070276,35.1583208],[24.9066681,35.158576],[24.9064672,35.1592718],[24.9065713,35.1597399],[24.9070688,35.1600517],[24.9073134,35.1603294],[24.9071723,35.1604748],[24.9072438,35.1609792],[24.9070861,35.1616115],[24.9073413,35.1618531],[24.9074239,35.1623664],[24.9077566,35.1626615],[24.9078355,35.1628502],[24.9077187,35.1632028],[24.9078434,35.1635625],[24.9081752,35.1637764],[24.9083288,35.1637662],[24.908836,35.1639518],[24.9090706,35.1643107],[24.9092466,35.1643455],[24.9095785,35.1645684],[24.909835,35.1649181],[24.909936,35.1651157],[24.909874,35.1654678],[24.9102084,35.1659162],[24.9104116,35.1664106],[24.9103269,35.1669432],[24.9106147,35.1670222],[24.9110969,35.1669374],[24.9116105,35.1667171],[24.9122326,35.1666854],[24.9129619,35.1664793],[24.9138207,35.1665044],[24.9143774,35.1662116],[24.9148521,35.1658226]]},{"id":16027,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: \u03a6\u03bf\u03c5\u03c1\u03c6\u03bf\u03c5\u03c1\u03ac\u03c2-\u03ba\u03b1\u03c4. \u03a4\u03bf\u03c5\u03bc\u03c0\u03c9\u03c4\u03cc\u03c2 \u03a0\u03c1\u03af\u03bd\u03bf\u03c2","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf \u03ba\u03b1\u03c4\u03b1\u03c6\u03cd\u03b3\u03b9\u03bf \u03a4\u03bf\u03c5\u03bc\u03c0\u03c9\u03c4\u03cc\u03c2 \u03a0\u03c1\u03af\u03bd\u03bf\u03c2","path":"Crete\/Crete_Psiloritis_Fourfouras_ToubotosPrinos","activity_type":33,"assistance":1,"difficulty":2,"scenic_value":4,"length":9188,"name_EN":"Psiloritis: Fourfouras-Toubotos Prinos ref.","description_EN":"Ascent to Toubotos Prinos refuge","ascent_time":380,"descent_time":300,"marker":"Red_dots","level":12,"ascent":1221,"descent":177,"maxelev":1572,"minelev":475,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.71439 35.20718,24.76178 35.22591)","views":10,"millestones":"0,24.7142666,35.2114871#1,24.7187795,35.2170333#2,24.7270374,35.2171497#3,24.7295978,35.2227824#4,24.7345451,35.2210810#5,24.7379892,35.2254606#6,24.7455661,35.2212931#7,24.7459402,35.2135636#9.2,24.7617803,35.2071805","x":24.7356088,"y":35.2217354,"coor":[[24.7142666,35.2114871],[24.7144758,35.2115354],[24.7145454,35.2119566],[24.714744,35.2120456],[24.7148779,35.2122882],[24.7151019,35.213006],[24.7150161,35.2132432],[24.7150354,35.2134911],[24.7153561,35.2137191],[24.7158716,35.2145591],[24.7163061,35.2151674],[24.7171959,35.2153763],[24.7174614,35.2155889],[24.7172557,35.2159373],[24.7172919,35.2163045],[24.717602,35.2165799],[24.718082,35.2174427],[24.7185041,35.2179587],[24.7186115,35.2172863],[24.7190345,35.2166616],[24.7193104,35.2164097],[24.7196056,35.2162412],[24.7211866,35.2161078],[24.7222191,35.2160746],[24.7226268,35.2162097],[24.723352,35.2162121],[24.7242104,35.216367],[24.7248827,35.2165974],[24.7250488,35.2167497],[24.7252545,35.2164013],[24.7256458,35.2159279],[24.7256572,35.2159706],[24.725964,35.2158786],[24.7261856,35.2160847],[24.7262649,35.2163547],[24.7267606,35.216496],[24.7264879,35.216714],[24.726566,35.2168511],[24.7268193,35.2169194],[24.7268637,35.2169665],[24.7268094,35.2170367],[24.7270075,35.2170761],[24.7270525,35.2171885],[24.7271626,35.2172149],[24.7271315,35.2174225],[24.7273736,35.2174706],[24.7269375,35.2178475],[24.727061,35.2181443],[24.7272468,35.2180395],[24.72727,35.2181701],[24.7275328,35.2180716],[24.7275117,35.2181686],[24.7277092,35.2181404],[24.7276443,35.218258],[24.7279075,35.2181933],[24.7277881,35.2183608],[24.7279311,35.2183735],[24.7279209,35.2184637],[24.727812,35.2185748],[24.7280754,35.2185462],[24.7276834,35.218943],[24.7282872,35.2188763],[24.7288266,35.2189925],[24.7287612,35.219047],[24.7288494,35.2190825],[24.7287841,35.2191573],[24.7288612,35.2191794],[24.7286862,35.2192616],[24.7288407,35.2193441],[24.7289019,35.2200448],[24.7290725,35.220693],[24.7290407,35.2208194],[24.7291878,35.2212964],[24.729126,35.2217611],[24.7293367,35.2219672],[24.7293059,35.2222154],[24.7294727,35.2224308],[24.7295634,35.2227481],[24.7297519,35.2229341],[24.7297569,35.222269],[24.729856,35.2222887],[24.729833,35.2221784],[24.7300836,35.2219357],[24.7300263,35.2216791],[24.7302653,35.2213733],[24.7305443,35.2206232],[24.7307834,35.2203242],[24.7310133,35.2202327],[24.7313756,35.2202012],[24.7313828,35.2197796],[24.7315032,35.2197315],[24.7315267,35.2198959],[24.7315921,35.2198347],[24.7317021,35.2198475],[24.7317921,35.2200814],[24.7318676,35.2199299],[24.7319345,35.22004],[24.7320991,35.220012],[24.7321667,35.2201964],[24.7324438,35.2204652],[24.7325416,35.2203474],[24.7327173,35.2203328],[24.7328809,35.2202011],[24.7332226,35.2203162],[24.7333117,35.2204464],[24.7336603,35.2201197],[24.7338033,35.2201324],[24.7340004,35.2200613],[24.7341786,35.220324],[24.7343982,35.2203091],[24.7343245,35.2206612],[24.7345335,35.2206825],[24.7344576,35.2208002],[24.7345235,35.2207998],[24.7344592,35.2209805],[24.7345799,35.2209595],[24.7345371,35.2210837],[24.7348438,35.2209782],[24.7348559,35.2211021],[24.7353935,35.2210086],[24.7354486,35.2210286],[24.7353833,35.2211056],[24.7356357,35.2210635],[24.7356042,35.2212215],[24.7354629,35.2214027],[24.7355736,35.2214922],[24.7354103,35.22166],[24.7354221,35.2217501],[24.7356088,35.2217354],[24.7356332,35.2220058],[24.7357756,35.2219553],[24.7358861,35.2220245],[24.7361165,35.2219893],[24.7361514,35.2222033],[24.7362284,35.2222096],[24.7361961,35.2222864],[24.7362954,35.2223264],[24.7362083,35.2224171],[24.7363403,35.2224366],[24.7363302,35.2225268],[24.7365065,35.2225821],[24.736496,35.2226362],[24.7367159,35.2226484],[24.7368249,35.2225508],[24.7370227,35.2225586],[24.7371674,35.2227584],[24.7374545,35.2229144],[24.7376857,35.2229694],[24.7376535,35.223053],[24.7377533,35.2231493],[24.7374142,35.2233182],[24.7370408,35.2233407],[24.7369322,35.2234857],[24.7370208,35.2235618],[24.7369552,35.2236027],[24.7369779,35.2236793],[24.7371651,35.2237277],[24.7370013,35.2238392],[24.7370129,35.223909],[24.7370902,35.2239491],[24.7372547,35.2239075],[24.7371465,35.224102],[24.7372779,35.2240449],[24.7373119,35.2241551],[24.7374764,35.2241271],[24.7374555,35.2242444],[24.7377114,35.22459],[24.7378241,35.2249004],[24.7378677,35.2248595],[24.7380056,35.2255372],[24.738106,35.2256944],[24.7382478,35.2255831],[24.7384143,35.2257692],[24.7385014,35.2256785],[24.7385197,35.2252703],[24.7385746,35.22527],[24.7387685,35.2248315],[24.738812,35.2247907],[24.7388673,35.2248309],[24.7390196,35.2246587],[24.7392062,35.2246282],[24.7394355,35.2244758],[24.7395892,35.2244546],[24.7397989,35.2245637],[24.7403044,35.2245606],[24.740602,35.2246625],[24.7410067,35.2244594],[24.7411177,35.2244993],[24.7411592,35.224312],[24.7416189,35.2241085],[24.7426557,35.2233267],[24.7438509,35.2230556],[24.7446052,35.2226227],[24.7455489,35.2214379],[24.7455898,35.2210996],[24.7455433,35.2208226],[24.7453539,35.2205397],[24.7453172,35.2201252],[24.745447,35.2199012],[24.7458947,35.2195941],[24.7457939,35.2193874],[24.7458462,35.219103],[24.7457445,35.2187993],[24.7457984,35.2186795],[24.7463561,35.2183853],[24.7463863,35.2180875],[24.7467843,35.2171586],[24.7468158,35.2169916],[24.7467244,35.2166112],[24.7464174,35.2164598],[24.7459957,35.2160048],[24.7457943,35.2156048],[24.745529,35.2154261],[24.7455268,35.2151917],[24.7458208,35.2148991],[24.7458848,35.2146913],[24.7455596,35.2139652],[24.7456019,35.2137846],[24.745765,35.2136032],[24.7461049,35.2135245],[24.7466943,35.2131061],[24.7469106,35.2125795],[24.7468436,35.2124537],[24.7469086,35.2123564],[24.7468195,35.2122262],[24.7467491,35.211742],[24.7469996,35.211497],[24.7472806,35.2109903],[24.74739,35.2109332],[24.7477313,35.2110145],[24.7481734,35.2113026],[24.749265,35.2117332],[24.7495839,35.2117582],[24.7510282,35.2111114],[24.7522569,35.2109189],[24.7538603,35.2108526],[24.7549557,35.2104918],[24.7556776,35.2101492],[24.7559861,35.2101675],[24.7561067,35.2101397],[24.7567409,35.210413],[24.7572885,35.2102225],[24.757739,35.2102265],[24.7579799,35.2101483],[24.7581324,35.2100076],[24.7583263,35.2095916],[24.7586328,35.2094657],[24.7590942,35.2094628],[24.7595589,35.2098116],[24.7597346,35.2098105],[24.7604112,35.2093148],[24.7609576,35.209007],[24.7611748,35.2087284],[24.7612813,35.2083738],[24.7613623,35.2082989],[24.7615427,35.2076103],[24.7617803,35.2071805]]},{"id":16028,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: \u039b\u03bf\u03c7\u03c1\u03b9\u03ac-\u039d\u03af\u03b8\u03b1\u03c5\u03c1\u03b9\u03c2","description_GR":"","path":"Crete\/Crete_Psiloritis_Lochria_Nithavris","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":10986,"name_EN":"Psiloritis: Lochria-Nithavris","description_EN":"","ascent_time":255,"descent_time":255,"marker":"No_marks","level":12,"ascent":703,"descent":774,"maxelev":1107,"minelev":476,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.73292 35.15485,24.8041 35.18047)","views":9,"millestones":"0,24.8041057,35.1551276#1,24.7989734,35.1591777#2,24.7909213,35.1625866#3,24.7894682,35.1691940#4,24.7835041,35.1756408#5,24.7749302,35.1796102#6,24.7680418,35.1779554#7,24.7605806,35.1765079#8,24.7526381,35.1746614#9,24.7473764,35.1746735#11.0,24.7328489,35.1727612","x":24.7699971,"y":35.1799562,"coor":[[24.8041057,35.1551276],[24.8034629,35.1548591],[24.8030634,35.1548527],[24.8028337,35.1549354],[24.8024312,35.1553167],[24.8030664,35.1551502],[24.8032758,35.155239],[24.8033647,35.1553466],[24.803366,35.1554728],[24.8030392,35.1557365],[24.8028879,35.155981],[24.8031112,35.1563582],[24.8031129,35.1565385],[24.8021603,35.1573541],[24.8019982,35.1576257],[24.8008517,35.1582644],[24.8004709,35.1584112],[24.8003285,35.1584482],[24.7994094,35.1585625],[24.7992798,35.1587798],[24.7995451,35.1589674],[24.7995899,35.1590572],[24.7992083,35.1593303],[24.7990546,35.1593313],[24.7989428,35.1591246],[24.7987996,35.1590805],[24.7977807,35.159511],[24.7973376,35.1598881],[24.7967136,35.1600816],[24.7963951,35.1602843],[24.7963193,35.160393],[24.7961215,35.1603763],[24.7958917,35.1604499],[24.7947997,35.1610702],[24.7941643,35.1612096],[24.7938898,35.1612114],[24.7933832,35.1610525],[24.791704,35.1611266],[24.7916577,35.1610232],[24.7914388,35.1610967],[24.7911972,35.1610983],[24.7912676,35.1614225],[24.791443,35.1613943],[24.7914774,35.1615383],[24.791076,35.1620459],[24.7910899,35.1623433],[24.7909712,35.1625605],[24.7908292,35.1626336],[24.7901715,35.1627461],[24.7899317,35.162928],[24.7898436,35.1629105],[24.7896033,35.1630383],[24.7896807,35.1630919],[24.7896266,35.1631734],[24.789671,35.1632272],[24.7894764,35.1635351],[24.7895445,35.1637691],[24.7891518,35.1640331],[24.789221,35.1643843],[24.7891575,35.1646282],[24.7892896,35.1646634],[24.789313,35.1648075],[24.7891379,35.1648718],[24.7891499,35.1649799],[24.7889544,35.1651976],[24.7888122,35.1652526],[24.7890225,35.1654316],[24.7890136,35.165648],[24.788472,35.166409],[24.7882099,35.166564],[24.7880051,35.1669621],[24.7880396,35.1671241],[24.7882388,35.1672851],[24.7882958,35.1675012],[24.7882318,35.1676909],[24.7883749,35.1677261],[24.788497,35.1678696],[24.7883681,35.1681589],[24.7884895,35.1682303],[24.7886102,35.1682205],[24.7885999,35.1682927],[24.7887321,35.1683279],[24.7887438,35.168409],[24.7890859,35.1685871],[24.7891989,35.1689109],[24.7894638,35.1690535],[24.7894798,35.1695764],[24.789286,35.1699744],[24.7892792,35.1704072],[24.7891503,35.1706966],[24.7892616,35.1708582],[24.7892557,35.1713812],[24.7891699,35.1715891],[24.7889722,35.1715904],[24.7889399,35.1716538],[24.7884804,35.1718371],[24.7882524,35.1721091],[24.7880885,35.1721913],[24.7881446,35.1723172],[24.7879581,35.1723364],[24.7876757,35.1726538],[24.7864873,35.1735452],[24.7861185,35.1740165],[24.7856809,35.1741906],[24.7853078,35.1742201],[24.7851446,35.1743835],[24.7849694,35.1744387],[24.784567,35.1748381],[24.7844917,35.1750009],[24.7842286,35.1750567],[24.7839133,35.1753833],[24.7835745,35.1755568],[24.7832597,35.1759376],[24.7827683,35.1762293],[24.7822782,35.1766562],[24.7812176,35.177141],[24.7809127,35.1774135],[24.7808158,35.1776125],[24.7800756,35.178014],[24.779881,35.1782001],[24.7797961,35.1785072],[24.7796542,35.1785983],[24.7790846,35.1787552],[24.7778351,35.1790067],[24.7774402,35.1794939],[24.7770619,35.179848],[24.7766633,35.1797874],[24.7764868,35.1797074],[24.7759445,35.1794133],[24.7757355,35.1793786],[24.7755828,35.1794878],[24.7753304,35.1795164],[24.7751667,35.1796257],[24.774914,35.1796093],[24.7747504,35.1797275],[24.7741139,35.1797857],[24.7732048,35.180044],[24.7726877,35.1799391],[24.7723144,35.1799505],[24.7716911,35.180234],[24.7710425,35.180175],[24.7699971,35.1799562],[24.7699743,35.1798662],[24.7701712,35.1797838],[24.770192,35.1796574],[24.7700249,35.179406],[24.7697044,35.1791916],[24.7696123,35.1787414],[24.7694786,35.1785439],[24.7695675,35.1774883],[24.7695325,35.1772631],[24.7693442,35.177093],[24.7691351,35.1770492],[24.7687953,35.1771145],[24.7687212,35.1771961],[24.7684916,35.1773058],[24.7681671,35.1778308],[24.7679821,35.1780123],[24.7675978,35.1780238],[24.7672229,35.1778549],[24.7665413,35.177778],[24.7657746,35.1779993],[24.7655122,35.1781272],[24.7651737,35.1783367],[24.7648915,35.1786901],[24.7642574,35.1790007],[24.7639837,35.1790926],[24.7630184,35.1792159],[24.7628597,35.17912],[24.7627608,35.1791206],[24.7624564,35.179375],[24.7618856,35.1794056],[24.7616438,35.1793891],[24.761333,35.1790304],[24.7613506,35.1785614],[24.7609953,35.1781489],[24.7606865,35.1768343],[24.7605635,35.1766007],[24.7606994,35.1758604],[24.760654,35.1756984],[24.7607942,35.175427],[24.7607483,35.1752109],[24.760627,35.1751576],[24.7602181,35.1751015],[24.7597546,35.174861],[24.7587879,35.174831],[24.7582703,35.1746719],[24.7576118,35.1747121],[24.7573697,35.1746595],[24.7566209,35.1744455],[24.7565519,35.1741033],[24.7564081,35.173996],[24.7559261,35.1741253],[24.755553,35.1741546],[24.7553014,35.1742554],[24.7550621,35.1745003],[24.7546454,35.1745751],[24.7542824,35.1745052],[24.7537308,35.1742291],[24.7531589,35.1742146],[24.753083,35.1743233],[24.7526235,35.1745065],[24.7526425,35.1747048],[24.7523403,35.1752837],[24.7525067,35.175463],[24.7527274,35.1755789],[24.7527062,35.1756601],[24.752082,35.1758534],[24.7518457,35.1759112],[24.7516413,35.175926],[24.7513517,35.17593],[24.7512961,35.1758583],[24.7508008,35.1757351],[24.7508163,35.1757756],[24.7506409,35.1758127],[24.7506529,35.1759209],[24.7505441,35.1760297],[24.7502337,35.175937],[24.7500679,35.1758208],[24.7497381,35.1757868],[24.7493761,35.1758251],[24.7491354,35.1759257],[24.7490054,35.1761249],[24.7488624,35.1760987],[24.7488462,35.1762702],[24.7486177,35.176506],[24.7483794,35.1763407],[24.7481167,35.1764325],[24.7478634,35.1763619],[24.7476685,35.1766607],[24.7477247,35.1768046],[24.7476593,35.1768591],[24.7472268,35.1764019],[24.7470472,35.1759702],[24.7470857,35.1753839],[24.7473709,35.1746698],[24.7473697,35.1745345],[24.7472811,35.1744539],[24.7468084,35.1744027],[24.7466099,35.1743138],[24.7465179,35.1736313],[24.7463762,35.1737494],[24.7459588,35.173743],[24.7448741,35.1734814],[24.7450411,35.1737373],[24.7449321,35.1738192],[24.7445808,35.1738303],[24.7442977,35.1736517],[24.7442242,35.1732645],[24.7439793,35.1729053],[24.7438366,35.1729062],[24.7436068,35.1729978],[24.7430947,35.1734427],[24.7425609,35.1734618],[24.7422415,35.1733555],[24.7418252,35.1734663],[24.7401675,35.1735305],[24.7396504,35.1734165],[24.7392111,35.1734191],[24.7380178,35.1726149],[24.7379191,35.1726245],[24.7376687,35.1728695],[24.7371978,35.1730076],[24.7370436,35.1729635],[24.7367995,35.1726764],[24.7364127,35.1724083],[24.7366441,35.1727247],[24.7366572,35.1729591],[24.7364154,35.1729335],[24.7362513,35.1730066],[24.736056,35.1730394],[24.7358469,35.1729865],[24.7353177,35.1727553],[24.7346373,35.1728135],[24.734287,35.1729329],[24.7342595,35.1727798],[24.7340503,35.1727179],[24.7337641,35.1727918],[24.7334998,35.1727032],[24.7331722,35.1726781],[24.7329625,35.1725712],[24.7328489,35.1727612]]},{"id":16032,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: \u03a0\u03bb\u03b1\u03c4\u03ac\u03bd\u03b9\u03b1-\u03a4\u03af\u03bc\u03b9\u03bf\u03c2 \u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03c2","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03c4\u03bf\u03c5 \u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03b4\u03c5\u03c4\u03b9\u03ba\u03ae \u03ba\u03cc\u03c8\u03b7","path":"Crete\/Crete_Psiloritis_Platania_TimiosStavros","activity_type":33,"assistance":1,"difficulty":3,"scenic_value":4,"length":15467,"name_EN":"Psiloritis: Platania-Timios Stavros","description_EN":"Ascent to the summit of Psiloritis via the western ridge","ascent_time":565,"descent_time":460,"marker":"Red_dots","level":12,"ascent":2247,"descent":236,"maxelev":2448,"minelev":416,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.70378 35.22626,24.77091 35.2607)","views":27,"millestones":"0,24.7043640,35.2291979#1,24.7086200,35.2342212#2,24.7154709,35.2368209#3,24.7115179,35.2400400#4,24.7171921,35.2450845#5,24.7115745,35.2511491#6,24.7210820,35.2526703#7,24.7296083,35.2537216#8,24.7310193,35.2580928#9,24.7382809,35.2590744#10,24.7459609,35.2537390#11,24.7512890,35.2474743#12,24.7503492,35.2407699#13,24.7578391,35.2382153#14,24.7636237,35.2310514#15.5,24.7709151,35.2262631","x":24.7258987,"y":35.2526406,"coor":[[24.704364,35.2291979],[24.7043553,35.2294616],[24.7040081,35.2299686],[24.7037903,35.2302043],[24.7035934,35.2303046],[24.7036126,35.2303857],[24.703515,35.2305305],[24.7037137,35.2306376],[24.7036818,35.230764],[24.7037828,35.2310069],[24.7037413,35.2312956],[24.7038745,35.2314391],[24.7041172,35.2315549],[24.7042285,35.2317166],[24.7044489,35.2317874],[24.7046816,35.2320025],[24.7047045,35.2321106],[24.7048144,35.2321099],[24.7051151,35.2325771],[24.7051158,35.2326582],[24.7049845,35.2327221],[24.7050181,35.232794],[24.7052725,35.2329819],[24.7056354,35.2330158],[24.705726,35.2333219],[24.7058905,35.2332849],[24.7059541,35.233014],[24.7060847,35.2328599],[24.706195,35.2329134],[24.7062716,35.2328769],[24.7063694,35.2327411],[24.7066261,35.2328004],[24.706737,35.232926],[24.7071015,35.2331313],[24.7073984,35.2331566],[24.7075766,35.233426],[24.7075233,35.2336157],[24.7077014,35.2338762],[24.707989,35.2340909],[24.7085177,35.2342321],[24.7090447,35.2341749],[24.7092875,35.2342817],[24.7092556,35.2344081],[24.7095641,35.2344964],[24.709773,35.2345132],[24.7099593,35.234449],[24.7102344,35.2344925],[24.710538,35.2340218],[24.7108776,35.2338936],[24.7109205,35.2337761],[24.711096,35.23373],[24.7116128,35.2337631],[24.7121534,35.2340124],[24.712274,35.2339756],[24.7125392,35.2341453],[24.7127503,35.2344056],[24.7126313,35.2346227],[24.7127427,35.2347934],[24.7126222,35.2348391],[24.7127872,35.2348562],[24.7130066,35.2348008],[24.7131066,35.2349265],[24.7131051,35.2349941],[24.7134034,35.2351727],[24.7132615,35.2352817],[24.7132947,35.2353176],[24.7136027,35.2353428],[24.713734,35.2352789],[24.7136591,35.2355138],[24.713826,35.2357473],[24.7139581,35.2357645],[24.7141465,35.2359437],[24.7143991,35.2359332],[24.7145317,35.2360136],[24.7147186,35.2360215],[24.7154033,35.2363962],[24.7157676,35.2365067],[24.7155286,35.2368147],[24.715276,35.2368433],[24.7148247,35.2367558],[24.7147602,35.2369184],[24.7146292,35.2370274],[24.7148601,35.2370351],[24.7148839,35.2372423],[24.715171,35.2374029],[24.7150393,35.2374217],[24.7153593,35.2375641],[24.7152499,35.2376189],[24.714986,35.2376114],[24.7148771,35.2377202],[24.7145918,35.237776],[24.7145933,35.2379383],[24.7146709,35.238019],[24.7144843,35.2380472],[24.7144628,35.2381014],[24.7146398,35.2382356],[24.7143656,35.2383003],[24.7142786,35.2384],[24.7141815,35.238608],[24.7143022,35.2385893],[24.7143036,35.2387516],[24.7140589,35.2390393],[24.7138946,35.2391034],[24.7137072,35.2390414],[24.7134877,35.2390787],[24.7135333,35.2392588],[24.7132684,35.2391341],[24.7133362,35.2393501],[24.7131949,35.2395313],[24.7125979,35.23912],[24.7125199,35.2390033],[24.7124883,35.2391567],[24.7124442,35.239139],[24.7124461,35.2393554],[24.7123134,35.239266],[24.7122482,35.2393475],[24.7120501,35.2393216],[24.7117443,35.2395398],[24.7113419,35.2400291],[24.7113334,35.2403177],[24.7115938,35.2399284],[24.7117143,35.2398826],[24.7118143,35.2400083],[24.712099,35.2398894],[24.7123558,35.2403477],[24.71261,35.2405085],[24.712764,35.2405257],[24.7129743,35.2406867],[24.7131279,35.2406588],[24.7132508,35.2408925],[24.7133721,35.2409369],[24.7134737,35.2412428],[24.7138068,35.2416286],[24.7144259,35.2420397],[24.7144911,35.2419582],[24.714391,35.2418145],[24.7143443,35.2415082],[24.7143763,35.2413998],[24.7144422,35.2413904],[24.7150644,35.2421622],[24.7153432,35.2426204],[24.7160745,35.2432833],[24.7162083,35.2435079],[24.7166729,35.2436833],[24.7168499,35.2438175],[24.717006,35.244069],[24.716888,35.2443943],[24.7169025,35.2445611],[24.7173379,35.2453339],[24.717306,35.2454513],[24.716867,35.2455261],[24.716135,35.2460263],[24.7154528,35.2459402],[24.7151895,35.2459958],[24.7151138,35.2461406],[24.7151287,35.2465823],[24.7148022,35.2469539],[24.7143687,35.2476598],[24.7141235,35.2485268],[24.7140259,35.2486807],[24.7138509,35.2487809],[24.7131595,35.2489022],[24.7128639,35.2490392],[24.7121338,35.2497649],[24.7116644,35.2501373],[24.7112269,35.2503833],[24.7112505,35.2505635],[24.7116189,35.2512196],[24.7121729,35.2517123],[24.7130997,35.2521126],[24.7139945,35.2526122],[24.7144242,35.2527269],[24.7148905,35.2527061],[24.7154273,35.2528111],[24.7159239,35.2530336],[24.7170884,35.2529546],[24.7180274,35.2531745],[24.7186648,35.2531526],[24.7195619,35.2526694],[24.7199345,35.252541],[24.7202394,35.2522236],[24.7204844,35.2525828],[24.7206503,35.25269],[24.7208704,35.2527247],[24.7215285,35.2525585],[24.72196,35.2528806],[24.7226238,35.2527323],[24.7234149,35.2527005],[24.7240841,35.2525523],[24.7244249,35.2525502],[24.7247118,35.2526748],[24.7256011,35.2525522],[24.7258987,35.2526406],[24.7266825,35.2530236],[24.7268484,35.2531398],[24.7272044,35.2536066],[24.7275576,35.2537758],[24.7286542,35.2534716],[24.7289168,35.2533438],[24.7293232,35.2533053],[24.7301422,35.2530862],[24.7290545,35.2543731],[24.728291,35.255036],[24.7280553,35.2557226],[24.7281107,35.2557764],[24.7287024,35.2555564],[24.7295473,35.2553891],[24.7303585,35.2551407],[24.7307886,35.2550615],[24.7319291,35.255138],[24.7321518,35.2555356],[24.7322538,35.2558776],[24.7322248,35.2563196],[24.7319201,35.2566641],[24.7316931,35.2570893],[24.7310743,35.2579586],[24.7307302,35.2588173],[24.730282,35.2590905],[24.7302507,35.2592801],[24.7303407,35.2595162],[24.7308045,35.2597478],[24.7311812,35.2600702],[24.7316889,35.2602925],[24.7325038,35.2604499],[24.7325791,35.2602691],[24.7326668,35.2602325],[24.7328873,35.2603033],[24.7331861,35.2605269],[24.733361,35.2604177],[24.7337781,35.260343],[24.7347747,35.2599222],[24.7359711,35.2597165],[24.7363862,35.2594255],[24.7368902,35.2592421],[24.7378672,35.2590828],[24.7384387,35.2590703],[24.7389649,35.2589048],[24.7392602,35.2587407],[24.7395783,35.2586666],[24.7401251,35.2583477],[24.7403209,35.2581211],[24.7404959,35.2580298],[24.7406255,35.2577766],[24.7410085,35.2575759],[24.7420604,35.2572087],[24.7429279,35.2571042],[24.7432459,35.2570121],[24.7443185,35.2565006],[24.7449469,35.2554959],[24.7451383,35.2547914],[24.7454199,35.2543298],[24.7453634,35.2541588],[24.7456149,35.254013],[24.7457032,35.2540575],[24.746051,35.2536226],[24.7462129,35.253297],[24.7466291,35.2531321],[24.7468381,35.2531489],[24.7473417,35.2529293],[24.747891,35.2528899],[24.7487766,35.2523705],[24.7491251,35.2520166],[24.7492546,35.2517634],[24.749397,35.2517084],[24.7495493,35.2515361],[24.7499866,35.2512719],[24.7503052,35.2512519],[24.7507323,35.251087],[24.7507859,35.2509334],[24.7508412,35.2509691],[24.750895,35.2508515],[24.7509373,35.2506619],[24.7507693,35.2503293],[24.7507556,35.2500319],[24.7508833,35.2495802],[24.7507811,35.2492202],[24.7510062,35.2485966],[24.7514965,35.2481337],[24.7514932,35.2477731],[24.7513591,35.2475395],[24.7509046,35.2471185],[24.7507172,35.2470656],[24.7506297,35.2471112],[24.7502776,35.2470683],[24.7502974,35.2468247],[24.7502416,35.2467349],[24.7497913,35.2467738],[24.749582,35.246721],[24.7493823,35.2465238],[24.7492125,35.2459929],[24.7488778,35.245454],[24.7488763,35.2452826],[24.7489737,35.2451197],[24.7489711,35.2448402],[24.748561,35.2444641],[24.7485475,35.2441936],[24.7485991,35.2438236],[24.7487076,35.2436697],[24.748777,35.2428577],[24.7489253,35.2422437],[24.7488435,35.2417212],[24.7489401,35.2414681],[24.7494435,35.2412306],[24.7499447,35.2407586],[24.7500433,35.2407219],[24.7501432,35.2408295],[24.7505817,35.2407006],[24.7506263,35.2407724],[24.750901,35.2407707],[24.7510032,35.2411217],[24.751523,35.2414792],[24.751766,35.2416039],[24.7519518,35.2414946],[24.7522061,35.2416553],[24.7525587,35.2417523],[24.7526011,35.2415807],[24.7528404,35.2413087],[24.7530488,35.2412713],[24.7532253,35.2413333],[24.753324,35.2413147],[24.7542829,35.2404251],[24.7545122,35.2402523],[24.7548297,35.2401241],[24.7552102,35.2396709],[24.7556282,35.2397134],[24.7558691,35.2396217],[24.7559115,35.2394501],[24.7560761,35.239422],[24.7560315,35.2393502],[24.7561617,35.239169],[24.7562597,35.2390783],[24.7563916,35.2390774],[24.7564119,35.238897],[24.756566,35.238914],[24.7567819,35.2384979],[24.7569151,35.2386414],[24.7569473,35.23856],[24.7570357,35.2386136],[24.7571665,35.2384955],[24.7573539,35.2385575],[24.7574417,35.2385389],[24.7576168,35.2384566],[24.7577905,35.2382301],[24.7580864,35.2381381],[24.7583579,35.2377938],[24.7584456,35.2377662],[24.7588455,35.2370423],[24.7589985,35.2369512],[24.7591938,35.2366795],[24.7592141,35.236499],[24.7592464,35.2364267],[24.7593016,35.2364534],[24.7596439,35.2354504],[24.7600015,35.2348981],[24.7600979,35.234636],[24.7605878,35.234137],[24.7606631,35.2339652],[24.7611752,35.2334931],[24.7621935,35.23309],[24.762565,35.2328622],[24.76287,35.2325717],[24.7631058,35.2319391],[24.763538,35.2311429],[24.7637447,35.2309252],[24.7637193,35.2305556],[24.7637729,35.230411],[24.7638593,35.2302482],[24.7640996,35.2300934],[24.7638419,35.229572],[24.7639018,35.2289224],[24.7645297,35.2279176],[24.7652152,35.2271919],[24.7656549,35.2272072],[24.7662033,35.2270955],[24.7668801,35.2266133],[24.7670803,35.2268736],[24.7672566,35.2269265],[24.7673443,35.2268989],[24.7675069,35.2266635],[24.7677052,35.2267163],[24.7681442,35.2266594],[24.7683537,35.2267302],[24.7685937,35.2265484],[24.7696685,35.2263251],[24.7709151,35.2262631]]},{"id":16033,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2: \u03a0\u03bf\u03c1\u03b5\u03af\u03b1 \u03c3\u03c4\u03bf \u0394\u03ac\u03c3\u03bf\u03c2 \u03c4\u03bf\u03c5 \u03a1\u03bf\u03cd\u03b2\u03b1","description_GR":"\u039a\u03c5\u03ba\u03bb\u03b9\u03ba\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03c3\u03c4\u03bf \u03b4\u03ac\u03c3\u03bf\u03c2 \u03a1\u03bf\u03cd\u03b2\u03b1","path":"Crete\/Crete_Psiloritis_Rouvas_loop","activity_type":32,"assistance":2,"difficulty":2,"scenic_value":3,"length":13383,"name_EN":"Psiliritis: Rouvas forest","description_EN":"Loop trail along Rouvas forest","ascent_time":315,"descent_time":305,"marker":"Red_dots","level":12,"ascent":877,"descent":877,"maxelev":1517,"minelev":914,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.89314 35.16581,24.91633 35.20432)","views":25,"millestones":"0,24.9148507,35.1658203#1,24.9125685,35.1723075#2,24.9098634,35.1805534#3,24.9102344,35.1883151#4,24.9154798,35.1939251#5,24.9103246,35.1976648#6,24.9050542,35.2038545#7,24.8956823,35.2032448#8,24.8932639,35.1966764#9,24.8974872,35.1906876#10,24.8986694,35.1841408#11,24.9019449,35.1768974#12,24.9059114,35.1697562#13.4,24.9148507,35.1658203","x":24.8995919,"y":35.2030566,"coor":[[24.9148507,35.1658203],[24.914387,35.1662093],[24.9138303,35.166502],[24.9134134,35.1665322],[24.9129604,35.166468],[24.9139611,35.1669113],[24.9138752,35.1670833],[24.9139974,35.1672086],[24.9138789,35.1674079],[24.9133996,35.1677541],[24.9132921,35.1679623],[24.9132845,35.1682689],[24.9122483,35.1688899],[24.9120095,35.1691351],[24.9122205,35.1693499],[24.9122554,35.1705038],[24.9123694,35.1708817],[24.9123538,35.1714499],[24.9126146,35.1721873],[24.9123263,35.1729198],[24.9118947,35.1736083],[24.9119951,35.1737518],[24.9121101,35.1742108],[24.9119482,35.1744645],[24.9120151,35.1745542],[24.9118329,35.1751416],[24.9114234,35.1756609],[24.9106716,35.1761896],[24.9101516,35.1768246],[24.9100996,35.1770865],[24.910239,35.1777707],[24.9101278,35.1786372],[24.9099379,35.1793329],[24.9099663,35.1799098],[24.9098639,35.1805778],[24.9097055,35.181147],[24.9093266,35.1816368],[24.9092236,35.1822507],[24.9092915,35.1824283],[24.9092736,35.1827981],[24.9095893,35.1835261],[24.9095901,35.1837875],[24.909749,35.1842462],[24.9101103,35.1846402],[24.9101805,35.1848403],[24.9103466,35.1849653],[24.9102606,35.1851283],[24.9103163,35.1852],[24.9102521,35.1853537],[24.9102529,35.1854259],[24.9103737,35.185425],[24.9103457,35.1857453],[24.9105893,35.1860455],[24.9105803,35.1862169],[24.9108333,35.186251],[24.9106967,35.1868111],[24.9107755,35.1869818],[24.9110067,35.1870342],[24.9111416,35.1873037],[24.9108702,35.1875943],[24.910798,35.1880096],[24.9102734,35.188248],[24.9100795,35.188583],[24.909753,35.188856],[24.9099201,35.1890711],[24.9099445,35.1892874],[24.9096828,35.1894516],[24.9098164,35.1896129],[24.9098651,35.1900454],[24.9105423,35.1906895],[24.9105995,35.1908964],[24.9106879,35.1909408],[24.9110338,35.1914252],[24.9113994,35.1917019],[24.9118733,35.1918516],[24.9122013,35.1917139],[24.9126957,35.1917282],[24.9131013,35.191653],[24.9136851,35.1918019],[24.9139159,35.1918092],[24.9140816,35.1918981],[24.9142164,35.1921676],[24.9144591,35.1922559],[24.9144601,35.1923461],[24.9148802,35.1925864],[24.9149482,35.1927752],[24.9152135,35.1929265],[24.915336,35.1930788],[24.9154959,35.1936186],[24.9154782,35.1939975],[24.9158758,35.1941928],[24.9159762,35.1943363],[24.9159216,35.1943638],[24.9159556,35.1944537],[24.9162877,35.1946856],[24.9165674,35.1951344],[24.9164933,35.1953874],[24.9165928,35.1954407],[24.9164617,35.1955048],[24.9166601,35.1955665],[24.9165108,35.1959643],[24.9166569,35.1962608],[24.9165151,35.196352],[24.9160874,35.1962876],[24.9155793,35.196039],[24.9150896,35.1964485],[24.914874,35.1968108],[24.9141636,35.1971317],[24.9140096,35.1971148],[24.9137552,35.1969545],[24.9124846,35.1972796],[24.9114305,35.1973146],[24.9108501,35.1974813],[24.9105097,35.1974929],[24.9103032,35.1976838],[24.9102393,35.1978646],[24.9100428,35.1979742],[24.9097028,35.1980219],[24.9092846,35.1979529],[24.9090437,35.1980268],[24.9088484,35.1982447],[24.9087436,35.1986963],[24.9082664,35.1992409],[24.9082783,35.199331],[24.9083556,35.1993665],[24.9085193,35.1992661],[24.9086735,35.199301],[24.9086335,35.1996619],[24.9079687,35.2001358],[24.9076384,35.2000661],[24.9075181,35.2001121],[24.9071154,35.2004488],[24.9069432,35.2007747],[24.9069043,35.2012258],[24.9064781,35.2024102],[24.9061983,35.2029352],[24.9055031,35.2036437],[24.9051974,35.2038173],[24.9035324,35.2042445],[24.9030472,35.2040859],[24.9022436,35.2039296],[24.9015841,35.2038984],[24.901319,35.2037651],[24.9009461,35.203822],[24.9005568,35.203888],[24.900269,35.2036918],[24.8995543,35.203634],[24.8995919,35.2030566],[24.8989532,35.2029171],[24.8984673,35.2026863],[24.8981822,35.2027335],[24.8978106,35.2029075],[24.8974706,35.2029552],[24.8967736,35.2035103],[24.8962252,35.2035865],[24.8956721,35.203239],[24.8957484,35.2031843],[24.8960127,35.2032455],[24.8962322,35.2032258],[24.8962749,35.2031083],[24.895501,35.2026632],[24.8951664,35.2022058],[24.8949683,35.2021712],[24.8945757,35.2024356],[24.8944331,35.2024547],[24.8945238,35.2017056],[24.894253,35.2010494],[24.8939193,35.2006731],[24.8935115,35.2005499],[24.8934555,35.2004511],[24.8936926,35.2000346],[24.893639,35.1991514],[24.8934913,35.1987106],[24.8935527,35.1982954],[24.8935023,35.1977097],[24.8934564,35.1975297],[24.8931905,35.1973153],[24.8930549,35.1969736],[24.893119,35.1968109],[24.8933474,35.1966018],[24.8939817,35.1963469],[24.8944205,35.1962895],[24.8946721,35.1961975],[24.8951785,35.196302],[24.8955498,35.1961009],[24.8960986,35.1960607],[24.8969508,35.1956397],[24.8973977,35.1953298],[24.8979516,35.1947576],[24.8984971,35.1934191],[24.8986321,35.1927148],[24.898666,35.1926717],[24.8985423,35.1924111],[24.8985615,35.1921585],[24.8983505,35.1919527],[24.8982827,35.1917819],[24.8979507,35.1915589],[24.8978829,35.1913791],[24.8976269,35.1910744],[24.8973095,35.1901751],[24.8970086,35.1897806],[24.8969626,35.1896006],[24.896386,35.1890999],[24.8959996,35.1889225],[24.8959326,35.1888238],[24.8956425,35.1886591],[24.8959668,35.1879309],[24.896217,35.1877126],[24.8960848,35.1876775],[24.896303,35.1875406],[24.8964313,35.1872241],[24.8969448,35.1869769],[24.8966447,35.1866545],[24.8967104,35.186636],[24.8967091,35.1865187],[24.8969708,35.1863455],[24.8971008,35.1861822],[24.8970735,35.1856955],[24.8971612,35.1856768],[24.897509,35.1853497],[24.8974673,35.1855483],[24.8974235,35.1855667],[24.8973679,35.185504],[24.8975301,35.1852683],[24.8984347,35.1846305],[24.8987676,35.1839427],[24.8988157,35.1833292],[24.8988806,35.1832386],[24.8988011,35.1820039],[24.8989546,35.1809838],[24.8989062,35.1805784],[24.8988051,35.1803718],[24.8986392,35.1802648],[24.8984049,35.179933],[24.8984002,35.1795002],[24.8985499,35.1791384],[24.8988215,35.1788659],[24.8989172,35.1785857],[24.8992004,35.1783671],[24.8992785,35.1781028],[24.8994514,35.1778491],[24.8999199,35.177512],[24.9017504,35.1770115],[24.9026232,35.176491],[24.9029171,35.1762544],[24.9029486,35.1761189],[24.9030456,35.176019],[24.9034088,35.1760884],[24.9038162,35.1759997],[24.903815,35.1758915],[24.9042274,35.1754466],[24.9041387,35.1753751],[24.9041422,35.1746989],[24.9042835,35.1745625],[24.9044532,35.1740203],[24.9044886,35.1732536],[24.9043648,35.172984],[24.9043858,35.1728937],[24.9045601,35.1727661],[24.9048497,35.1721508],[24.9045813,35.171711],[24.9045758,35.1712151],[24.9048469,35.1709065],[24.9050977,35.1707424],[24.9052242,35.1702726],[24.9054737,35.1701151],[24.905486,35.1701083],[24.9056811,35.1698814],[24.9060195,35.1696985],[24.9060291,35.1695722],[24.9061389,35.1695714],[24.9062395,35.169733],[24.9063491,35.1697141],[24.9063796,35.1694975],[24.9063221,35.1692635],[24.90659,35.1686664],[24.9067321,35.1676194],[24.9071014,35.1672559],[24.9074506,35.1670549],[24.9080054,35.1665909],[24.9087535,35.1667115],[24.9088533,35.166801],[24.9090842,35.1668353],[24.9098517,35.1667304],[24.9099847,35.1668376],[24.9103262,35.1669432],[24.9106133,35.1670222],[24.9110955,35.1669374],[24.9116091,35.1667171],[24.9122319,35.1666832],[24.9129604,35.166468],[24.9134134,35.1665322],[24.9138303,35.166502],[24.914387,35.1662093],[24.9148507,35.1658203]]},{"id":16145,"author":"AnaDigit","name_GR":"\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2:\u039f \u03b4\u03c1\u03cc\u03bc\u03bf\u03c2 \u03c4\u03b7\u03c2 \u03bc\u03cd\u03b3\u03b1\u03c2","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ad\u03c2 \u03c3\u03c4\u03bf \u0393\u03b5\u03c9\u03c0\u03ac\u03c1\u03ba\u03bf \u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03b9","path":"Geology\/GEO_Psiloritis_dromos_mygas","activity_type":71,"assistance":2,"difficulty":1,"scenic_value":3,"length":2171,"name_EN":"Psiloritis: The fly way","description_EN":"The Psiloritis Geopark routes","ascent_time":90,"descent_time":85,"marker":"Red_dots","level":12,"ascent":86,"descent":86,"maxelev":1138,"minelev":1081,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.8919 35.26252,24.90013 35.26645)","views":16,"millestones":"0,24.8989141,35.2663002#1,24.8945360,35.2629161#2.2,24.8989155,35.2663002","x":24.8947319,"y":35.2628891,"coor":[[24.8989141,35.2663002],[24.8990776,35.2661728],[24.8996155,35.2660967],[24.9000957,35.2657775],[24.9001594,35.2655787],[24.9001139,35.2654347],[24.8997251,35.265077],[24.8997745,35.2645739],[24.8996512,35.2643584],[24.8996933,35.2641868],[24.8996246,35.2639348],[24.8995361,35.2638904],[24.89911,35.264128],[24.8986953,35.2644016],[24.8986632,35.264483],[24.898101,35.2643429],[24.8977783,35.2639936],[24.8979276,35.2635778],[24.8978032,35.2632631],[24.8976153,35.2631743],[24.897513,35.2628685],[24.8971381,35.2627631],[24.8970823,35.2626914],[24.8964432,35.2625519],[24.8961253,35.2626354],[24.8959507,35.2627539],[24.8958412,35.2627908],[24.8957855,35.262728],[24.8953916,35.2629023],[24.8947319,35.2628891],[24.8943148,35.2629463],[24.8939165,35.2627148],[24.8936964,35.2626984],[24.8934664,35.2627722],[24.8931456,35.2635951],[24.8928398,35.2637777],[24.8928627,35.2638677],[24.8923584,35.2639887],[24.8920496,35.2639008],[24.8918763,35.2641365],[24.8919461,35.2646815],[24.8921267,35.2649168],[24.8921607,35.2650158],[24.8923378,35.2651226],[24.8932421,35.2653775],[24.8938791,35.2653187],[24.8940764,35.2652631],[24.8943274,35.2650989],[24.8944929,35.2651518],[24.8946788,35.2650603],[24.8951215,35.2653275],[24.8952352,35.2656693],[24.8953576,35.2658036],[24.8957973,35.2658004],[24.8960712,35.2657082],[24.8970649,35.2659713],[24.8983779,35.2664034],[24.8989155,35.2663002]]}],{"extent":[24.70378,35.13953,24.97925,35.29222],"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":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Attavyros_summit":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_36km_Lindos_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Kattavia_Skiadeni_loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"Car_touring\/CAR_Rodos_Lindos_Sport":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false}}}); 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_psiloritis = new getPoiCollection("psiloritis",[{"name":"\u0399\u03b4\u03b1\u03af\u03bf\u03bd \u0391\u03bd\u03c4\u03c1\u03bf\u03bd
\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2","owner":"\u03a1\u03b5\u03b3\u03b3\u03af\u03bd\u03b1 \u039a\u03bf\u03cd\u03c4\u03c3\u03b7","x":24.829396,"y":35.208318,"photo":"Cave_Ideon","type":73,"zoom_level":11,"id":27,"hlink_GR":"http:\/\/www.cretanbeaches.com\/spilaia\/spilaia-rethymn%CE%BFy\/spilaio-idaion-antron\/","hlink_EN":"http:\/\/www.cretanbeaches.com\/Caves\/Rethymno-Caves\/ideon-andron-cave\/","description":"\u03a4\u03bf \u0399\u03b4\u03b1\u03af\u03bf \u0386\u03bd\u03c4\u03c1\u03bf \u03b2\u03c1\u03af\u03c3\u03ba\u03b5\u03c4\u03b1\u03b9 \u03c3\u03c4\u03b9\u03c2 \u03b1\u03bd\u03b1\u03c4\u03bf\u03bb\u03b9\u03ba\u03ad\u03c2 \u03c0\u03b1\u03c1\u03b5\u03b9\u03ad\u03c2 \u03c4\u03bf\u03c5 \u03cc\u03c1\u03bf\u03c5\u03c2 \u038a\u03b4\u03b7 (\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2), \u03c3\u03c4\u03bf \u03bf\u03c1\u03bf\u03c0\u03ad\u03b4\u03b9\u03bf \u03c4\u03b7\u03c2 \u039d\u03af\u03b4\u03b1\u03c2. \u0388\u03c7\u03b5\u03b9 \u03c4\u03b5\u03c1\u03ac\u03c3\u03c4\u03b9\u03b1 \u03bc\u03c5\u03b8\u03bf\u03bb\u03bf\u03b3\u03b9\u03ba\u03ae \u03ba\u03b1\u03b9 \u03c0\u03bf\u03bb\u03b9\u03c4\u03b9\u03c3\u03bc\u03b9\u03ba\u03ae \u03b1\u03be\u03af\u03b1, \u03ba\u03b1\u03b8\u03ce\u03c2 \u03ae\u03c4\u03b1\u03bd \u03c4\u03bf \u03c3\u03c0\u03ae\u03bb\u03b1\u03b9\u03bf \u03c0\u03bf\u03c5 \u03c3\u03cd\u03bc\u03c6\u03c9\u03bd\u03b1 \u03bc\u03b5 \u03c4\u03bf \u03bc\u03cd\u03b8\u03bf \u03bc\u03b5\u03b3\u03ac\u03bb\u03c9\u03c3\u03b5 \u03bf \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03bf\u03c2 \u03b8\u03b5\u03cc\u03c2 \u03c4\u03b7\u03c2 \u03b1\u03c1\u03c7\u03b1\u03b9\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2, \u03bf \u0394\u03af\u03b1\u03c2. \u0392\u03c1\u03af\u03c3\u03ba\u03b5\u03c4\u03b1\u03b9 \u03c3\u03b5 \u03c5\u03c8\u03cc\u03bc\u03b5\u03c4\u03c1\u03bf 1538 m. \u0397 \u03bc\u03b5\u03b3\u03ac\u03bb\u03b7 \u03c4\u03bf\u03c5 \u03b5\u03af\u03c3\u03bf\u03b4\u03cc\u03c2 \u03c4\u03bf\u03c5 \u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03b7\u03bd \u03b1\u03c0\u03cc\u03c4\u03bf\u03bc\u03b7 \u03b1\u03bd\u03b1\u03c4\u03bf\u03bb\u03b9\u03ba\u03ae \u03c0\u03bb\u03b1\u03b3\u03b9\u03ac \u03c4\u03bf\u03c5 \u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7 \u03c0\u03bf\u03c5 \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03b5\u03af \u03c4\u03bf \u03bc\u03b5\u03b3\u03ac\u03bb\u03bf \u03c1\u03ae\u03b3\u03bc\u03b1 \u03c4\u03b7\u03c2 \u03c0\u03b5\u03c1\u03b9\u03bf\u03c7\u03ae\u03c2. \u03a4\u03bf \u03c3\u03c0\u03ae\u03bb\u03b1\u03b9\u03bf \u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03b9\u03b4\u03b1\u03af\u03c4\u03b5\u03c1\u03b1 \u03b5\u03bd\u03c4\u03c5\u03c0\u03c9\u03c3\u03b9\u03b1\u03ba\u03cc \u03b1\u03c6\u03bf\u03cd \u03c3\u03c4\u03b5\u03c1\u03b5\u03af\u03c4\u03b1\u03b9 \u03b4\u03b9\u03ac\u03ba\u03bf\u03c3\u03bc\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03bc\u03b5\u03b3\u03ac\u03bb\u03b7\u03c2 \u03b1\u03bd\u03ac\u03c0\u03c4\u03c5\u03be\u03b7\u03c2, \u03ad\u03c7\u03b5\u03b9 \u03bc\u03ae\u03ba\u03bf\u03c2 800\u03c4\u03bc \u03ba\u03b1\u03b9 \u03b4\u03b9\u03b1\u03b8\u03ad\u03c4\u03b5\u03b9 \u03bc\u03b5\u03b3\u03ac\u03bb\u03b7 \u03ba\u03b5\u03bd\u03c4\u03c1\u03b9\u03ba\u03ae \u03b1\u03af\u03b8\u03bf\u03c5\u03c3\u03b1 \u03ba\u03b1\u03b9 \u03c0\u03bb\u03b5\u03c5\u03c1\u03b9\u03ba\u03ae \u03c3\u03c4\u03bf\u03ac \u03bc\u03ae\u03ba\u03bf\u03c5\u03c2 22 \u03bc\u03ad\u03c4\u03c1\u03c9\u03bd. \u03a7\u03c9\u03c1\u03af\u03b6\u03b5\u03c4\u03b1\u03b9 \u03b5\u03c3\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03ac \u03c3\u03b5 \u03c4\u03c1\u03b5\u03b9\u03c2 \u03b8\u03b1\u03bb\u03ac\u03bc\u03bf\u03c5\u03c2 \u03ba\u03b1\u03b9 \u03c4\u03bf \u03ac\u03b4\u03c5\u03c4\u03bf.","height":0,"width":0},{"name":"\u03a8\u0397\u039b\u039f\u03a1\u0395\u0399\u03a4\u0397\u03a3
\u03a0\u03bb\u03b1\u03ba\u03ce\u03b4\u03b5\u03b9\u03c2 \u03b1\u03c3\u03b2\u03b5\u03c3\u03c4\u03cc\u03bb\u03b9\u03b8\u03bf\u03b9 \u03c3\u03b7\u03bd \u03b1\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae","owner":"A. Bonetti","x":24.826490402217,"y":35.19895102318,"photo":"Crete Psiloritis 01","type":0,"zoom_level":13,"id":160,"hlink_GR":"","hlink_EN":"","description":"","height":342,"width":512},{"name":"\u03a7\u039b\u03a9\u03a1\u0399\u0394\u0391
\u03a4\u03bf \u03c4\u03bf\u03c0\u03b9\u03ba\u03cc \u03b5\u03bd\u03b4\u03b7\u03bc\u03b9\u03ba\u03cc Cephalanthera cucullata \u03b5\u03af\u03bd\u03b1\u03b9 \u03ad\u03bd\u03b1 \u03b1\u03c0\u03cc \u03c4\u03b1 \u03c3\u03c0\u03b1\u03bd\u03b9\u03cc\u03c4\u03b5\u03c1\u03b1 \u03c6\u03c5\u03c4\u03ac \u03c4\u03b7\u03c2 \u03ba\u03c1\u03ae\u03c4\u03b7\u03c2","owner":"AnaDigit","x":24.928843498227,"y":35.163103102613,"photo":"Cephalanthera_cucullata_Crete","type":1,"zoom_level":13,"id":531,"hlink_GR":"","hlink_EN":"","description":"","height":512,"width":287},{"name":"\u0397\u03a1\u0391\u039a\u039b\u0395\u0399\u039f
\u039f \u0386\u03b3\u03b9\u03bf\u03c2 \u0399\u03c9\u03ac\u03bd\u03bd\u03b7\u03c2 \u03c3\u03c4\u03bf \u03b4\u03ac\u03c3\u03bf\u03c2 \u03c4\u03bf\u03c5 \u03a1\u03bf\u03cd\u03b2\u03b1","owner":"AnaDigit","x":24.915346622464,"y":35.165769441216,"photo":"Crete_Agios_Ioanis_Rouva","type":9,"zoom_level":13,"id":544,"hlink_GR":"","hlink_EN":"","description":"","height":442,"width":512},{"name":"\u03a1\u0395\u0398\u03a5\u039c\u039d\u039f
\u03a0\u03b1\u03bb\u03b9\u03cc \u03b3\u03b5\u03c6\u03cd\u03c1\u03b9 \u03c3\u03c4\u03bf \u0391\u03bc\u03ac\u03c1\u03b9","owner":"AnaDigit","x":24.695287466041,"y":35.173167195976,"photo":"Crete_gefyri_Amari_563136_3892174","type":9,"zoom_level":14,"id":563,"hlink_GR":"","hlink_EN":"","description":"","height":343,"width":512},{"name":"\u0397\u03a1\u0391\u039a\u039b\u0395\u0399\u039f
\u03a0\u03b1\u03bb\u03b9\u03cc \u03bc\u03b9\u03c4\u03ac\u03c4\u03bf \u03c3\u03c4\u03bf\u03bd \u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7","owner":"AnaDigit","x":24.930034399026,"y":35.178832359793,"photo":"Crete_Mitato_voria_Rouva_korfes_Psiloriti","type":9,"zoom_level":13,"id":566,"hlink_GR":"","hlink_EN":"","description":"","height":512,"width":343},{"name":"\u03a1\u0395\u0398\u03a5\u039c\u039d\u039f
\u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7\u03c2
\u039d\u03af\u03b4\u03b1","owner":"AnaDigit","x":24.85787224769,"y":35.214200008619,"photo":"Crete_Nida_korfes_Psiloriti","type":0,"zoom_level":13,"id":567,"hlink_GR":"","hlink_EN":"","description":"\u03a4\u03bf \u03bf\u03c1\u03bf\u03c0\u03ad\u03b4\u03b9\u03bf \u03c4\u03b7\u03c2 \u039d\u03af\u03b4\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03bf\u03b9 \u03ba\u03bf\u03c1\u03c6\u03ad\u03c2 \u03c4\u03bf\u03c5 \u03a8\u03b7\u03bb\u03bf\u03c1\u03b5\u03af\u03c4\u03b7","height":272,"width":600},{"name":"\u039a\u03a1\u0397\u03a4\u0397
\u03a3\u03c0\u03ae\u03bb\u03b1\u03b9\u03bf \u0396\u03c9\u03bd\u03b9\u03b1\u03bd\u03ce\u03bd","owner":"\u0393. \u039d\u03c4\u03c1\u03b5\u03bd\u03bf\u03b3\u03b9\u03ac\u03bd\u03bd\u03b7\u03c2","x":24.839145,"y":35.298191,"photo":"Crete_Spileo_Zonianon_Dren","type":73,"zoom_level":12,"id":836,"hlink_GR":"","hlink_EN":"","description":"","height":450,"width":600}],{});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="
E4 Άγιος Υάκινθος-Νίδα
E4 Ανώγεια-Άγιος Υάκινθος
E4 Καμάρες-Νίδα
E4 Ρούβας-Νίδα
E4 Φουρφουράς-Τίμιος Σταυρός
E4 Καμάρες-Τίμιος Σταυρός
E4 Νίδα-Τίμιος Σταυρός
E4 Πρίνος-Δάσος Ρούβα
E4 Ζρός-Δάσος Ρούβα
Φουρφουράς-κατ. Τουμπωτός Πρίνος
Λοχριά-Νίθαυρις
Πλατάνια-Τίμιος Σταυρός
Πορεία στο Δάσος του Ρούβα
Ο δρόμος της μύγας
";}else{console.log('adventure list widget activated but div missing. Requested id: pathListDivId');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["psiloritis"],pc:["psiloritis"],url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png',showLogo: 1,showZoomTool: 1}; var overrideAfterLoad = function(map){ adventureCollection_psiloritis.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); }