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_crete_paleochora = new getAdventureCollection("crete_paleochora",[{"id":17653,"author":"AnaDigit","name_GR":"\u039b\u03b5\u03c5\u03ba\u03ac \u038c\u03c1\u03b7: E4 \u039a\u03bf\u03c5\u03c3\u03c4\u03bf\u03b3\u03ad\u03c1\u03b1\u03ba\u03bf-\u03a3\u03bf\u03cd\u03b3\u03b9\u03b1","description_GR":"\u039a\u03b1\u03c4\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf \u03954 \u03b1\u03c0\u03cc \u03c4\u03bf \u039a\u03bf\u03c5\u03c3\u03c4\u03bf\u03b3\u03ad\u03c1\u03b1\u03ba\u03bf \u03c3\u03c4\u03b7 \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1","path":"CRETE\/Crete_LefkaOri_Koustogerako_Sougia","activity_type":33,"assistance":1,"difficulty":3,"scenic_value":5,"length":5898,"name_EN":"Lefka Ori: E4 Koustogerako-Soughia","description_EN":"Walking down E4 from Koustogerako to Soughia","ascent_time":225,"descent_time":235,"marker":"E4","level":11,"ascent":83,"descent":585,"maxelev":507,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.81079 35.24843,23.83531 35.27807)","views":16,"millestones":"0,23.8352530,35.2781046#1,23.8270597,35.2747447#2,23.8192192,35.2711612#3,23.8178673,35.2647086#4,23.8127513,35.2586541#5,23.8147462,35.2522884#5.9,23.8108614,35.2483962","x":23.8159105,"y":35.2633159,"coor":[[23.835253,35.2781046],[23.8352113,35.2780031],[23.8348705,35.2779395],[23.834585,35.2777318],[23.8343104,35.2776232],[23.83408,35.2773704],[23.8338491,35.277334],[23.8333761,35.2774055],[23.8328601,35.2770261],[23.8323656,35.2768631],[23.8323545,35.2769442],[23.8322447,35.2768539],[23.832212,35.2767096],[23.832191,35.2762226],[23.8322904,35.2760424],[23.8322246,35.2759522],[23.8319057,35.2759517],[23.8314104,35.2761765],[23.8313005,35.2761763],[23.8308611,35.2759593],[23.8306528,35.2756705],[23.8300264,35.2755073],[23.8298283,35.2755791],[23.8291689,35.2754159],[23.82852,35.2755051],[23.8281904,35.2753424],[23.8276405,35.2754047],[23.8273989,35.2752601],[23.8273005,35.2749894],[23.8269275,35.2746102],[23.8269169,35.2744028],[23.8267965,35.2741862],[23.8265108,35.2740596],[23.8258622,35.2740045],[23.8257741,35.2740675],[23.8257957,35.2742749],[23.8257187,35.2743019],[23.8257824,35.2743899],[23.8247706,35.2744876],[23.8238792,35.274829],[23.8235934,35.2747925],[23.823231,35.2745755],[23.8225278,35.2743401],[23.8219791,35.2738433],[23.8212433,35.2734635],[23.820706,35.2727774],[23.8200136,35.2721948],[23.8195966,35.2718155],[23.8193997,35.2713734],[23.8189171,35.2708136],[23.8185557,35.2701638],[23.8182733,35.2686215],[23.8184505,35.2680627],[23.8184843,35.267684],[23.8184084,35.267197],[23.8182769,35.2670345],[23.8181558,35.2670794],[23.8181446,35.2671966],[23.8182088,35.2679902],[23.8181756,35.2680803],[23.8179887,35.268071],[23.8179426,35.2674984],[23.8177574,35.2667317],[23.817968,35.2659385],[23.8179046,35.2647932],[23.8177734,35.2644955],[23.8175102,35.2641614],[23.8174115,35.2640891],[23.8172905,35.264107],[23.8172717,35.2641926],[23.8170084,35.2639848],[23.8165251,35.2637677],[23.8159105,35.2633159],[23.8154381,35.2631439],[23.8147567,35.2630617],[23.8146908,35.2629985],[23.8149113,35.2627283],[23.8150116,35.2621694],[23.8150016,35.2617185],[23.8149145,35.2613397],[23.8145206,35.2605275],[23.8141802,35.2603196],[23.8134435,35.2603996],[23.813169,35.2602279],[23.8131143,35.2601286],[23.8131698,35.2599213],[23.8130276,35.2595875],[23.8131712,35.2592721],[23.8131716,35.2591008],[23.8130292,35.2588751],[23.812722,35.2586312],[23.8127888,35.2582706],[23.8127239,35.2578197],[23.812768,35.2577296],[23.8130433,35.2575587],[23.8134721,35.2575323],[23.8136481,35.2574424],[23.8141,35.2569381],[23.8142217,35.2566137],[23.8142118,35.2561177],[23.8141246,35.255784],[23.8141694,35.2554234],[23.8141147,35.2553151],[23.8140048,35.2552969],[23.8137076,35.2554858],[23.8129601,35.2554756],[23.8130595,35.2552594],[23.8133788,35.2550615],[23.8135551,35.2548544],[23.8140409,35.2539354],[23.8140086,35.2536287],[23.8138661,35.2534572],[23.8136795,35.2533667],[23.8138746,35.2530695],[23.814348,35.2527636],[23.8144807,35.2523941],[23.8148438,35.2522504],[23.814954,35.2521243],[23.8148597,35.2520633],[23.8148489,35.2519822],[23.8144206,35.2518012],[23.8144757,35.2517471],[23.8143879,35.2516568],[23.8142339,35.2516927],[23.8143003,35.2515305],[23.8142014,35.2515123],[23.8142236,35.2514221],[23.8140703,35.2511334],[23.8139164,35.2511602],[23.8137181,35.2513402],[23.813081,35.2511318],[23.8130592,35.2510687],[23.812577,35.2508763],[23.8124961,35.2506733],[23.81238,35.2504793],[23.8121276,35.2503166],[23.8121058,35.2502444],[23.8126686,35.2492895],[23.812764,35.2488658],[23.8121705,35.2488288],[23.8116739,35.2488213],[23.8116854,35.2485959],[23.8116086,35.2485236],[23.8114108,35.2484895],[23.8108614,35.2483962]]},{"id":17674,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: E4 \u03a7\u03c1\u03c5\u03c3\u03bf\u03c3\u03ba\u03b1\u03bb\u03af\u03c4\u03b9\u03c3\u03c3\u03b1-\u0395\u03bb\u03b1\u03c6\u03bf\u03bd\u03ae\u03c3\u03b9","description_GR":"\u03a0\u03b1\u03c1\u03ac\u03ba\u03c4\u03b9\u03b1 \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03a7\u03c1\u03c5\u03c3\u03bf\u03c3\u03ba\u03b1\u03bb\u03af\u03c4\u03b9\u03c3\u03c3\u03b1 \u03c3\u03c4\u03bf \u0395\u03bb\u03b1\u03c6\u03bf\u03bd\u03ae\u03c3\u03b9","path":"CRETE\/Crete_Elafonisi_Xrisoskalitisa_Elafonisi","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6282,"name_EN":"Crete: E4 Chrisoskalitissa-Elafonisi","description_EN":"Coastal trail from Chrisoskalitissa to Elafonisi","ascent_time":150,"descent_time":150,"marker":"Red_dots","level":12,"ascent":93,"descent":85,"maxelev":48,"minelev":3,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.52673 35.2728,23.54463 35.30981)","views":24,"millestones":"0,23.5371484,35.3098508#1,23.5314197,35.3039645#2,23.5275620,35.2962213#3,23.5311005,35.2888004#4,23.5367604,35.2820338#5,23.5372274,35.2758654#6.3,23.5446162,35.2757277","x":23.5343943,"y":35.2852377,"coor":[[23.5371484,35.3098508],[23.5370548,35.3088947],[23.537374,35.3080776],[23.536483,35.3080742],[23.536198,35.3079018],[23.5355834,35.307665],[23.5350215,35.3078161],[23.5346152,35.3076973],[23.5344985,35.3077239],[23.5344798,35.3071558],[23.534129,35.306938],[23.5338233,35.3065401],[23.5333619,35.3062701],[23.5322044,35.3051453],[23.5321695,35.3051136],[23.5319387,35.3046754],[23.5314367,35.3039791],[23.5309989,35.3035987],[23.5305852,35.3028577],[23.5301473,35.3025134],[23.5300722,35.3021705],[23.5298118,35.3019756],[23.5294193,35.301379],[23.5294,35.30091],[23.5292916,35.3006323],[23.5291399,35.300235],[23.5292525,35.2997936],[23.5294007,35.2994155],[23.528876,35.2988634],[23.5286129,35.2987181],[23.5287257,35.2982316],[23.5287932,35.2979749],[23.5286518,35.2977038],[23.5285988,35.297361],[23.5281296,35.29671],[23.528098,35.2964754],[23.5279772,35.2964298],[23.5275694,35.2962344],[23.5273952,35.2959271],[23.5273635,35.2957106],[23.5268168,35.2951494],[23.5268958,35.2948071],[23.5268539,35.2944462],[23.5270107,35.294138],[23.5269458,35.2939574],[23.5273002,35.293526],[23.5274546,35.2934455],[23.5274771,35.2933644],[23.5277375,35.2930363],[23.5280137,35.292812],[23.5282471,35.2923981],[23.5283797,35.2922904],[23.5283807,35.2921101],[23.5286913,35.2916514],[23.5287591,35.2913361],[23.52872,35.2909054],[23.5290624,35.2906542],[23.5290971,35.2903658],[23.529197,35.2901949],[23.5297593,35.2899627],[23.5301354,35.2895854],[23.530588,35.2892896],[23.5307763,35.2890559],[23.5310411,35.2889036],[23.5315077,35.2880759],[23.531839,35.2878337],[23.5320609,35.287501],[23.532337,35.2872946],[23.5324923,35.2870698],[23.5328124,35.2868546],[23.5330327,35.2867924],[23.5332961,35.2868836],[23.5334841,35.286704],[23.533881,35.2865251],[23.5341683,35.2862918],[23.534346,35.2859769],[23.5342934,35.2855619],[23.5343943,35.2852377],[23.5345935,35.2850131],[23.5347159,35.284752],[23.5350798,35.2845911],[23.5353897,35.2842407],[23.5356212,35.2841424],[23.5357215,35.2838993],[23.5359531,35.283792],[23.5363753,35.2833878],[23.5367503,35.2831909],[23.5369059,35.282912],[23.5367249,35.2818653],[23.5370008,35.2816951],[23.5373218,35.2813176],[23.5373349,35.2809479],[23.5374567,35.2807996],[23.5375755,35.2808204],[23.5376203,35.2806672],[23.5378076,35.2806139],[23.5378411,35.2805238],[23.5378416,35.2804336],[23.5377394,35.2803949],[23.5377175,35.2803768],[23.5376952,35.280255],[23.537781,35.2802012],[23.5376954,35.2797861],[23.5375645,35.2796053],[23.5378406,35.279399],[23.5378863,35.2791016],[23.53746,35.2786491],[23.5377922,35.2782356],[23.5377945,35.2778389],[23.5376626,35.2778293],[23.5375971,35.2777389],[23.5374093,35.2779005],[23.5372973,35.2782607],[23.5370549,35.278332],[23.5369452,35.2782955],[23.5364532,35.2778067],[23.5366421,35.2774467],[23.5365991,35.2772752],[23.5367095,35.2771945],[23.5368997,35.2766362],[23.536988,35.2765644],[23.5369896,35.2762849],[23.5370055,35.2760325],[23.5372372,35.2758981],[23.53714,35.2755731],[23.537317,35.2753934],[23.5372961,35.275195],[23.5375834,35.2749436],[23.5374745,35.2747719],[23.5375079,35.2746999],[23.5378599,35.2746742],[23.539206,35.2738497],[23.5395693,35.273761],[23.5405732,35.2729961],[23.5407493,35.2729697],[23.5410124,35.2731037],[23.5412772,35.2732986],[23.5417191,35.2733656],[23.5421378,35.2731959],[23.542424,35.2731429],[23.5430263,35.2729671],[23.5433781,35.2729684],[23.5437179,35.2727961],[23.5441345,35.273005],[23.5441669,35.2731134],[23.5434466,35.2741183],[23.5430592,35.2745677],[23.5431356,35.2746762],[23.5435531,35.2747409],[23.5438283,35.2746788],[23.5440477,35.2747698],[23.5443427,35.2750955],[23.5445205,35.2755019],[23.5446162,35.2757277]]},{"id":17675,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: E4 \u0395\u03bb\u03b1\u03c6\u03bf\u03bd\u03ae\u03c3\u03b9-\u039a\u03bf\u03c5\u03bd\u03c4\u03bf\u03cd\u03c1\u03b1","description_GR":"\u03a0\u03b1\u03c1\u03ac\u03ba\u03c4\u03b9\u03b1 \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf \u0395\u03bb\u03b1\u03c6\u03bf\u03bd\u03ae\u03c3\u03b9 \u03c3\u03c4\u03b7\u03bd \u039a\u03bf\u03c5\u03bd\u03c4\u03bf\u03cd\u03c1\u03b1","path":"CRETE\/Crete_Elafonisi_Elafonisi_Koundoura","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":19019,"name_EN":"Crete: E4 Elafonisi-Koundoura","description_EN":"Coastal trail from Elafonisi to Koundoura","ascent_time":470,"descent_time":465,"marker":"E4","level":12,"ascent":394,"descent":411,"maxelev":91,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.54305 35.23056,23.68225 35.27572)","views":50,"millestones":"0,23.5446158,35.2757277#1,23.5461815,35.2690691#2,23.5555739,35.2685653#3,23.5654558,35.2678474#4,23.5730680,35.2658904#5,23.5802019,35.2598895#6,23.5811204,35.2517181#7,23.5775097,35.2458217#8,23.5785929,35.2396316#9,23.5864149,35.2365768#10,23.5963688,35.2369381#11,23.6053826,35.2330748#12,23.6149779,35.2335465#13,23.6247329,35.2345785#14,23.6330018,35.2345616#15,23.6430373,35.2376023#16,23.6539904,35.2378174#17,23.6647261,35.2385634#19,23.6822481,35.2305663","x":23.5751135,"y":35.244915,"coor":[[23.5446158,35.2757277],[23.5445202,35.2755019],[23.5443424,35.2750955],[23.5440473,35.2747698],[23.543828,35.2746788],[23.5435527,35.2747409],[23.5431353,35.2746762],[23.5430589,35.2745677],[23.5434463,35.2741183],[23.5441666,35.2731134],[23.5441342,35.273005],[23.5437176,35.2727961],[23.5436477,35.2725028],[23.5434086,35.272015],[23.5433851,35.2718571],[23.5434862,35.2714607],[23.5439411,35.2711581],[23.5443182,35.2705734],[23.5445253,35.2704705],[23.5448121,35.2699396],[23.5448744,35.2698001],[23.5451969,35.2695105],[23.5455935,35.2693677],[23.5459678,35.2692789],[23.5460675,35.2691441],[23.5465862,35.2688034],[23.5471148,35.268643],[23.5474017,35.2684548],[23.547783,35.268348],[23.5479589,35.2683577],[23.5485093,35.2682245],[23.5487407,35.2681351],[23.5488073,35.2680182],[23.5490386,35.2679469],[23.5493898,35.2680654],[23.5494765,35.2682912],[23.5497283,35.2684815],[23.5500142,35.2684735],[23.5502775,35.2685737],[23.5504647,35.2685293],[23.5506403,35.268584],[23.5509275,35.2683417],[23.55094,35.2680712],[23.5516105,35.2680917],[23.5519849,35.2679849],[23.5521384,35.2680756],[23.5521923,35.2682562],[23.5523781,35.2684552],[23.5526202,35.2684201],[23.5533561,35.268558],[23.5540709,35.2685246],[23.5548071,35.2686175],[23.5558629,35.2685492],[23.5559077,35.2684051],[23.5559957,35.2683874],[23.5568956,35.2687063],[23.5571152,35.2687432],[23.5575992,35.2686999],[23.5577411,35.2688897],[23.5584327,35.2690996],[23.5587844,35.2691099],[23.5590806,35.2692373],[23.5594104,35.2692475],[23.559747,35.2691969],[23.5603177,35.2693883],[23.5607925,35.2690113],[23.5611884,35.2689947],[23.5614298,35.2690858],[23.5624092,35.268936],[23.5633128,35.2685425],[23.5644793,35.2683484],[23.564557,35.2682134],[23.5649212,35.2679442],[23.5653833,35.2678827],[23.5659235,35.2676142],[23.5667052,35.2674096],[23.5674191,35.2675564],[23.5679223,35.267193],[23.568099,35.2670404],[23.5684514,35.2669334],[23.5688046,35.2666732],[23.5690138,35.2666108],[23.5691772,35.2668909],[23.5693968,35.2669458],[23.5695823,35.267217],[23.5695592,35.2674333],[23.5694482,35.2676222],[23.5694695,35.2677666],[23.569315,35.2678652],[23.5692703,35.2680003],[23.5694569,35.2680551],[23.569853,35.2680024],[23.5706054,35.2670944],[23.5709257,35.266825],[23.5713992,35.2666824],[23.5722701,35.2662346],[23.5726665,35.2661188],[23.5732951,35.2657604],[23.5736261,35.2655271],[23.573649,35.2653649],[23.5738263,35.265095],[23.5745755,35.264791],[23.5753603,35.2639732],[23.5758451,35.2637676],[23.575977,35.2637861],[23.5761543,35.2635162],[23.5764405,35.263445],[23.5767822,35.2632659],[23.5768045,35.2632028],[23.5769475,35.2631853],[23.5771903,35.2630058],[23.5773886,35.2629434],[23.5774441,35.2628264],[23.5773131,35.2626546],[23.5774896,35.262538],[23.5775011,35.2624388],[23.5777438,35.2622864],[23.5779968,35.2622512],[23.5780742,35.2621613],[23.5783054,35.262099],[23.5784053,35.26191],[23.5790559,35.2615426],[23.5796082,35.2610395],[23.5797975,35.2605623],[23.5803963,35.2595725],[23.5805288,35.2594558],[23.580618,35.2592036],[23.5809053,35.258916],[23.5808619,35.2588077],[23.5809943,35.258709],[23.5809186,35.2584743],[23.581062,35.2583846],[23.5810198,35.2580418],[23.5810759,35.2578075],[23.5811308,35.2578348],[23.5812303,35.2577269],[23.5811764,35.2575193],[23.5812759,35.2573935],[23.5813114,35.2569067],[23.581433,35.2567718],[23.5810278,35.2564729],[23.5811395,35.2561396],[23.5810761,35.2556345],[23.5811769,35.2552741],[23.581112,35.2550755],[23.5811682,35.2548413],[23.581301,35.2546614],[23.581247,35.2544628],[23.5813823,35.2538051],[23.5815483,35.2535892],[23.5815177,35.2531293],[23.5810918,35.2525868],[23.5811072,35.2517392],[23.5812734,35.2514693],[23.5823965,35.2511125],[23.5824077,35.2510675],[23.5823985,35.2507158],[23.5825312,35.250572],[23.5822799,35.2502645],[23.5816991,35.2499199],[23.5815135,35.2496667],[23.5815144,35.2495044],[23.5814784,35.2494141],[23.5812591,35.2493052],[23.5802048,35.2491302],[23.5800335,35.248246],[23.5797711,35.2479745],[23.5796363,35.2477441],[23.5796284,35.2475277],[23.5797038,35.2474378],[23.5796939,35.2472304],[23.5798065,35.2471045],[23.5797741,35.2469962],[23.5795987,35.2469054],[23.5789726,35.2468221],[23.5784467,35.2464957],[23.5780847,35.2463501],[23.5773408,35.2456713],[23.5771653,35.2455985],[23.576516,35.2457495],[23.5758564,35.2457652],[23.5755946,35.2453856],[23.5751135,35.244915],[23.5751698,35.2446447],[23.5750827,35.2445002],[23.5753043,35.2441583],[23.5752831,35.2440049],[23.5754485,35.2438973],[23.5756906,35.2438441],[23.5758561,35.2437184],[23.5761994,35.2432237],[23.5765524,35.2429905],[23.5770168,35.2424511],[23.5772152,35.2423436],[23.577205,35.2421812],[23.5770523,35.2419553],[23.5771535,35.2415228],[23.5774849,35.2412084],[23.5774964,35.2411092],[23.5777285,35.2408485],[23.5777628,35.2405872],[23.5779175,35.2404434],[23.5781397,35.2399753],[23.5783937,35.2397327],[23.5787133,35.2395715],[23.5788131,35.2394096],[23.578781,35.2392291],[23.5789246,35.2391034],[23.5789143,35.2389591],[23.5790355,35.2388964],[23.5796324,35.238646],[23.5803355,35.2387025],[23.5807424,35.2386498],[23.5809189,35.2385152],[23.5813254,35.2385527],[23.5816554,35.2384907],[23.5818984,35.2382571],[23.5820525,35.2382125],[23.5822495,35.2383755],[23.5824141,35.2384212],[23.5825013,35.2385658],[23.5823897,35.238899],[23.5824223,35.2389712],[23.582817,35.2391529],[23.5830381,35.2389193],[23.5834014,35.2387853],[23.5836003,35.2385876],[23.5840632,35.2383187],[23.584594,35.2376893],[23.5849141,35.2374199],[23.585487,35.2371513],[23.5856961,35.2370979],[23.5858467,35.2371278],[23.58641,35.2365797],[23.5866525,35.2364385],[23.5870893,35.2363025],[23.5871609,35.2362869],[23.5873728,35.2361524],[23.5876919,35.2360633],[23.5881094,35.2360918],[23.5888573,35.2359861],[23.5897708,35.2357187],[23.5901113,35.2357559],[23.5904447,35.2358427],[23.5907519,35.2362157],[23.5909058,35.2362252],[23.5910043,35.2362977],[23.5913014,35.2362176],[23.5914552,35.2362361],[23.5918845,35.2360933],[23.5921043,35.236094],[23.5921488,35.235995],[23.5922475,35.2360404],[23.592479,35.2358879],[23.5930379,35.2362234],[23.5931918,35.2362149],[23.5935208,35.2363513],[23.5947615,35.2365899],[23.5950211,35.2367328],[23.5953173,35.236842],[23.5956436,35.2368521],[23.5964619,35.2369495],[23.5967249,35.2371036],[23.5969005,35.2371403],[23.5975393,35.2368719],[23.5984745,35.2366586],[23.5995102,35.236139],[23.6004228,35.2360429],[23.6016429,35.2360198],[23.6021126,35.2359605],[23.6023565,35.2355465],[23.6029737,35.2351699],[23.604181,35.2341684],[23.6050428,35.2332154],[23.6055163,35.2330186],[23.6058682,35.2329837],[23.6073122,35.2320777],[23.607708,35.2320429],[23.6081787,35.2319294],[23.6088925,35.232049],[23.6104856,35.2321262],[23.6106934,35.2323433],[23.6112536,35.2323992],[23.6114397,35.2325531],[23.6113949,35.2327243],[23.6114603,35.2328417],[23.6117894,35.232969],[23.6119972,35.233168],[23.6131844,35.2331087],[23.6133813,35.2332987],[23.6139872,35.233499],[23.6143604,35.2336084],[23.6146248,35.233465],[23.614909,35.2335019],[23.6153363,35.2337828],[23.6155193,35.2339367],[23.6156946,35.2340455],[23.6157826,35.2340277],[23.6159062,35.233451],[23.6162262,35.2331725],[23.6168249,35.2330256],[23.6175709,35.2332895],[23.6181052,35.2334535],[23.619851,35.2337926],[23.6220253,35.2341781],[23.6250104,35.234627],[23.6254022,35.2347116],[23.6259038,35.2348304],[23.6262225,35.2348314],[23.6264978,35.234715],[23.6270383,35.2342838],[23.6276435,35.2338957],[23.6277113,35.2334721],[23.6278439,35.2333192],[23.6285485,35.2330419],[23.6289116,35.2329618],[23.6294611,35.2329635],[23.6297903,35.2330547],[23.6305571,35.2336003],[23.6306003,35.2337808],[23.6303457,35.2341768],[23.6303995,35.2344294],[23.6306074,35.2346284],[23.6310468,35.2346838],[23.6328155,35.2345991],[23.6337175,35.2344214],[23.6340473,35.2344134],[23.6343435,35.2345225],[23.6361963,35.235538],[23.6370635,35.2357751],[23.6386993,35.2364021],[23.6407255,35.2372715],[23.6423836,35.2376191],[23.6434958,35.2375953],[23.6453316,35.237506],[23.6475486,35.2374201],[23.6515034,35.2378283],[23.65202,35.2378117],[23.6546042,35.2378101],[23.6558015,35.2379668],[23.6569335,35.23797],[23.6581853,35.2382351],[23.659471,35.2382657],[23.6609421,35.2386666],[23.6626775,35.238942],[23.6634358,35.2389441],[23.6639198,35.2388553],[23.6654608,35.2382915],[23.6732725,35.2361848],[23.674582,35.2357735],[23.6760573,35.2351283],[23.6767395,35.2349317],[23.6769812,35.2349504],[23.6779166,35.2346373],[23.67817,35.2344757],[23.6786011,35.2338276],[23.6791997,35.2325307],[23.6793792,35.2321232],[23.6796674,35.2314927],[23.6798664,35.2309432],[23.68101,35.2307659],[23.6815917,35.2306773],[23.6819767,35.2306061],[23.6822481,35.2305663]]},{"id":17676,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: E4 \u039a\u03bf\u03c5\u03bd\u03c4\u03bf\u03cd\u03c1\u03b1-\u03a0\u03b1\u03bb\u03b1\u03b9\u03cc\u03c7\u03c9\u03c1\u03b1","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b7\u03bd \u039a\u03bf\u03c5\u03bd\u03c4\u03bf\u03cd\u03c1\u03b1 \u03c3\u03c4\u03b7\u03bd \u03a0\u03b1\u03bb\u03b1\u03b9\u03cc\u03c7\u03c9\u03c1\u03b1","path":"CRETE\/Crete_Paleochora_Koundoura_Paleochora","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":5929,"name_EN":"Crete: E4 Koundoura-Paleochora","description_EN":"From Koundoura to Paleochora","ascent_time":135,"descent_time":135,"marker":"E4","level":11,"ascent":48,"descent":52,"maxelev":19,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.62499 35.23057,23.68224 35.23883)","views":19,"millestones":"0,23.6250063,35.2346292#1,23.6332733,35.2345106#2,23.6433180,35.2375972#3,23.6542712,35.2378204#4,23.6649827,35.2384713#5,23.6753246,35.2354526#5.9,23.6822440,35.2305685","x":23.6453274,"y":35.2375083,"coor":[[23.6250063,35.2346292],[23.6253981,35.2347138],[23.6259,35.2348326],[23.6262187,35.2348336],[23.626494,35.2347172],[23.6270345,35.2342861],[23.6276397,35.233898],[23.6277076,35.2334744],[23.6278401,35.2333215],[23.6285448,35.2330441],[23.6289078,35.2329641],[23.6294573,35.2329658],[23.6297865,35.2330569],[23.6305534,35.2336026],[23.6305965,35.233783],[23.6303419,35.234179],[23.6303957,35.2344316],[23.6306037,35.2346306],[23.631043,35.2346861],[23.6328114,35.2346036],[23.6337134,35.2344259],[23.6340431,35.2344179],[23.6343394,35.234527],[23.6361921,35.2355425],[23.6370593,35.2357796],[23.6386955,35.2364044],[23.6407214,35.2372738],[23.6423794,35.2376213],[23.6434916,35.2375976],[23.6453274,35.2375083],[23.6475448,35.2374223],[23.6514996,35.2378305],[23.6520162,35.237814],[23.6546,35.2378124],[23.6557973,35.2379691],[23.6569293,35.2379723],[23.6581811,35.2382373],[23.6594669,35.238268],[23.660938,35.2386689],[23.6626734,35.2389442],[23.6634317,35.2389463],[23.6639157,35.2388575],[23.6654567,35.2382937],[23.6732684,35.236187],[23.6745779,35.2357758],[23.6760532,35.2351305],[23.6767353,35.234934],[23.676977,35.2349526],[23.6779124,35.2346395],[23.6781658,35.2344779],[23.678597,35.2338298],[23.6791956,35.232533],[23.6793751,35.2321254],[23.6796633,35.231495],[23.6798622,35.2309455],[23.6810058,35.2307681],[23.6815876,35.2306795],[23.6819725,35.2306084],[23.682244,35.2305685]]},{"id":17677,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a6\u03b1\u03c1\u03ac\u03b3\u03b3\u03b9 \u0391\u03bd\u03cd\u03b4\u03c1\u03c9\u03bd","description_GR":"\u03a3\u03cd\u03bd\u03c4\u03bf\u03bc\u03b7, \u03b5\u03c5\u03c7\u03ac\u03c1\u03b9\u03c3\u03c4\u03b7 \u03c0\u03bf\u03c1\u03b5\u03af\u03b1","path":"CRETE\/Crete_Paleochora_Anydri_gorge","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":2661,"name_EN":"Crete: Anydri gorge","description_EN":"A short, yet nice trail","ascent_time":55,"descent_time":60,"marker":"Red_dots","level":13,"ascent":137,"descent":318,"maxelev":214,"minelev":15,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.71754 35.23899,23.72126 35.25292)","views":9,"millestones":"0,23.7204449,35.2529280#1,23.7205978,35.2486555#2,23.7193573,35.2426907#2.7,23.7191398,35.2389892","x":23.7191541,"y":35.2468972,"coor":[[23.7204449,35.252928],[23.7202476,35.2527472],[23.7197011,35.2518533],[23.7195583,35.2518259],[23.7190739,35.2520322],[23.7188322,35.2519956],[23.7175494,35.2510187],[23.7177473,35.2510192],[23.7181754,35.2511825],[23.7182197,35.2510924],[23.7181654,35.2508939],[23.7185284,35.2508226],[23.7187041,35.2508952],[23.7188471,35.2508504],[23.7196732,35.2503654],[23.7201984,35.2500646],[23.7204503,35.2503357],[23.7207249,35.2504175],[23.7210968,35.2503394],[23.7212071,35.2502315],[23.7212187,35.2500421],[23.7210545,35.2498614],[23.7210114,35.2496088],[23.7207483,35.2493828],[23.7206614,35.249076],[23.7206625,35.2487604],[23.7202034,35.248029],[23.7202698,35.2479029],[23.720446,35.2477951],[23.7204139,35.2475516],[23.7207675,35.2469933],[23.7207131,35.2468309],[23.7204626,35.2467469],[23.7204299,35.2466657],[23.720309,35.2466654],[23.7201548,35.2467733],[23.7200661,35.2469895],[23.7196802,35.2473312],[23.7193179,35.2472041],[23.7191867,35.2470235],[23.7191541,35.2468972],[23.7192094,35.2468071],[23.7190783,35.2465634],[23.7191228,35.2464102],[23.7190035,35.2459501],[23.7190589,35.2458149],[23.719169,35.2457791],[23.7192464,35.245626],[23.7198309,35.2450593],[23.7198647,35.2448249],[23.7198211,35.2447076],[23.7196234,35.2446801],[23.7192067,35.2443906],[23.7189923,35.2441241],[23.7188634,35.2439457],[23.7187876,35.2436209],[23.7192071,35.2430899],[23.7193846,35.2426214],[23.7198916,35.2421898],[23.7198373,35.2420183],[23.7197383,35.2420181],[23.7196509,35.2418826],[23.7193216,35.2417556],[23.7190475,35.2415476],[23.7190921,35.2413854],[23.7192459,35.2414038],[23.7196529,35.2413055],[23.7197191,35.2412155],[23.7196098,35.2410349],[23.7197434,35.2405573],[23.7196998,35.240431],[23.719645,35.2403858],[23.7192054,35.2404028],[23.7190847,35.2403394],[23.7190084,35.2401499],[23.7189871,35.2399605],[23.7190763,35.239582],[23.7193195,35.2391858],[23.7192978,35.2390775],[23.7191398,35.2389892]]},{"id":17678,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0391\u03bd\u03cd\u03b4\u03c1\u03bf\u03b9-\u03c0\u03b1\u03c1\u03b1\u03bb\u03af\u03b1 \u039a\u03b5\u03c1\u03b1\u03c4\u03af\u03b4\u03b5\u03c2","description_GR":"","path":"CRETE\/Crete_Paleochora_Anydri_Keratides","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":3516,"name_EN":"Crete: Anydri-Keratides beach","description_EN":"","ascent_time":75,"descent_time":80,"marker":"Red_dots","level":13,"ascent":96,"descent":276,"maxelev":215,"minelev":14,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.69662 35.23936,23.72046 35.25286)","views":5,"millestones":"0,23.7204112,35.2529235#1,23.7132232,35.2483079#2,23.7037777,35.2453490#3,23.6989390,35.2411060#3.5,23.6966668,35.2393069","x":23.7022851,"y":35.242797,"coor":[[23.7204112,35.2529235],[23.7202183,35.252781],[23.7197158,35.2518601],[23.719808,35.2516101],[23.7194949,35.2514764],[23.7192532,35.2514217],[23.7192867,35.2512865],[23.7191989,35.2512503],[23.7189342,35.2514841],[23.7187284,35.2515129],[23.7183995,35.2512597],[23.7181514,35.2511802],[23.7179756,35.2511617],[23.7177562,35.251035],[23.7173718,35.2509349],[23.7170976,35.250772],[23.7162851,35.2504905],[23.7155472,35.2503986],[23.7147617,35.2502931],[23.7149605,35.250014],[23.7149501,35.2498517],[23.7148075,35.2497612],[23.7145437,35.2497516],[23.7138522,35.2494704],[23.7135961,35.2489243],[23.7135088,35.2487437],[23.7132569,35.2485087],[23.7131922,35.2481388],[23.7130498,35.2480122],[23.7107853,35.248061],[23.7100384,35.2478879],[23.7095558,35.2476162],[23.7086439,35.2474878],[23.7076997,35.2471879],[23.7059409,35.2472107],[23.7051838,35.2468301],[23.7044186,35.2456651],[23.7040685,35.2455109],[23.7034981,35.245194],[23.7031369,35.2447783],[23.7029841,35.2444894],[23.7028768,35.2437677],[23.7024601,35.2430318],[23.7022851,35.242797],[23.7019558,35.2426789],[23.7012083,35.2427132],[23.7008677,35.2426582],[23.7006587,35.2427028],[23.700482,35.2429368],[23.7002842,35.2429183],[23.7001736,35.2431231],[23.7000872,35.2426991],[23.6998351,35.2425181],[23.6994946,35.2424542],[23.6994608,35.2426885],[23.6991767,35.2426878],[23.6986504,35.2423529],[23.6986517,35.2419922],[23.698498,35.2419467],[23.6983227,35.241793],[23.6984,35.241685],[23.6986313,35.2415684],[23.6986869,35.2413972],[23.698456,35.2414146],[23.6986105,35.2412347],[23.698567,35.2411264],[23.6992266,35.2410919],[23.6987661,35.2407842],[23.6990408,35.2408029],[23.6990409,35.2407669],[23.6986788,35.2405946],[23.6981408,35.240449],[23.6981411,35.2403859],[23.6977901,35.2401957],[23.6978453,35.2401237],[23.6976919,35.2399971],[23.6977581,35.2399161],[23.6977253,35.2398799],[23.6974288,35.239807],[23.6973187,35.2398609],[23.6971106,35.239671],[23.6969777,35.2399322],[23.6969228,35.239932],[23.6968572,35.2398327],[23.6968582,35.2395622],[23.6967362,35.2394875],[23.6966668,35.2393069]]},{"id":17679,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0391\u03bd\u03cd\u03b4\u03c1\u03bf\u03b9-\u03c0\u03b1\u03c1\u03b1\u03bb\u03af\u03b1 \u0393\u03b9\u03b1\u03bb\u03b9\u03c3\u03ba\u03ac\u03c1\u03b9","description_GR":"\u039c\u03b9\u03b1 \u03bc\u03b9\u03ba\u03c1\u03ae \u03c0\u03b5\u03c1\u03b9\u03c0\u03ad\u03c4\u03b5\u03b9\u03b1 \u03bc\u03b5 \u03c9\u03c1\u03b1\u03af\u03b1 \u03b8\u03ad\u03b1","path":"CRETE\/Crete_Paleochora_Anydri_Giakiskari","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3243,"name_EN":"Crete: Anydri-Giakiskari beach","description_EN":"A short adventure with nice view","ascent_time":75,"descent_time":75,"marker":"Red_dots","level":13,"ascent":171,"descent":366,"maxelev":267,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.71479 35.23709,23.72047 35.25291)","views":6,"millestones":"0,23.7204112,35.2529235#1,23.7157655,35.2483690#2,23.7159468,35.2431626#3.2,23.7202148,35.2371973","x":23.7161521,"y":35.246773,"coor":[[23.7204112,35.2529235],[23.7202183,35.252781],[23.7197158,35.2518601],[23.7195577,35.2517944],[23.7194952,35.2514764],[23.7192536,35.2514217],[23.719287,35.2512865],[23.7191992,35.2512503],[23.7189346,35.2514841],[23.7187287,35.2515129],[23.7183998,35.2512597],[23.7181517,35.2511802],[23.7181895,35.2510924],[23.7181208,35.2508893],[23.7177496,35.2501491],[23.717718,35.2497613],[23.7174331,35.2495081],[23.7174764,35.2494],[23.7174328,35.2492917],[23.7176203,35.2491208],[23.7183029,35.2487978],[23.7186437,35.2487806],[23.7182815,35.2486174],[23.7178529,35.2485894],[23.7176659,35.248652],[23.7174793,35.2485705],[23.7171163,35.2486417],[23.7171276,35.2485606],[23.7166987,35.2486047],[23.7163806,35.2484146],[23.7156444,35.2483588],[23.7157875,35.248287],[23.715392,35.2482409],[23.7153923,35.2481508],[23.7154805,35.2480698],[23.7157004,35.2480523],[23.7157996,35.2479624],[23.7162395,35.2479093],[23.7163351,35.2478644],[23.7165879,35.2478741],[23.7168522,35.2477304],[23.7166878,35.2475857],[23.7167544,35.2474056],[23.7165456,35.247387],[23.7165787,35.2473511],[23.7165239,35.2473058],[23.7163042,35.2472873],[23.7164914,35.2471705],[23.7162937,35.247134],[23.7163598,35.2470981],[23.7162172,35.2470166],[23.7164262,35.2469539],[23.7162176,35.2468994],[23.7163278,35.2468275],[23.7161521,35.246773],[23.7158125,35.2464476],[23.7154276,35.2464917],[23.7151303,35.2466533],[23.7148124,35.2463911],[23.7151096,35.245968],[23.7150663,35.2457785],[23.7150231,35.2455801],[23.7152993,35.2451569],[23.7156079,35.2449232],[23.7156964,35.2447791],[23.7155781,35.2440214],[23.71568,35.2438594],[23.7156477,35.2436699],[23.7157916,35.2433817],[23.7162113,35.2427786],[23.7162344,35.242463],[23.7163225,35.2424091],[23.7162791,35.2422648],[23.7163672,35.2422109],[23.7163542,35.2421026],[23.7163657,35.2419403],[23.7165537,35.2416072],[23.7165546,35.2413637],[23.7166649,35.2412557],[23.7166762,35.2411476],[23.7169733,35.2410581],[23.7169737,35.2409319],[23.71659,35.2406605],[23.7168108,35.2403905],[23.7168113,35.2402282],[23.7168884,35.2402013],[23.717053,35.2402738],[23.7173501,35.2401663],[23.7174269,35.2402116],[23.7175261,35.2401126],[23.7174388,35.2399321],[23.7175598,35.2399143],[23.7174834,35.2397608],[23.7175829,35.2395807],[23.7170789,35.2391467],[23.7171899,35.2388314],[23.7169711,35.2385243],[23.717196,35.2383467],[23.7184659,35.2382145],[23.7185442,35.2381132],[23.7184568,35.2379507],[23.7180373,35.2378866],[23.7185077,35.2378268],[23.7186298,35.2374935],[23.7189155,35.2375122],[23.7193654,35.237414],[23.7197072,35.2370857],[23.7202148,35.2371973]]},{"id":17680,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0391\u03b6\u03bf\u03b3\u03c5\u03c1\u03ad\u03c2-\u0391\u03bd\u03cd\u03b4\u03c1\u03bf\u03b9","description_GR":"","path":"CRETE\/Crete_Paleochora_Azogyres_Anydri","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3646,"name_EN":"Crete: Azogyres-Anydri","description_EN":"","ascent_time":95,"descent_time":80,"marker":"Red_dots","level":13,"ascent":313,"descent":102,"maxelev":417,"minelev":193,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.71125 35.25164,23.72352 35.27224)","views":3,"millestones":"0,23.7204449,35.2529280#1,23.7128704,35.2538961#2,23.7153171,35.2607879#3,23.7229300,35.2655350#3.6,23.7224631,35.2722674","x":23.7158819,"y":35.2611139,"coor":[[23.7204449,35.252928],[23.7203284,35.2529278],[23.7197358,35.2526288],[23.7197354,35.2527551],[23.7196693,35.252809],[23.719307,35.2526639],[23.7189549,35.2527713],[23.7187454,35.2529512],[23.7184151,35.2530947],[23.717472,35.2524432],[23.7170329,35.2522709],[23.716287,35.2518363],[23.715716,35.2516546],[23.7153534,35.2516177],[23.7149465,35.2516709],[23.7148032,35.2517787],[23.7146052,35.2518053],[23.7144405,35.2517508],[23.7143254,35.2516739],[23.7141165,35.2516734],[23.7139732,35.2517903],[23.7139501,35.2521058],[23.7137175,35.2526012],[23.7136183,35.2526731],[23.7128815,35.2527706],[23.7127486,35.2530588],[23.7127958,35.2537059],[23.7129241,35.254024],[23.71278,35.2543844],[23.7117204,35.2555901],[23.7117963,35.2558969],[23.7119172,35.2558972],[23.7117827,35.2566092],[23.7116383,35.2570507],[23.7113291,35.2574467],[23.7113066,35.2575729],[23.7114957,35.2579205],[23.712296,35.2585356],[23.7130541,35.2586726],[23.7138335,35.2589991],[23.7146546,35.2599568],[23.714829,35.260399],[23.7155964,35.261014],[23.7158819,35.2611139],[23.7160462,35.2612766],[23.7163645,35.2614126],[23.716507,35.2615391],[23.7166719,35.2615395],[23.7172973,35.2619197],[23.7178137,35.261993],[23.7182758,35.2619039],[23.7185835,35.2619227],[23.7189786,35.262122],[23.7190201,35.2628525],[23.719118,35.2631412],[23.7193042,35.2633581],[23.7194689,35.2633945],[23.719645,35.2633408],[23.7201716,35.2636847],[23.7206655,35.2639022],[23.7210172,35.2639481],[23.7212702,35.2638946],[23.7214675,35.2640754],[23.721775,35.2641663],[23.7227518,35.2646554],[23.7227948,35.2649621],[23.7230686,35.2652693],[23.7229247,35.2655395],[23.7230115,35.2659004],[23.7231622,35.2662298],[23.7233341,35.2663925],[23.7234651,35.2666724],[23.7231887,35.2671406],[23.7229001,35.2679335],[23.7228994,35.2681318],[23.7227107,35.2686724],[23.7227654,35.2687357],[23.7224339,35.2692399],[23.7223017,35.2693117],[23.7223003,35.2697265],[23.7222124,35.2696992],[23.7222665,35.2699698],[23.7225614,35.2705296],[23.7227257,35.2707013],[23.7227579,35.2709471],[23.7226972,35.2716277],[23.7224631,35.2722674]]},{"id":17681,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: E4 \u03a0\u03b1\u03bb\u03b1\u03b9\u03cc\u03c7\u03c9\u03c1\u03b1-\u03a3\u03bf\u03cd\u03b3\u03b9\u03b1","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b7\u03bd \u03a0\u03b1\u03bb\u03b1\u03b9\u03cc\u03c7\u03c9\u03c1\u03b1 \u03c3\u03c4\u03b7 \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1, \u03bc\u03ad\u03c3\u03c9 \u03b1\u03c1\u03c7\u03b1\u03af\u03b1\u03c2 \u039b\u03b9\u03c3\u03c3\u03bf\u03cd","path":"CRETE\/Crete_Paleochora_Paleochora_Sougia","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":14407,"name_EN":"Crete: E4 Paleochora-Sougia","description_EN":"From Paleochora to Sougia via the ancient city of Lissos","ascent_time":335,"descent_time":335,"marker":"E4","level":11,"ascent":658,"descent":664,"maxelev":263,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.68218 35.2308,23.8109 35.24812)","views":88,"millestones":"0,23.6822440,35.2305685#1,23.6890795,35.2366265#2,23.6984616,35.2391714#3,23.7092092,35.2396883#4,23.7187788,35.2385534#5,23.7274498,35.2394977#6,23.7361089,35.2395486#7,23.7459248,35.2395577#8,23.7552097,35.2415502#9,23.7651865,35.2421338#10,23.7755746,35.2433840#11,23.7845598,35.2418972#12,23.7914570,35.2451307#13,23.7991999,35.2458495#14.4,23.8108618,35.2483940","x":23.7540557,"y":35.2409903,"coor":[[23.682244,35.2305685],[23.682409,35.2305329],[23.6825259,35.2307496],[23.6826251,35.2309347],[23.682811,35.2311696],[23.6830516,35.2314881],[23.683467,35.2320392],[23.6837413,35.2319025],[23.684486,35.2325807],[23.6845612,35.232653],[23.6851559,35.2332339],[23.6856686,35.2342271],[23.6866555,35.2350525],[23.6870384,35.2355043],[23.6875752,35.2359565],[23.6877269,35.236516],[23.688529,35.2365902],[23.6887707,35.2366089],[23.6888445,35.2366158],[23.6901212,35.2366687],[23.6911537,35.2368336],[23.6924198,35.237441],[23.6934645,35.2375541],[23.6953303,35.2382351],[23.6955825,35.23838],[23.6956481,35.2384884],[23.6956577,35.2388671],[23.6957439,35.2393182],[23.6958317,35.2393544],[23.6960616,35.239328],[23.6966651,35.2393069],[23.6969405,35.2391273],[23.6976225,35.2389847],[23.6988744,35.2392674],[23.7004342,35.2394967],[23.7011266,35.2394984],[23.7019726,35.2395906],[23.7024893,35.2395558],[23.7037088,35.2396851],[23.7044331,35.2399844],[23.7050373,35.240067],[23.7064339,35.239836],[23.7073462,35.2398382],[23.7078075,35.2399295],[23.708291,35.2399306],[23.7095232,35.2396],[23.7102929,35.2395117],[23.7121066,35.2394438],[23.7128433,35.2393554],[23.7139532,35.2394031],[23.7144039,35.2393591],[23.7148444,35.2391257],[23.7152294,35.2390274],[23.7157908,35.2387763],[23.7160442,35.2385965],[23.7164414,35.2381466],[23.7169365,35.2380215],[23.7175847,35.2380862],[23.718036,35.2378888],[23.7184554,35.2379529],[23.7185428,35.2381154],[23.7184645,35.2382144],[23.7185738,35.238377],[23.7186761,35.2382916],[23.7188069,35.2386345],[23.7190776,35.2389169],[23.7193098,35.2387935],[23.7194016,35.238681],[23.7196878,35.2385374],[23.7199744,35.2382856],[23.7205605,35.2381427],[23.7207889,35.2379538],[23.7211159,35.2377359],[23.7212913,35.2378626],[23.7214763,35.238395],[23.7216732,35.238666],[23.7219253,35.2388649],[23.7222436,35.2389919],[23.7232873,35.2391205],[23.7239473,35.2389507],[23.7240018,35.2390861],[23.7242548,35.2390325],[23.7248591,35.239097],[23.7250022,35.2390252],[23.7253316,35.2391161],[23.7256504,35.2390988],[23.7256508,35.2389906],[23.7260026,35.2389373],[23.7264087,35.2391006],[23.7264849,35.2393352],[23.7267921,35.2394801],[23.7271,35.2394538],[23.7273525,35.2395265],[23.7274735,35.2394907],[23.727682,35.2395994],[23.7280013,35.2394197],[23.7281222,35.23942],[23.7282099,35.2395104],[23.7281544,35.2396545],[23.7285719,35.2397005],[23.7289003,35.2401071],[23.7291963,35.2403241],[23.7293821,35.2406311],[23.7298315,35.2410108],[23.7299632,35.2410833],[23.730172,35.2410747],[23.7306662,35.2412021],[23.7311393,35.2410498],[23.731249,35.2411132],[23.7320733,35.241124],[23.7324477,35.2409084],[23.7326241,35.2407285],[23.7328661,35.240693],[23.7328883,35.2406209],[23.7330754,35.2405491],[23.7332739,35.2403242],[23.733571,35.2402256],[23.734626,35.240264],[23.7349339,35.2402286],[23.7350546,35.240274],[23.7357254,35.2401672],[23.7357476,35.2401042],[23.7358905,35.2400864],[23.7360229,35.2399244],[23.7360679,35.2396089],[23.7361894,35.2394288],[23.7365751,35.2391051],[23.7367507,35.2391866],[23.7370364,35.2392143],[23.7373772,35.239179],[23.7377064,35.239342],[23.7378493,35.2393513],[23.7380357,35.239487],[23.7382994,35.2395056],[23.7385525,35.2394069],[23.7394322,35.2392736],[23.7397844,35.239103],[23.7400264,35.2390584],[23.7402247,35.2389056],[23.7404998,35.238798],[23.7414117,35.2388901],[23.7421701,35.2388827],[23.7428298,35.2388119],[23.7429616,35.2388393],[23.7437316,35.2386335],[23.7440282,35.2386702],[23.7442254,35.238869],[23.7443904,35.2388333],[23.74461,35.2388878],[23.7457946,35.2396568],[23.7459599,35.2395309],[23.7459593,35.2397203],[23.7460685,35.2399369],[23.7465181,35.2402715],[23.746639,35.2402537],[23.7471113,35.2403809],[23.7476607,35.2404181],[23.7478027,35.2406889],[23.7481439,35.2405273],[23.7487922,35.2406008],[23.7489795,35.2404389],[23.7494304,35.2403677],[23.749672,35.2404223],[23.7501887,35.2403783],[23.7504199,35.2402615],[23.7506616,35.2402981],[23.7508705,35.2402625],[23.7511011,35.2403441],[23.7510786,35.2405064],[23.7515397,35.2406696],[23.752243,35.2406981],[23.7528368,35.2406272],[23.7530013,35.2407357],[23.7531552,35.240727],[23.7535943,35.2408902],[23.7538247,35.241035],[23.7540557,35.2409903],[23.754747,35.2413524],[23.7549997,35.241371],[23.7555589,35.241841],[23.7562067,35.2420497],[23.7562063,35.2421759],[23.7564146,35.2423657],[23.7563704,35.2424378],[23.7570402,35.2426645],[23.7573487,35.2424307],[23.7576347,35.2423321],[23.7579752,35.2424139],[23.7587005,35.2424424],[23.7591846,35.2422901],[23.7605808,35.2421756],[23.7608663,35.2422844],[23.7610642,35.2422577],[23.7615474,35.242403],[23.7620206,35.2421875],[23.7624969,35.2421073],[23.7630575,35.2420723],[23.7639693,35.2422364],[23.7655305,35.2420952],[23.7659698,35.2422042],[23.7676515,35.2421804],[23.7686736,35.2422274],[23.7694244,35.2421184],[23.7698637,35.2422275],[23.7704544,35.2425081],[23.7712015,35.2426177],[23.7715092,35.2426093],[23.7716739,35.2426727],[23.7734219,35.2425317],[23.7736639,35.2424601],[23.774345,35.2425966],[23.7745755,35.2426962],[23.7746083,35.2427864],[23.7748497,35.2429311],[23.7751242,35.2430218],[23.775464,35.2433471],[23.7759033,35.2434922],[23.776332,35.2434839],[23.7764857,35.2435473],[23.7767049,35.2437732],[23.7771117,35.2437288],[23.7774299,35.2439098],[23.7776278,35.2438921],[23.7778365,35.2439556],[23.7784306,35.2437313],[23.7787171,35.2434613],[23.778937,35.2434436],[23.7789701,35.2433896],[23.7791901,35.2433359],[23.7794977,35.2434086],[23.7797617,35.2433009],[23.7800694,35.2433195],[23.7803547,35.2435003],[23.7805307,35.2434646],[23.780476,35.2433563],[23.7808716,35.243384],[23.7806961,35.2432485],[23.7807074,35.2431403],[23.7810262,35.2431138],[23.7810813,35.2430598],[23.7812681,35.2430782],[23.7817963,35.2428447],[23.7821372,35.2428002],[23.7821486,35.2426469],[23.7824015,35.2426203],[23.7824566,35.2425393],[23.7838203,35.2422622],[23.7840735,35.2421184],[23.7841618,35.2419562],[23.7842939,35.2418753],[23.7844709,35.2418531],[23.7845806,35.2419074],[23.7846793,35.2420068],[23.7847446,35.2422593],[23.7848546,35.2422325],[23.7849093,35.2423228],[23.7849069,35.2424445],[23.7853241,35.2426075],[23.7853982,35.242788],[23.7855159,35.2428288],[23.7855948,35.242874],[23.7856491,35.2431086],[23.7857259,35.2431628],[23.785579,35.2433812],[23.7857767,35.2434356],[23.7857764,35.2435619],[23.7859301,35.2436072],[23.786073,35.2436255],[23.7862052,35.2435176],[23.7865789,35.2434912],[23.7866226,35.2435904],[23.786952,35.2437173],[23.7871279,35.2437266],[23.7874251,35.2435468],[23.7875354,35.2433937],[23.7879752,35.2433403],[23.787843,35.2434573],[23.7880848,35.2434668],[23.7879085,35.2436288],[23.7879303,35.2437009],[23.7880732,35.2436922],[23.787831,35.243836],[23.7882927,35.2438098],[23.7884245,35.2438731],[23.7885559,35.2440627],[23.7889507,35.244397],[23.7890601,35.2446136],[23.7900921,35.2450663],[23.7905974,35.2451934],[23.7909164,35.2451038],[23.7913451,35.2450775],[23.7918062,35.2452947],[23.7922346,35.2453856],[23.7926523,35.2453863],[23.792817,35.2454587],[23.7931137,35.2454863],[23.7938171,35.2454875],[23.7944319,35.2457951],[23.7944754,35.2459665],[23.7949471,35.246355],[23.7949577,35.2465264],[23.7948473,35.2466975],[23.7949242,35.2467247],[23.7946932,35.2467784],[23.7944956,35.2466698],[23.7942758,35.2466875],[23.7943965,35.2467598],[23.7946028,35.2469608],[23.7948774,35.2470154],[23.7953065,35.2468718],[23.7954387,35.2467278],[23.7958899,35.2465212],[23.7966257,35.2467749],[23.7969665,35.2467484],[23.7972855,35.2466498],[23.7973627,35.2465597],[23.7975495,35.246569],[23.7976487,35.246461],[23.7977805,35.2464973],[23.7981548,35.2462635],[23.7983967,35.2462278],[23.7986169,35.2460929],[23.7987929,35.2460571],[23.7994862,35.2457066],[23.7996841,35.2456709],[23.7999704,35.245482],[23.800355,35.2455367],[23.8007392,35.2457177],[23.801003,35.2457362],[23.8012339,35.2457095],[23.8014099,35.2456196],[23.8016737,35.2456471],[23.8019266,35.2455934],[23.8027939,35.2460277],[23.8033765,35.2460106],[23.8035191,35.246137],[23.8036182,35.246047],[23.8041353,35.2458495],[23.8043332,35.2458408],[23.8047395,35.2460038],[23.804717,35.2461931],[23.8047938,35.2462834],[23.8051342,35.2464192],[23.8055298,35.2464739],[23.8064587,35.2472847],[23.8067663,35.2473573],[23.8075358,35.2473135],[23.8079421,35.2474854],[23.8083394,35.2478332],[23.8088446,35.2480324],[23.8102069,35.2483231],[23.8108618,35.248394]]},{"id":17682,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a7\u03c1\u03c5\u03c3\u03bf\u03c3\u03ba\u03b1\u03bb\u03af\u03c4\u03b9\u03c3\u03c3\u03b1-\u0386\u03c3\u03c0\u03c1\u03b7 \u039b\u03af\u03bc\u03bd\u03b7","description_GR":"\u03a0\u03b5\u03c1\u03af\u03c0\u03b1\u03c4\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03a7\u03c1\u03c5\u03c3\u03bf\u03c3\u03ba\u03b1\u03bb\u03af\u03c4\u03b9\u03c3\u03c3\u03b1 \u03c3\u03c4\u03b7\u03bd \u0386\u03c3\u03c0\u03c1\u03b7 \u039b\u03af\u03bc\u03bd\u03b7","path":"CRETE\/Crete_Elafonisi_Chrisoskalitissa_AspriLimni","activity_type":31,"assistance":1,"difficulty":1,"scenic_value":4,"length":1473,"name_EN":"Crete: Chrisoskalitissa-Aspri Limni","description_EN":"A walk from Chrisoskalitissa to Aspri Limni","ascent_time":25,"descent_time":25,"marker":"No_marks","level":12,"ascent":8,"descent":14,"maxelev":22,"minelev":10,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.52537 35.30629,23.53738 35.30901)","views":8,"millestones":"0,23.5373737,35.3080776#1,23.5296799,35.3082128#1.5,23.5253742,35.3090094","x":23.5316491,"y":35.3075619,"coor":[[23.5373737,35.3080776],[23.5364827,35.3080742],[23.5361977,35.3079018],[23.535583,35.307665],[23.5350212,35.3078161],[23.5346149,35.3076973],[23.5344982,35.3077239],[23.5344794,35.3071558],[23.5341287,35.306938],[23.533823,35.3065401],[23.5333615,35.3062701],[23.5331612,35.3066661],[23.5328517,35.3069354],[23.5324441,35.307042],[23.5321125,35.3073202],[23.5316491,35.3075619],[23.5316578,35.3079677],[23.5315911,35.3080847],[23.5306189,35.3088203],[23.5300096,35.3082521],[23.5295149,35.3081961],[23.5292065,35.308267],[23.5287777,35.3082293],[23.527977,35.3078384],[23.5272187,35.3077092],[23.5269321,35.3078163],[23.5265909,35.307851],[23.5263041,35.3079942],[23.5255966,35.3085955],[23.525397,35.3088653],[23.5253742,35.3090094]]},{"id":17683,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0391\u03b6\u03bf\u03b3\u03c5\u03c1\u03ad\u03c2-\u03a3\u03c0\u03b1\u03bd\u03b9\u03ac\u03ba\u03bf\u03c2","description_GR":"\u039c\u03ad\u03c3\u03c9 \u03c4\u03bf\u03c5 \u039f\u03b8\u03c9\u03bc\u03b1\u03bd\u03b9\u03ba\u03bf\u03cd \u03ba\u03ac\u03c3\u03c4\u03c1\u03bf\u03c5","path":"CRETE\/Crete_Paleochora_Azogyres_Spaniakos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3774,"name_EN":"Crete: Azogyres-Spaniakos","description_EN":"Via the ottoman castle","ascent_time":105,"descent_time":100,"marker":"Red_dots","level":13,"ascent":296,"descent":211,"maxelev":571,"minelev":376,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.69588 35.26594,23.71937 35.27306)","views":5,"millestones":"0,23.7193485,35.2721227#1,23.7136622,35.2701256#2,23.7088575,35.2700128#3,23.7001927,35.2661245#3.8,23.6968369,35.2730625","x":23.7011039,"y":35.2658978,"coor":[[23.7193485,35.2721227],[23.7193037,35.272357],[23.7190835,35.2724286],[23.7181604,35.2723003],[23.7175127,35.2719922],[23.7165675,35.2718998],[23.7161272,35.272025],[23.7161085,35.2710962],[23.7159117,35.2707801],[23.7156703,35.2706263],[23.7155692,35.2712392],[23.7156224,35.2717713],[23.715247,35.2722033],[23.715104,35.27223],[23.7151155,35.2720767],[23.7153367,35.2717166],[23.7153153,35.2715542],[23.713715,35.2701257],[23.7130553,35.2701242],[23.713022,35.2702143],[23.7135376,35.2705581],[23.7136678,35.2710454],[23.713881,35.2716816],[23.7133559,35.2709049],[23.7131804,35.2708053],[23.7128837,35.2707595],[23.7125216,35.2705422],[23.7124447,35.270533],[23.7124004,35.2706231],[23.713113,35.2712109],[23.7131674,35.2713553],[23.7130904,35.2713821],[23.7127832,35.271192],[23.7121241,35.2710192],[23.7115415,35.2709727],[23.7106187,35.2707631],[23.7094329,35.2703094],[23.7092359,35.270336],[23.7084138,35.2696397],[23.707832,35.2693858],[23.707579,35.2694032],[23.7072494,35.2693393],[23.7067563,35.2688783],[23.7059538,35.2688402],[23.7050532,35.2685675],[23.7049326,35.2684771],[23.7046484,35.2680346],[23.7039131,35.2676631],[23.7032883,35.2671385],[23.7029716,35.2665427],[23.7025859,35.2665237],[23.7022677,35.2663425],[23.7017843,35.2662422],[23.7017515,35.266188],[23.7013891,35.2660879],[23.7011039,35.2658978],[23.7007295,35.2660773],[23.700389,35.2659682],[23.7001469,35.2660307],[23.7002342,35.2662113],[23.7001571,35.2662472],[23.7001455,35.2664094],[23.6999147,35.2664089],[23.6998185,35.2663049],[23.6999398,35.266197],[23.6999183,35.2660707],[23.6998086,35.2659983],[23.6995217,35.2662862],[23.6994325,35.2666286],[23.6993007,35.2665922],[23.6992565,35.2666552],[23.6991686,35.266637],[23.6988839,35.2663387],[23.6986638,35.2663922],[23.6984883,35.2662656],[23.6982682,35.2663371],[23.6981366,35.2662467],[23.697959,35.2667061],[23.6978934,35.2665887],[23.6977395,35.2665883],[23.6976615,35.2668676],[23.6975953,35.2669216],[23.6974195,35.2669121],[23.6972648,35.2671101],[23.6971439,35.2671008],[23.6972853,35.2675159],[23.697252,35.267588],[23.6970537,35.2676957],[23.6969551,35.2676233],[23.696757,35.2676589],[23.6966466,35.2677848],[23.6964818,35.2677664],[23.6959204,35.2679273],[23.6959026,35.2682902],[23.695979,35.2684436],[23.6960559,35.2684438],[23.6960458,35.2682274],[23.696134,35.2681555],[23.6964394,35.2688055],[23.6968344,35.2690229],[23.6969767,35.2691946],[23.6969092,35.2696092],[23.6969834,35.2703578],[23.6968499,35.2707722],[23.6971453,35.2711517],[23.6969786,35.2716472],[23.6970756,35.2721704],[23.6970454,35.2722402],[23.6968981,35.2725847],[23.6968306,35.2729813],[23.6968369,35.2730625]]},{"id":17684,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0391\u03b6\u03bf\u03b3\u03c5\u03c1\u03ad\u03c2-\u03a3\u03c0\u03ae\u03bb\u03b1\u03b9\u03bf \u0396\u03bf\u03c5\u03c1\u03ad","description_GR":"","path":"CRETE\/Crete_Paleochora_Azogyres_ZoureCave","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":2386,"name_EN":"Crete: Azogyres-Zoure Cave","description_EN":"","ascent_time":45,"descent_time":40,"marker":"Red_dots","level":13,"ascent":204,"descent":11,"maxelev":579,"minelev":376,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.70907 35.27014,23.71935 35.2724)","views":2,"millestones":"0,23.7193485,35.2721227#1,23.7136622,35.2701256#2.4,23.7090693,35.2717625","x":23.7131804,"y":35.2708053,"coor":[[23.7193485,35.2721227],[23.7193037,35.272357],[23.7190835,35.2724286],[23.7181604,35.2723003],[23.7175127,35.2719922],[23.7165675,35.2718998],[23.7161272,35.272025],[23.7161085,35.2710962],[23.7159117,35.2707801],[23.7156703,35.2706263],[23.7155692,35.2712392],[23.7156224,35.2717713],[23.715247,35.2722033],[23.715104,35.27223],[23.7151155,35.2720767],[23.7153367,35.2717166],[23.7153153,35.2715542],[23.713715,35.2701257],[23.7130553,35.2701242],[23.713022,35.2702143],[23.7135376,35.2705581],[23.7136678,35.2710454],[23.713881,35.2716816],[23.7133559,35.2709049],[23.7131804,35.2708053],[23.7128837,35.2707595],[23.7125216,35.2705422],[23.7124447,35.270533],[23.7124004,35.2706231],[23.713113,35.2712109],[23.7131674,35.2713553],[23.7130904,35.2713821],[23.7127832,35.271192],[23.7121241,35.2710192],[23.7115415,35.2709727],[23.7106187,35.2707631],[23.7094329,35.2703094],[23.7092359,35.270336],[23.7092466,35.2704262],[23.7100899,35.2713569],[23.7102867,35.271664],[23.7104987,35.2717659],[23.7106182,35.272163],[23.7097173,35.2719624],[23.7092894,35.2717089],[23.7091904,35.2717087],[23.7092451,35.271808],[23.7090693,35.2717625]]},{"id":17685,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a3\u03c4\u03bf\u03bd \u039a\u03b1\u03ba\u03cc \u03a0\u03bf\u03c4\u03b1\u03bc\u03cc","description_GR":"","path":"CRETE\/Crete_Paleochora_KakosPotamos_loop","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6144,"name_EN":"Crete: Kakos Potamos loop","description_EN":"","ascent_time":140,"descent_time":130,"marker":"Red_dots","level":11,"ascent":374,"descent":375,"maxelev":269,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.78886 35.24551,23.81087 35.25211)","views":13,"millestones":"0,23.8108614,35.2483962#1,23.8014224,35.2456535#2,23.7916037,35.2472066#3,23.7927670,35.2517419#4,23.8019865,35.2498451#5,23.8052542,35.2493043#6.1,23.8108614,35.2483962","x":23.7905402,"y":35.2519493,"coor":[[23.8108614,35.2483962],[23.8102065,35.2483253],[23.8088442,35.2480346],[23.8083391,35.2478355],[23.8079418,35.2474877],[23.8075355,35.2473157],[23.8067659,35.2473596],[23.8064583,35.2472869],[23.8055294,35.2464762],[23.8051338,35.2464214],[23.8047934,35.2462856],[23.8047167,35.2461953],[23.8047467,35.245997],[23.8044064,35.2458251],[23.8042415,35.2458159],[23.8035373,35.2461213],[23.8033727,35.2460038],[23.8028232,35.2460029],[23.8025268,35.2458401],[23.8024278,35.245858],[23.8022852,35.2457225],[23.8019558,35.2455957],[23.8017139,35.2456494],[23.8014721,35.245631],[23.801274,35.2457209],[23.8007684,35.245729],[23.8004061,35.2455661],[23.8000105,35.2454933],[23.7997683,35.2456823],[23.7992952,35.2458438],[23.798899,35.2460776],[23.7986901,35.2460953],[23.7983819,35.2462571],[23.798228,35.2462568],[23.7978098,35.2464906],[23.79759,35.2464722],[23.7972374,35.2468052],[23.7970177,35.2467327],[23.7966769,35.2467682],[23.795996,35.2465236],[23.7953581,35.2466938],[23.7950278,35.2469277],[23.7947967,35.2469995],[23.7945222,35.2469088],[23.7943831,35.2467621],[23.793888,35.2469416],[23.7935032,35.246959],[23.7932837,35.2468594],[23.7929318,35.2468949],[23.7927336,35.2470568],[23.791898,35.2471275],[23.791733,35.2471994],[23.7911503,35.2472344],[23.7910626,35.2471261],[23.7907984,35.247315],[23.7906214,35.2477385],[23.7899942,35.2479809],[23.7897733,35.2484043],[23.7897619,35.2485575],[23.7893982,35.2489356],[23.789145,35.2490975],[23.7890544,35.2501253],[23.7888667,35.2504315],[23.7888941,35.2508824],[23.789025,35.2512343],[23.7892121,35.2511625],[23.7893879,35.2511808],[23.7893987,35.251262],[23.7895638,35.2511992],[23.7896403,35.2513436],[23.7898488,35.2515063],[23.7900795,35.2515608],[23.7903754,35.2518949],[23.7905402,35.2519493],[23.7906282,35.2519134],[23.7907269,35.2520037],[23.7909906,35.2520583],[23.791595,35.2521134],[23.791892,35.2520508],[23.7924862,35.2517903],[23.793289,35.2516474],[23.7937841,35.251486],[23.7943998,35.2514419],[23.7952251,35.2510827],[23.7954784,35.2509118],[23.7958303,35.2508222],[23.7966215,35.2509498],[23.796852,35.2510584],[23.7971591,35.2513564],[23.7973238,35.2514379],[23.7976537,35.2513663],[23.7978739,35.2512404],[23.7981818,35.2511868],[23.7984021,35.2510159],[23.7986879,35.2509983],[23.7992935,35.2505935],[23.7995023,35.2506119],[23.7997333,35.2505402],[23.8006343,35.250704],[23.801018,35.2506933],[23.8015055,35.2505205],[23.8022098,35.2502061],[23.8022539,35.250134],[23.8021115,35.2499444],[23.8012887,35.2492939],[23.8009714,35.2486892],[23.8013783,35.2485817],[23.802038,35.2485377],[23.8025761,35.2487279],[23.8029815,35.2492516],[23.8032004,35.2496757],[23.803365,35.2497662],[23.803575,35.2492976],[23.8037832,35.2495865],[23.804003,35.2495688],[23.8040254,35.2494336],[23.8038286,35.2489824],[23.8038946,35.2489465],[23.8040701,35.2491271],[23.8042678,35.2491815],[23.8041476,35.2488657],[23.8041413,35.2486493],[23.8039778,35.24809],[23.8045041,35.2486048],[23.8049216,35.2486956],[23.8050863,35.2487861],[23.8053154,35.2494898],[23.805502,35.2496163],[23.8057441,35.2494995],[23.8059866,35.2492023],[23.8065152,35.2488064],[23.8066696,35.2485902],[23.8068456,35.2485274],[23.8073183,35.2485011],[23.8073728,35.2487176],[23.8079644,35.2495481],[23.8088747,35.2504332],[23.8096921,35.2510589],[23.8102305,35.25115],[23.8107605,35.2511688],[23.8107367,35.2509253],[23.8107281,35.2498816],[23.810731,35.2496855],[23.8107544,35.2490723],[23.8107631,35.2490092],[23.8108168,35.2486734],[23.8108614,35.2483962]]},{"id":17686,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0391\u03c1\u03c7\u03b1\u03af\u03b1 \u039b\u03b9\u03c3\u03c3\u03cc\u03c2","description_GR":"","path":"CRETE\/Crete_Sougia_Lissos","activity_type":32,"assistance":4,"difficulty":2,"scenic_value":5,"length":3480,"name_EN":"Crete: Ancient Lissos","description_EN":"","ascent_time":80,"descent_time":75,"marker":"E4","level":11,"ascent":217,"descent":197,"maxelev":161,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.7855 35.24065,23.81088 35.24836)","views":19,"millestones":"0,23.8108614,35.2483962#1,23.8013869,35.2456331#2,23.7937827,35.2454897#3,23.7856164,35.2433273#3.5,23.7876385,35.2406324","x":23.794957,"y":35.2465286,"coor":[[23.8108614,35.2483962],[23.8102062,35.2483253],[23.8088439,35.2480346],[23.8083387,35.2478355],[23.8079411,35.2474877],[23.8075348,35.2473157],[23.8067653,35.2473596],[23.8064577,35.2472869],[23.8055287,35.2464762],[23.8051332,35.2464214],[23.8047927,35.2462856],[23.804716,35.2461953],[23.8047384,35.246006],[23.8043321,35.2458431],[23.8041343,35.2458518],[23.8036172,35.2460493],[23.8035181,35.2461393],[23.8033755,35.2460128],[23.8027929,35.2460299],[23.8019256,35.2455957],[23.8016726,35.2456494],[23.8014089,35.2456219],[23.8012328,35.2457118],[23.8010019,35.2457384],[23.8007382,35.24572],[23.8003539,35.245539],[23.7999693,35.2454843],[23.7996831,35.2456731],[23.7994852,35.2457089],[23.7987918,35.2460594],[23.7986159,35.2460952],[23.7983957,35.2462301],[23.7981538,35.2462657],[23.7977795,35.2464995],[23.7976477,35.2464633],[23.7975485,35.2465713],[23.7973617,35.246562],[23.7972845,35.246652],[23.7969655,35.2467507],[23.7966247,35.2467771],[23.7958889,35.2465234],[23.7954377,35.2467301],[23.7953054,35.2468741],[23.7948764,35.2470176],[23.7946017,35.2469631],[23.7943958,35.2467621],[23.7942751,35.2466898],[23.794495,35.2466721],[23.7946925,35.2467806],[23.7949235,35.2467269],[23.7948466,35.2466997],[23.794957,35.2465286],[23.7949464,35.2463573],[23.7944747,35.2459687],[23.7944312,35.2457973],[23.7938165,35.2454897],[23.793113,35.2454885],[23.7928163,35.245461],[23.7926516,35.2453885],[23.7922339,35.2453878],[23.7918055,35.2452969],[23.7913444,35.2450797],[23.7909157,35.245106],[23.7905967,35.2451956],[23.7900914,35.2450685],[23.7890594,35.2446159],[23.78895,35.2443993],[23.7885552,35.244065],[23.7884238,35.2438754],[23.7882921,35.243812],[23.7878303,35.2438383],[23.7880725,35.2436944],[23.7879296,35.2437032],[23.7879078,35.243631],[23.7880841,35.243469],[23.7878423,35.2434596],[23.7879745,35.2433426],[23.7875347,35.2433959],[23.7874244,35.243549],[23.7871272,35.2437288],[23.7869513,35.2437195],[23.7866219,35.2435927],[23.7865782,35.2434934],[23.7862045,35.2435198],[23.7860723,35.2436278],[23.7859294,35.2436095],[23.7857757,35.2435641],[23.785776,35.2434379],[23.7855783,35.2433834],[23.7857252,35.243165],[23.7856484,35.2431108],[23.7855941,35.2428763],[23.7855152,35.242831],[23.7855741,35.2427635],[23.7859259,35.2427371],[23.7862563,35.2424852],[23.7864987,35.2422512],[23.7865808,35.2418613],[23.7868682,35.2412216],[23.7868466,35.2410773],[23.7871216,35.2409876],[23.7874077,35.2406139],[23.7876385,35.2406324]]},{"id":17687,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a3\u03c4\u03bf\u03bd \u039a\u03b1\u03ba\u03cc \u03a0\u03bf\u03c4\u03b1\u03bc\u03cc","description_GR":"","path":"CRETE\/Crete_Sougia_KakosPotamos_loop","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6141,"name_EN":"Crete: Kakos Potamos loop","description_EN":"","ascent_time":140,"descent_time":135,"marker":"Red_dots","level":11,"ascent":371,"descent":372,"maxelev":269,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.78884 35.2455,23.81087 35.2521)","views":3,"millestones":"0,23.8108614,35.2483962#1,23.8013869,35.2456331#2,23.7915409,35.2471827#3,23.7928459,35.2517203#4,23.8018761,35.2498225#5,23.8052830,35.2493942#6.1,23.8108614,35.2483962","x":23.7905333,"y":35.2519425,"coor":[[23.8108614,35.2483962],[23.8102062,35.2483253],[23.8088439,35.2480346],[23.8083387,35.2478355],[23.8079411,35.2474877],[23.8075348,35.2473157],[23.8067653,35.2473596],[23.8064577,35.2472869],[23.8055287,35.2464762],[23.8051332,35.2464214],[23.8047927,35.2462856],[23.804716,35.2461953],[23.8047384,35.246006],[23.8043321,35.2458431],[23.8041343,35.2458518],[23.8036172,35.2460493],[23.8035181,35.2461393],[23.8033755,35.2460128],[23.8027929,35.2460299],[23.8019256,35.2455957],[23.8016726,35.2456494],[23.8014089,35.2456219],[23.8012328,35.2457118],[23.8010019,35.2457384],[23.8007382,35.24572],[23.8003539,35.245539],[23.7999693,35.2454843],[23.7996831,35.2456731],[23.7994852,35.2457089],[23.7987918,35.2460594],[23.7986159,35.2460952],[23.7983957,35.2462301],[23.7981538,35.2462657],[23.7977795,35.2464995],[23.7976477,35.2464633],[23.7975485,35.2465713],[23.7973617,35.246562],[23.7972845,35.246652],[23.7969655,35.2467507],[23.7966247,35.2467771],[23.7958889,35.2465234],[23.7954377,35.2467301],[23.7953054,35.2468741],[23.7948764,35.2470176],[23.7946017,35.2469631],[23.7943958,35.2467621],[23.7939124,35.2469281],[23.7935057,35.2469454],[23.793374,35.246855],[23.7931542,35.2468547],[23.7929563,35.2468814],[23.7924501,35.2471059],[23.7913507,35.2471942],[23.7912183,35.2473833],[23.7908548,35.2476713],[23.7907334,35.2478694],[23.7899197,35.2479762],[23.7897863,35.2485441],[23.7895551,35.248706],[23.7893233,35.2490843],[23.7891032,35.2491921],[23.7890678,35.2501298],[23.7888471,35.250454],[23.788854,35.2509658],[23.7889638,35.2510201],[23.7890182,35.2512275],[23.7892053,35.2511557],[23.7893811,35.2511741],[23.7893919,35.2512552],[23.7895569,35.2511924],[23.7896335,35.2513368],[23.7898419,35.2514995],[23.7900726,35.251554],[23.7903686,35.2518881],[23.7905333,35.2519425],[23.7906213,35.2519066],[23.79072,35.2519969],[23.7909837,35.2520515],[23.7915882,35.2521066],[23.7918851,35.252044],[23.7924794,35.2517836],[23.7932822,35.2516407],[23.7937772,35.2514792],[23.7943929,35.2514352],[23.7952183,35.2510759],[23.7954715,35.250905],[23.7958235,35.2508154],[23.7966146,35.250943],[23.7968452,35.2510516],[23.7971522,35.2513497],[23.7973169,35.2514311],[23.7976469,35.2513595],[23.797867,35.2512336],[23.7981749,35.25118],[23.7983952,35.2510091],[23.7986811,35.2509915],[23.7992866,35.2505868],[23.7994954,35.2506051],[23.7997265,35.2505334],[23.8006054,35.2506972],[23.8010279,35.2507024],[23.8021578,35.2502443],[23.8022349,35.2501904],[23.8021912,35.2500821],[23.8013136,35.2493503],[23.8009305,35.2487004],[23.8014804,35.2485751],[23.8021289,35.2485671],[23.8025791,35.2487843],[23.8027727,35.2491272],[23.8029482,35.2492808],[23.803178,35.2496779],[23.8032768,35.2497322],[23.8034308,35.2496874],[23.8035774,35.2492976],[23.8037825,35.2495865],[23.8040024,35.2495688],[23.8040247,35.2494336],[23.8038279,35.2489824],[23.8038939,35.2489465],[23.8040694,35.2491271],[23.8042671,35.2491815],[23.804147,35.2488657],[23.8041409,35.2486493],[23.8039774,35.24809],[23.8045038,35.2486048],[23.8049213,35.2486956],[23.8050859,35.2487861],[23.8053151,35.2494898],[23.8055016,35.2496163],[23.8057437,35.2494995],[23.8059863,35.2492023],[23.8065148,35.2488064],[23.8066692,35.2485902],[23.8068453,35.2485274],[23.807318,35.2485011],[23.8073724,35.2487176],[23.807964,35.2495481],[23.8088743,35.2504332],[23.8096918,35.2510589],[23.8102302,35.25115],[23.8107602,35.2511688],[23.8107364,35.2509253],[23.8107274,35.2498816],[23.81073,35.2496855],[23.8107534,35.2490723],[23.8107628,35.2490092],[23.8108165,35.2486734],[23.8108614,35.2483962]]},{"id":17688,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0397 \u03ba\u03bf\u03c1\u03c5\u03c6\u03bf\u03b3\u03c1\u03b1\u03bc\u03bc\u03ae \u03c4\u03bf\u03c5 \u0391\u03c1\u03bc\u03bf\u03cd","description_GR":"","path":"CRETE\/Crete_Sougia_Armos","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":4,"length":8550,"name_EN":"Crete: The Armos crestline","description_EN":"","ascent_time":240,"descent_time":235,"marker":"Red_dots","level":11,"ascent":471,"descent":860,"maxelev":687,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.77145 35.24749,23.81086 35.28157)","views":21,"millestones":"0,23.7745966,35.2814806#1,23.7744576,35.2790231#2,23.7774513,35.2728482#3,23.7830758,35.2677672#4,23.7918653,35.2641969#5,23.7982092,35.2572633#6,23.8010809,35.2507625#7,23.8040544,35.2481655#8,23.8080606,35.2478751#8.6,23.8108614,35.2483962","x":23.7874963,"y":35.2676043,"coor":[[23.7745966,35.2814806],[23.7743816,35.2815704],[23.7735576,35.2812983],[23.7731335,35.2812141],[23.7727351,35.2811232],[23.7723172,35.2811405],[23.7717008,35.2813467],[23.771558,35.2813013],[23.7714488,35.2810126],[23.771592,35.2809317],[23.7718558,35.2809683],[23.7717354,35.2807697],[23.7719557,35.2806619],[23.7721652,35.2804278],[23.7721993,35.2800582],[23.7723316,35.2799232],[23.7727279,35.2797616],[23.773069,35.2796901],[23.7733877,35.2797539],[23.7737716,35.2800972],[23.7739035,35.2801335],[23.7751924,35.2798992],[23.7752808,35.2797551],[23.7751601,35.2796377],[23.7749402,35.2796553],[23.7750178,35.279421],[23.7748859,35.2794027],[23.7748092,35.2792854],[23.7746221,35.2793572],[23.7743805,35.2792485],[23.7746337,35.2791498],[23.7744359,35.2790773],[23.77448,35.2790593],[23.7744471,35.2790052],[23.7747222,35.2789426],[23.77491,35.2786363],[23.7749767,35.278366],[23.7751748,35.2782942],[23.7753402,35.2781502],[23.7752303,35.278114],[23.7753737,35.27797],[23.7754514,35.2777086],[23.7754192,35.277411],[23.7752106,35.2773024],[23.7750903,35.2770497],[23.7753325,35.2769419],[23.7754431,35.2767167],[23.7753784,35.2762477],[23.775412,35.2760494],[23.7752592,35.2756073],[23.7752925,35.2755082],[23.7751055,35.2755439],[23.775359,35.2753279],[23.7757989,35.2752747],[23.7761183,35.2751039],[23.7765373,35.2746539],[23.7768578,35.2740774],[23.777298,35.2739339],[23.7769245,35.273825],[23.7773095,35.2737446],[23.7776723,35.2737542],[23.777893,35.2734661],[23.777751,35.2731322],[23.7772246,35.2726353],[23.7772149,35.2721484],[23.7771165,35.2719588],[23.7772602,35.2716886],[23.7776123,35.271581],[23.7777673,35.2711846],[23.7778996,35.2710766],[23.7776576,35.2710852],[23.7776797,35.2710492],[23.778186,35.2708788],[23.7783623,35.2707168],[23.7782541,35.2700674],[23.7782877,35.26986],[23.7783764,35.2695717],[23.7785638,35.2694097],[23.778344,35.2693732],[23.7784212,35.2692832],[23.7783887,35.2691118],[23.7792582,35.2687708],[23.7802922,35.2685923],[23.7804904,35.2684845],[23.7814035,35.2682787],[23.7818218,35.2680811],[23.7828782,35.2677584],[23.7833179,35.2677772],[23.7837242,35.2679763],[23.7839221,35.2679767],[23.7845701,35.2682303],[23.7849657,35.2682941],[23.7852627,35.2682405],[23.7865065,35.2677017],[23.7869026,35.2676123],[23.7872982,35.2676671],[23.7874963,35.2676043],[23.7876176,35.2674602],[23.7876293,35.2671897],[23.7878278,35.2669556],[23.7889076,35.2660558],[23.7897223,35.2656334],[23.7901735,35.2654719],[23.7909222,35.2650224],[23.7912199,35.2647163],[23.7916712,35.2644826],[23.7920796,35.2638702],[23.7927291,35.2635196],[23.7931261,35.2630334],[23.7937429,35.2625836],[23.7940738,35.2621694],[23.7943601,35.2619715],[23.7947901,35.2615124],[23.7954507,35.2610987],[23.7956051,35.2609186],[23.7957497,35.2602426],[23.7962893,35.2598648],[23.7965871,35.2594685],[23.796621,35.259135],[23.7968084,35.2589189],[23.7974797,35.2586134],[23.7978657,35.2581362],[23.7980763,35.2574242],[23.7983409,35.257109],[23.798397,35.2566853],[23.7985964,35.2560725],[23.7993918,35.2544507],[23.7993269,35.2540358],[23.7991079,35.2536748],[23.79902,35.2536927],[23.7989654,35.2535483],[23.7989665,35.2530704],[23.7989335,35.2531064],[23.798791,35.2529439],[23.7989123,35.2527728],[23.7991873,35.2527191],[23.7994306,35.2521064],[23.7997057,35.2519806],[23.7999592,35.2517195],[23.7998055,35.2516471],[23.7994975,35.2517278],[23.7994648,35.2516285],[23.7992561,35.2515651],[23.799972,35.2509892],[23.8002796,35.2510348],[23.8007964,35.2509815],[23.8011266,35.2508107],[23.801017,35.2506933],[23.8015048,35.2505205],[23.8022091,35.2502061],[23.8022532,35.250134],[23.8021108,35.2499444],[23.801288,35.2492939],[23.8009707,35.2486892],[23.8013776,35.2485817],[23.8020373,35.2485377],[23.8025754,35.2487279],[23.8029809,35.2492516],[23.8031997,35.2496757],[23.8033643,35.2497661],[23.8035743,35.2492976],[23.8037825,35.2495865],[23.8040024,35.2495688],[23.8040247,35.2494336],[23.8038279,35.2489824],[23.8038939,35.2489465],[23.8040694,35.2491271],[23.8042671,35.2491815],[23.804147,35.2488657],[23.8041409,35.2486493],[23.8039774,35.24809],[23.8045038,35.2486048],[23.8049213,35.2486956],[23.8050859,35.2487861],[23.8053151,35.2494898],[23.8055016,35.2496163],[23.8057437,35.2494995],[23.8059863,35.2492023],[23.8065148,35.2488064],[23.8066692,35.2485902],[23.8068453,35.2485274],[23.807318,35.2485011],[23.8073724,35.2487176],[23.807964,35.2495481],[23.8088743,35.2504332],[23.8085909,35.2500202],[23.8081317,35.2489735],[23.8080682,35.2479004],[23.8079411,35.2474877],[23.8083387,35.2478355],[23.8088439,35.2480346],[23.8102062,35.2483253],[23.8108614,35.2483962]]},{"id":17689,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1-\u039a\u03b5\u03c1\u03b1\u03af\u03b1-\u039a\u03bf\u03c5\u03c3\u03c4\u03bf\u03b3\u03ad\u03c1\u03b1\u03ba\u03bf","description_GR":"\u0397 \u03c0\u03b9\u03bf \u03c3\u03cd\u03bd\u03c4\u03bf\u03bc\u03b7 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1 \u03c3\u03c4\u03bf \u039a\u03bf\u03c5\u03c3\u03c4\u03bf\u03b3\u03ad\u03c1\u03b1\u03ba\u03bf","path":"CRETE\/Crete_Sougia_Keraia_Koustogerako","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":5870,"name_EN":"Crete: Sougia-Telecom aerial-Koustogerako","description_EN":"The shortest way ftom Sougia to Koustogerako","ascent_time":140,"descent_time":125,"marker":"No_marks","level":13,"ascent":616,"descent":114,"maxelev":530,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.81079 35.24843,23.83531 35.27807)","views":7,"millestones":"0,23.8108614,35.2483962#1,23.8167054,35.2512224#2,23.8208455,35.2523231#3,23.8248760,35.2595592#4,23.8258520,35.2673190#5,23.8307093,35.2738763#5.9,23.8352519,35.2781046","x":23.8218133,"y":35.2546211,"coor":[[23.8108614,35.2483962],[23.811258,35.2484645],[23.8116086,35.2485236],[23.8116854,35.2485959],[23.8116739,35.2488213],[23.8121705,35.2488288],[23.812764,35.2488658],[23.8126686,35.2492895],[23.8121058,35.2502444],[23.8121276,35.2503166],[23.81238,35.2504793],[23.8124961,35.2506733],[23.812577,35.2508763],[23.8130592,35.2510687],[23.813081,35.2511318],[23.8137181,35.2513402],[23.8139164,35.2511602],[23.8140703,35.2511334],[23.8142236,35.2514221],[23.8142014,35.2515123],[23.8143003,35.2515305],[23.8142339,35.2516927],[23.8143879,35.2516568],[23.8144757,35.2517471],[23.8144206,35.2518012],[23.8148489,35.2519822],[23.8148597,35.2520633],[23.814954,35.2521243],[23.814992,35.2518561],[23.8151129,35.2518653],[23.8162281,35.2516619],[23.8164155,35.2514097],[23.8166026,35.2513469],[23.8167018,35.2512208],[23.8168775,35.2513022],[23.8169435,35.2512662],[23.8169107,35.251176],[23.8171196,35.2511763],[23.8174951,35.2512941],[23.8172653,35.2508429],[23.8172663,35.2503921],[23.8179141,35.2507357],[23.8184079,35.2511152],[23.8185943,35.2513318],[23.8186496,35.2511516],[23.8185854,35.250376],[23.8189045,35.2502503],[23.8192017,35.2500343],[23.8194372,35.2499648],[23.81991,35.2498843],[23.8203827,35.249885],[23.8203724,35.2500563],[23.8202068,35.2503717],[23.8199427,35.2504705],[23.8197665,35.2506235],[23.819755,35.250867],[23.8202156,35.2513726],[23.8204242,35.2514541],[23.8204346,35.2517246],[23.8205445,35.2517608],[23.8205003,35.2518509],[23.8206317,35.2520856],[23.820675,35.2523742],[23.8208179,35.2523924],[23.8208621,35.2522843],[23.8210161,35.2522394],[23.8210597,35.2523837],[23.8211805,35.2524741],[23.8214223,35.2524745],[23.8215541,35.2525468],[23.8215204,35.2528353],[23.8218058,35.2530341],[23.8218269,35.2534669],[23.8217387,35.253575],[23.8217383,35.2537463],[23.8215402,35.2538542],[23.8215399,35.2539715],[23.8217044,35.2541701],[23.8218133,35.2546211],[23.8219884,35.2550001],[23.8224713,35.2553705],[23.8225254,35.2557493],[23.8227778,35.255966],[23.822711,35.2563266],[23.8229668,35.2565434],[23.8233899,35.2570918],[23.8234552,35.2573985],[23.8235143,35.2575586],[23.8235317,35.2575925],[23.8238387,35.2579896],[23.8237173,35.2582149],[23.8237388,35.2584133],[23.8241005,35.2589458],[23.824353,35.2590995],[23.8246199,35.2592577],[23.8247108,35.2593119],[23.8248708,35.2595511],[23.8249913,35.2597406],[23.8260786,35.2602201],[23.8261772,35.2603825],[23.8261657,35.260644],[23.82604,35.2609437],[23.8257312,35.2613941],[23.825313,35.2616099],[23.8250817,35.2618079],[23.8248717,35.2623035],[23.8249568,35.2624953],[23.8251651,35.2628021],[23.8250698,35.2631604],[23.8247826,35.2637822],[23.824804,35.2640888],[23.8249045,35.2642986],[23.8250138,35.2645963],[23.8251564,35.2647769],[23.8253307,35.2654985],[23.8254068,35.2659043],[23.8253624,35.2660936],[23.8253945,35.2665085],[23.8255261,35.2666529],[23.8256135,35.2669416],[23.8258329,35.2671673],[23.8258545,35.2673477],[23.826019,35.2675283],[23.8260695,35.2677065],[23.8261458,35.2679951],[23.8263983,35.2681668],[23.8273872,35.2684928],[23.8277345,35.2684978],[23.8281743,35.2685255],[23.828284,35.2686158],[23.8283605,35.2688414],[23.8284132,35.2699325],[23.8280159,35.2705992],[23.828169,35.2709961],[23.8292441,35.2721789],[23.8297277,35.2722427],[23.8303758,35.2725592],[23.8305732,35.272812],[23.8305067,35.2730373],[23.8306431,35.273565],[23.8308826,35.2746834],[23.8309924,35.2747647],[23.8313442,35.2748013],[23.8318432,35.2749417],[23.8320081,35.27496],[23.8331519,35.2748173],[23.8335257,35.2748449],[23.8336245,35.2749352],[23.8337353,35.2755305],[23.8339257,35.2760199],[23.8337622,35.276315],[23.8338163,35.2767659],[23.8344094,35.2770823],[23.834859,35.277678],[23.8351116,35.2778227],[23.8352102,35.2780031],[23.8352519,35.2781046]]},{"id":17690,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1-\u03a3\u03c0\u03ae\u03bb\u03b1\u03b9\u03bf \u03a0\u03bf\u03bb\u03cd\u03c6\u03b7\u03bc\u03bf\u03c5-\u039a\u03bf\u03c5\u03c3\u03c4\u03bf\u03b3\u03ad\u03c1\u03b1\u03ba\u03bf","description_GR":"\u0397 \u03c0\u03b9\u03bf \u03b5\u03bd\u03b4\u03b9\u03b1\u03c6\u03ad\u03c1\u03bf\u03c5\u03c3\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1 \u03c3\u03c4\u03bf \u039a\u03bf\u03c5\u03c3\u03c4\u03bf\u03b3\u03ad\u03c1\u03b1\u03ba\u03bf","path":"CRETE\/Crete_Sougia_Polyfimos_Koustogerako","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":8340,"name_EN":"Crete: Sougia-Polyfimos cave-Koustogerako","description_EN":"The most interesting way ftom Sougia to Koustogerako","ascent_time":180,"descent_time":195,"marker":"Blue_stripe","level":11,"ascent":230,"descent":732,"maxelev":530,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.81079 35.24844,23.8382 35.27807)","views":13,"millestones":"0,23.8352530,35.2781046#1,23.8296072,35.2722267#2,23.8252931,35.2653325#3,23.8266757,35.2586444#4,23.8322997,35.2542263#5,23.8359958,35.2505315#6,23.8262617,35.2511953#7,23.8175893,35.2505614#8.3,23.8108625,35.2483985","x":23.8362665,"y":35.2520694,"coor":[[23.835253,35.2781046],[23.8352113,35.2780031],[23.8351127,35.2778227],[23.83486,35.277678],[23.8344104,35.2770823],[23.8338173,35.2767659],[23.8337632,35.276315],[23.8339267,35.2760199],[23.8337363,35.2755305],[23.8336255,35.2749352],[23.8335267,35.2748449],[23.8331529,35.2748173],[23.8320091,35.27496],[23.8318442,35.2749417],[23.8313452,35.2748013],[23.8309935,35.2747647],[23.8308837,35.2746834],[23.8306441,35.273565],[23.8305078,35.2730373],[23.8305742,35.272812],[23.8303768,35.2725592],[23.8297288,35.2722427],[23.8292451,35.2721789],[23.8281701,35.2709961],[23.828017,35.2705992],[23.8284142,35.2699325],[23.8283615,35.2688414],[23.828285,35.2686158],[23.8281753,35.2685255],[23.8277356,35.2684978],[23.8273882,35.2684928],[23.8263994,35.2681668],[23.8261469,35.2679951],[23.8260705,35.2677065],[23.8260204,35.2675283],[23.8258559,35.2673477],[23.8258343,35.2671673],[23.8256149,35.2669416],[23.8255275,35.2666529],[23.8253959,35.2665085],[23.8253638,35.2660936],[23.8254082,35.2659044],[23.8253321,35.2654985],[23.8251577,35.2647769],[23.8250152,35.2645963],[23.8249059,35.2642986],[23.824805,35.2640888],[23.8247837,35.2637822],[23.8250708,35.2631604],[23.8251661,35.2628022],[23.8249579,35.2624953],[23.8248727,35.2623035],[23.8250827,35.2618079],[23.825314,35.2616099],[23.8257322,35.2613941],[23.826041,35.2609437],[23.826167,35.260644],[23.8261786,35.2603825],[23.82608,35.2602201],[23.8249927,35.2597406],[23.8248721,35.2595511],[23.8247119,35.2593119],[23.8248101,35.2591723],[23.8250192,35.2590644],[23.8251621,35.2590826],[23.8254923,35.2588667],[23.827054,35.2585714],[23.8274062,35.2583915],[23.8276261,35.2583468],[23.8275715,35.2582024],[23.8276928,35.2580222],[23.8278149,35.2574634],[23.8277602,35.2573371],[23.8278265,35.2571839],[23.8277279,35.2570034],[23.8277941,35.2569133],[23.8281924,35.2568417],[23.8284016,35.2566617],[23.8285556,35.2566258],[23.8291377,35.2568972],[23.8293247,35.2568343],[23.8295125,35.2563927],[23.829535,35.2561493],[23.8296673,35.2559872],[23.8299093,35.2558703],[23.8300418,35.2556],[23.8299319,35.2555818],[23.8298661,35.2555118],[23.8296243,35.2555115],[23.8293579,35.2555675],[23.8293028,35.2556283],[23.8293569,35.2555675],[23.8296253,35.2555092],[23.8298672,35.2555096],[23.8301945,35.2555055],[23.8305799,35.2552265],[23.8308438,35.2551728],[23.8311961,35.2549479],[23.8314818,35.2549753],[23.8322412,35.2545616],[23.8323074,35.2544174],[23.832297,35.2541289],[23.8325062,35.2539939],[23.8325173,35.2539128],[23.8327153,35.2538589],[23.8332548,35.2534269],[23.833959,35.2531122],[23.8346415,35.2526713],[23.8348614,35.2526265],[23.8354447,35.2522576],[23.8358522,35.2519155],[23.8357613,35.2518072],[23.8359262,35.2518255],[23.8362665,35.2520694],[23.8364642,35.2521238],[23.8363766,35.2519613],[23.8365416,35.2519165],[23.8366079,35.2517182],[23.8368832,35.2514751],[23.8371143,35.2513762],[23.8374779,35.2509349],[23.8376978,35.2508991],[23.837808,35.250791],[23.838193,35.2506586],[23.8376023,35.2507277],[23.8373498,35.250583],[23.8371629,35.2505738],[23.8369759,35.2506457],[23.8366464,35.250537],[23.8365143,35.250609],[23.8365141,35.2507262],[23.8364151,35.2507621],[23.8360966,35.2506174],[23.8355479,35.2501478],[23.8351306,35.2499488],[23.8343613,35.2498757],[23.8339985,35.2499022],[23.8337231,35.2502174],[23.8335471,35.2502533],[23.8332948,35.2500365],[23.8328774,35.2498556],[23.8326796,35.2498283],[23.8324815,35.2499362],[23.8321628,35.2499177],[23.8318879,35.2499805],[23.8317006,35.2501966],[23.8311723,35.2505024],[23.8311061,35.2506015],[23.8308091,35.2507003],[23.8304463,35.2507449],[23.8300836,35.2507083],[23.8295556,35.2508969],[23.8288191,35.2509139],[23.8285988,35.251103],[23.8282253,35.2510033],[23.8277307,35.2509845],[23.8273568,35.2510651],[23.8266532,35.2510912],[23.8263892,35.25119],[23.8259605,35.2512074],[23.8256968,35.2511349],[23.8251252,35.2511251],[23.824598,35.2509169],[23.8241144,35.2508982],[23.8238947,35.2508347],[23.8235764,35.2506269],[23.8226317,35.2503369],[23.8222585,35.2500569],[23.8219619,35.2500113],[23.821533,35.2500648],[23.8212872,35.2500126],[23.821188,35.2501387],[23.8210343,35.2500393],[23.8207157,35.2499757],[23.8205621,35.2498492],[23.8203837,35.249885],[23.8199111,35.2498843],[23.8194382,35.2499648],[23.8192028,35.2500343],[23.8189055,35.2502503],[23.8185864,35.250376],[23.8186507,35.2511516],[23.8185953,35.2513318],[23.8184089,35.2511152],[23.8179151,35.2507357],[23.8172673,35.2503921],[23.8172663,35.2508429],[23.8174961,35.2512941],[23.8171206,35.2511763],[23.8169118,35.251176],[23.8169445,35.2512662],[23.8168785,35.2513022],[23.8167028,35.2512208],[23.8166036,35.2513469],[23.8164166,35.2514097],[23.8162291,35.2516619],[23.815114,35.2518676],[23.8149931,35.2518584],[23.814955,35.2521266],[23.8148607,35.2520656],[23.8148499,35.2519844],[23.8144216,35.2518034],[23.8144767,35.2517494],[23.8143889,35.2516591],[23.814235,35.2516949],[23.8143013,35.2515327],[23.8142024,35.2515145],[23.8142246,35.2514244],[23.8140714,35.2511356],[23.8139174,35.2511624],[23.8137191,35.2513425],[23.8130821,35.2511341],[23.8130602,35.2510709],[23.812578,35.2508786],[23.8124974,35.2506756],[23.8123811,35.2504815],[23.8121286,35.2503188],[23.8121068,35.2502467],[23.8126696,35.2492917],[23.8127654,35.2488681],[23.8121719,35.2488311],[23.8116749,35.2488236],[23.8116864,35.2485982],[23.8116096,35.2485259],[23.8114702,35.2485031],[23.8108625,35.2483985]]},{"id":17691,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1-\u03ad\u03be\u03bf\u03b4\u03bf\u03c2 \u03c6\u03b1\u03c1\u03b1\u03b3\u03b3\u03b9\u03bf\u03cd \u0391\u03b3\u03af\u03b1\u03c2 \u0395\u03b9\u03c1\u03ae\u03bd\u03b7\u03c2","description_GR":"","path":"CRETE\/Crete_Sougia_Sougia_AgEiriniGorge","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":4167,"name_EN":"Crete: Sougia-Agia Irini gorge","description_EN":"","ascent_time":105,"descent_time":100,"marker":"No_marks","level":13,"ascent":181,"descent":113,"maxelev":82,"minelev":1,"link_logo":"","link_ref":"http:\/\/www.anavasi.gr\/product.php?lang=gr$id=84","pdf_link":"","bbox":"LINESTRING(23.80854 35.24841,23.81778 35.27583)","views":11,"millestones":"0,23.8108614,35.2483962#1,23.8109317,35.2548914#2,23.8103249,35.2620973#3,23.8133704,35.2702093#4.2,23.8153705,35.2735539","x":23.8087183,"y":35.2604035,"coor":[[23.8108614,35.2483962],[23.8114208,35.2484918],[23.8116086,35.2485236],[23.8116854,35.2485959],[23.8116739,35.2488213],[23.8121705,35.2488288],[23.812764,35.2488658],[23.8126686,35.2492895],[23.8121058,35.2502444],[23.8121276,35.2503166],[23.81238,35.2504793],[23.8124961,35.2506733],[23.8124735,35.2508987],[23.8126048,35.2511784],[23.8126486,35.2512777],[23.8125926,35.2516924],[23.812394,35.2520167],[23.8121296,35.2522688],[23.8121294,35.252386],[23.8122719,35.2525305],[23.8123883,35.2527268],[23.8125182,35.2535678],[23.8121438,35.2538558],[23.8121873,35.2540903],[23.8119781,35.2541982],[23.8114832,35.2543327],[23.811285,35.2544766],[23.8111526,35.2546838],[23.8108,35.2550169],[23.8107333,35.2553234],[23.8104249,35.2556204],[23.8102918,35.2560891],[23.8101267,35.2562151],[23.8105325,35.2565945],[23.8107066,35.2573702],[23.8105964,35.2574963],[23.810585,35.2576495],[23.8101553,35.2580727],[23.8100999,35.2582529],[23.8098468,35.2583607],[23.8095695,35.2583873],[23.809084,35.259162],[23.8089836,35.2598021],[23.8087082,35.260018],[23.8085758,35.2602252],[23.8086301,35.2604958],[23.8087183,35.2604035],[23.8089919,35.2609179],[23.8094859,35.2612253],[23.8098588,35.2615956],[23.8101663,35.2617584],[23.8102595,35.261878],[23.8103252,35.2619593],[23.8103246,35.2622117],[23.810719,35.2628255],[23.8107074,35.263105],[23.8109266,35.2633578],[23.8109262,35.2635292],[23.8112116,35.263746],[23.8115075,35.2641432],[23.8118478,35.264811],[23.8121109,35.2651541],[23.8122636,35.2656863],[23.8124388,35.2659661],[23.8128011,35.2662282],[23.8130694,35.2666681],[23.8132102,35.2675881],[23.8134724,35.2683369],[23.8137353,35.2687701],[23.8135582,35.2692658],[23.8133708,35.2694819],[23.8132024,35.2700971],[23.8133011,35.2701874],[23.8137406,35.2703233],[23.8139492,35.2704769],[23.8143001,35.2708832],[23.8145301,35.2712893],[23.8145953,35.271605],[23.8144183,35.2721007],[23.8144169,35.2726778],[23.8144603,35.2729754],[23.8146353,35.2733544],[23.8160509,35.2746189],[23.8163584,35.2747817],[23.8165883,35.2752149],[23.8168515,35.2755038],[23.8174666,35.2758113],[23.8176734,35.2758432],[23.8177141,35.2757463],[23.8172438,35.2755585],[23.8165309,35.274782],[23.8156859,35.2740233],[23.8153705,35.2735539]]},{"id":17692,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1-\u0386\u03b3\u03b9\u03bf\u03c2 \u0391\u03bd\u03c4\u03ce\u03bd\u03b9\u03bf\u03c2","description_GR":"","path":"CRETE\/Crete_Sougia_Sougia_AgAntonios","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":1666,"name_EN":"Crete: Sougia-Agios Antonios","description_EN":"","ascent_time":120,"descent_time":115,"marker":"E4","level":11,"ascent":301,"descent":289,"maxelev":157,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.81085 35.2438,23.84783 35.25212)","views":16,"millestones":"0,23.8108614,35.2483962#1,23.8167054,35.2512224#2,23.8238447,35.2508048#3,23.8338306,35.2501308#4,23.8394020,35.2488091#1.7,23.8478295,35.2438023","x":23.8317405,"y":35.2501448,"coor":[[23.8108614,35.2483962],[23.8114513,35.2484963],[23.8116086,35.2485236],[23.8116854,35.2485959],[23.8116739,35.2488213],[23.8121705,35.2488288],[23.812764,35.2488658],[23.8126686,35.2492895],[23.8121058,35.2502444],[23.8121276,35.2503166],[23.81238,35.2504793],[23.8124961,35.2506733],[23.812577,35.2508763],[23.8130592,35.2510687],[23.813081,35.2511318],[23.8137181,35.2513402],[23.8139164,35.2511602],[23.8140703,35.2511334],[23.8142236,35.2514221],[23.8142014,35.2515123],[23.8143003,35.2515305],[23.8142339,35.2516927],[23.8143879,35.2516568],[23.8144757,35.2517471],[23.8144206,35.2518012],[23.8148489,35.2519822],[23.8148597,35.2520633],[23.814954,35.2521243],[23.814992,35.2518561],[23.8151129,35.2518653],[23.8162281,35.2516619],[23.8164155,35.2514097],[23.8166026,35.2513469],[23.8167018,35.2512208],[23.8168775,35.2513022],[23.8169435,35.2512662],[23.8169107,35.251176],[23.8171196,35.2511763],[23.8174951,35.2512941],[23.8172653,35.2508429],[23.8172663,35.2503921],[23.8179141,35.2507357],[23.8184079,35.2511152],[23.8185943,35.2513318],[23.8186496,35.2511516],[23.8185854,35.250376],[23.8189045,35.2502503],[23.8192017,35.2500343],[23.8194372,35.2499648],[23.81991,35.2498843],[23.8204013,35.249876],[23.8205796,35.2498447],[23.8208255,35.2500119],[23.8210343,35.2500303],[23.821221,35.2501387],[23.8213202,35.2500127],[23.8216059,35.2500672],[23.8219577,35.2500226],[23.8222764,35.2500772],[23.8228472,35.2504387],[23.8236052,35.2506562],[23.8239016,35.250837],[23.8241433,35.2509005],[23.8246159,35.2509192],[23.8251101,35.2511092],[23.8257256,35.2511372],[23.8260442,35.2512278],[23.826473,35.2511743],[23.8266931,35.2510845],[23.8273307,35.2510674],[23.8277596,35.2509778],[23.8282761,35.2510146],[23.8286387,35.2511143],[23.8288809,35.2509072],[23.8296285,35.2508813],[23.8301675,35.2507017],[23.8304642,35.2507382],[23.830882,35.2506846],[23.831179,35.2505859],[23.8312232,35.2504958],[23.8317405,35.2501448],[23.8318728,35.2499466],[23.8320048,35.2499107],[23.8324884,35.2499294],[23.8327525,35.2498126],[23.8329393,35.2498309],[23.8332028,35.2499665],[23.833587,35.2502646],[23.833796,35.2501657],[23.8340493,35.2499136],[23.8343682,35.2498689],[23.8350386,35.2499149],[23.8356427,35.2501502],[23.8358401,35.2503759],[23.8364331,35.2507103],[23.8367083,35.2505123],[23.8370268,35.250639],[23.8373458,35.2505222],[23.8376202,35.2507029],[23.8380786,35.2506359],[23.8384228,35.2506408],[23.8389719,35.2509211],[23.8390599,35.2508851],[23.8389392,35.2507678],[23.839137,35.250768],[23.8392357,35.2508944],[23.8393019,35.2507953],[23.8393456,35.2509036],[23.8395982,35.2510301],[23.8394997,35.2507956],[23.8396206,35.2508318],[23.8396427,35.2507687],[23.8394456,35.2503897],[23.8394801,35.2496143],[23.8395458,35.2497406],[23.8396339,35.2496596],[23.8397566,35.249813],[23.8397485,35.2493464],[23.8394415,35.2489943],[23.8393761,35.2486877],[23.8394094,35.2485344],[23.8397728,35.2481742],[23.8395866,35.2478674],[23.8397958,35.2476783],[23.8404667,35.2474628],[23.8407965,35.2474362],[23.8412035,35.2473195],[23.8418855,35.2470499],[23.8420283,35.2470681],[23.842105,35.2472125],[23.8427317,35.2471051],[23.8430841,35.2467539],[23.8431615,35.2465285],[23.8433047,35.2464025],[23.8440082,35.2463673],[23.8441508,35.2465118],[23.8444474,35.2466294],[23.845241,35.2467296],[23.8451975,35.246459],[23.8450659,35.2462965],[23.8449231,35.2462603],[23.8449563,35.2461702],[23.8448685,35.2460799],[23.8446818,35.2460075],[23.8446602,35.2458091],[23.8445174,35.2457458],[23.8445067,35.2455835],[23.84443,35.2454752],[23.844364,35.2454841],[23.8444081,35.2454391],[23.8443313,35.2453759],[23.8445402,35.2453311],[23.8451004,35.2455121],[23.8457711,35.2453777],[23.8459206,35.2453689],[23.8464197,35.2453425],[23.8473545,35.2450912],[23.8475745,35.2449652],[23.8476958,35.244767],[23.8476087,35.2443341],[23.8478295,35.2438023]]},{"id":17693,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0391\u03c0\u03cc \u03c4\u03b1 \u039a\u03b1\u03bc\u03ac\u03c1\u03b9\u03b1 \u03c3\u03c4\u03b7 \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1","description_GR":"\u03a4\u03bf \u03c0\u03b1\u03bb\u03b9\u03cc \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9 \u03b1\u03c0\u03cc \u03c4\u03b1 \u039a\u03b1\u03bc\u03ac\u03c1\u03b9\u03b1","path":"CRETE\/Crete_Sougia_Kamaria_Sougia","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":4,"length":7516,"name_EN":"Crete: From Kamaria to Sougia","description_EN":"The old path from Kamaria","ascent_time":190,"descent_time":200,"marker":"Red_dots","level":11,"ascent":156,"descent":546,"maxelev":396,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.77145 35.2484,23.81086 35.28157)","views":11,"millestones":"0,23.7745966,35.2814806#1,23.7771599,35.2792505#2,23.7869290,35.2778602#3,23.7914070,35.2784571#4,23.7989524,35.2726805#5,23.8031676,35.2666601#6,23.8061313,35.2583396#7,23.8098614,35.2520293#7.5,23.8108618,35.2483962","x":23.7989866,"y":35.2726283,"coor":[[23.7745966,35.2814806],[23.7743819,35.2815704],[23.773558,35.2812983],[23.7731338,35.2812141],[23.7727361,35.2811232],[23.7723182,35.2811405],[23.7717018,35.2813467],[23.771559,35.2813013],[23.7714499,35.2810126],[23.771593,35.2809317],[23.7718569,35.2809683],[23.7717365,35.2807697],[23.7719567,35.2806619],[23.7721663,35.2804278],[23.7722003,35.2800582],[23.7723326,35.2799232],[23.7727289,35.2797616],[23.77307,35.2796901],[23.7733887,35.2797539],[23.7737726,35.2800972],[23.7739045,35.2801335],[23.7751938,35.2798992],[23.7761607,35.2797748],[23.7769265,35.2796139],[23.7771143,35.2792806],[23.7772245,35.2792087],[23.7774332,35.2792722],[23.7777192,35.2792457],[23.7780049,35.2793183],[23.7785327,35.2793193],[23.7793235,35.2796544],[23.7798734,35.2796193],[23.7802696,35.2795118],[23.7806761,35.2796208],[23.7809507,35.2797655],[23.7814454,35.279807],[23.782831,35.2797554],[23.783701,35.27927],[23.7839436,35.279009],[23.7840983,35.2787297],[23.7847039,35.2784423],[23.7852661,35.2779113],[23.7858492,35.277777],[23.7869156,35.2778691],[23.7870367,35.2777882],[23.787137,35.2773014],[23.7872468,35.2773557],[23.7877398,35.2780329],[23.7886521,35.2781968],[23.7888281,35.278161],[23.7889273,35.278071],[23.7888732,35.2777192],[23.788919,35.277043],[23.7890292,35.276935],[23.7892474,35.2775937],[23.7897081,35.2780543],[23.7897741,35.2780364],[23.7897522,35.2779913],[23.7894456,35.2775038],[23.7895014,35.2771793],[23.7895667,35.2774319],[23.7896654,35.2775493],[23.7904449,35.2780195],[23.7905537,35.2784525],[23.7904097,35.2788671],[23.7904426,35.2789032],[23.7908171,35.2786514],[23.7913828,35.2785036],[23.7917143,35.2778549],[23.7924633,35.2773693],[23.7926948,35.2771443],[23.7928328,35.2769078],[23.7932913,35.2760723],[23.7936217,35.2758294],[23.7944914,35.2754341],[23.7946237,35.2753081],[23.7953307,35.2748043],[23.7957931,35.2745707],[23.7964862,35.2744276],[23.7969148,35.2745004],[23.79763,35.2743213],[23.7977843,35.2741682],[23.798215,35.2734115],[23.7985785,35.2731507],[23.7989866,35.2726283],[23.7994714,35.2722324],[23.7995929,35.2720162],[23.7997578,35.2720165],[23.7998012,35.2722239],[23.7999007,35.2720347],[23.8000544,35.2720981],[23.8002967,35.2719542],[23.800088,35.2718818],[23.8001541,35.2718097],[23.8007703,35.2716124],[23.8013202,35.2715682],[23.8016173,35.2714875],[23.8021349,35.2711187],[23.8027623,35.2708402],[23.8029057,35.2706691],[23.8029726,35.2702815],[23.802677,35.2697309],[23.8026564,35.2691538],[23.8023169,35.2686032],[23.8023849,35.2677738],[23.8024402,35.2676476],[23.8029581,35.2671886],[23.8030906,35.2669544],[23.8032015,35.2665308],[23.8034551,35.2662246],[23.8035216,35.2660083],[23.8037199,35.2658463],[23.8039626,35.2655041],[23.8041072,35.26481],[23.804284,35.2644406],[23.8042188,35.2641159],[23.8046263,35.263828],[23.8050896,35.2631615],[23.8051124,35.2628369],[23.8052668,35.2626207],[23.8052784,35.2624043],[23.8051802,35.2620796],[23.8053789,35.2617372],[23.8053815,35.2606552],[23.8055139,35.260457],[23.8056617,35.2602814],[23.8056626,35.2598847],[23.8058729,35.259308],[23.8059291,35.258776],[23.806128,35.2583616],[23.8062284,35.2577215],[23.8065378,35.2570638],[23.8066807,35.257064],[23.8067799,35.256974],[23.8067588,35.2565952],[23.8069469,35.2560906],[23.807024,35.2560366],[23.8069144,35.2558922],[23.8070026,35.2557841],[23.8069479,35.2556668],[23.8071792,35.2554868],[23.8073007,35.2552345],[23.8071141,35.255126],[23.8071143,35.2550359],[23.8069273,35.2550716],[23.8070044,35.2550177],[23.8069941,35.2547201],[23.8066871,35.254395],[23.8065776,35.2541964],[23.806578,35.2540251],[23.8064352,35.2539798],[23.8063915,35.2538625],[23.8065573,35.2534841],[23.8066566,35.253358],[23.8068983,35.2533854],[23.8072399,35.2530343],[23.8081529,35.2527833],[23.8084717,35.2527838],[23.8087687,35.2527121],[23.8092419,35.2524694],[23.8105621,35.2515382],[23.8107609,35.2511688],[23.810737,35.2509253],[23.8107285,35.2498816],[23.8107313,35.2496855],[23.8107547,35.2490723],[23.8107635,35.2490092],[23.8108172,35.2486734],[23.8108618,35.2483962]]},{"id":17694,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u03a0\u03b5\u03c1\u03af\u03c0\u03b1\u03c4\u03bf\u03c2 \u03c3\u03c4\u03bf \u0395\u03bb\u03b1\u03c6\u03bf\u03bd\u03ae\u03c3\u03b9","description_GR":"","path":"CRETE\/Crete_Paleochora_Elafonisi_loop","activity_type":31,"assistance":2,"difficulty":1,"scenic_value":5,"length":2835,"name_EN":"Crete: A walk along Elafonisi","description_EN":"","ascent_time":55,"descent_time":55,"marker":"Red_dots","level":12,"ascent":32,"descent":32,"maxelev":43,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.52379 35.2683,23.54466 35.27565)","views":18,"millestones":"0,23.5446158,35.2757277#1,23.5394827,35.2700321#2,23.5313982,35.2708043#2.8,23.5238359,35.2687363","x":23.5346979,"y":35.2718623,"coor":[[23.5446158,35.2757277],[23.5445202,35.2755019],[23.5443421,35.2750955],[23.544047,35.2747698],[23.5438276,35.2746788],[23.5435524,35.2747409],[23.5431349,35.2746762],[23.5430586,35.2745677],[23.5434459,35.2741183],[23.5441666,35.2731134],[23.5441342,35.273005],[23.5437272,35.2727939],[23.5428729,35.2723826],[23.542585,35.2723207],[23.5424938,35.2722234],[23.5425162,35.2720905],[23.542155,35.2718569],[23.5415829,35.2713138],[23.5406438,35.270156],[23.540304,35.2699834],[23.5396773,35.269981],[23.5394681,35.2700343],[23.5382705,35.2698945],[23.5377416,35.2700909],[23.5375759,35.2702255],[23.5376057,35.2707847],[23.5375288,35.2709534],[23.5372175,35.2715654],[23.5368313,35.2718074],[23.5365122,35.2718512],[23.5360045,35.2721829],[23.5356975,35.2720375],[23.5354219,35.2721536],[23.5353234,35.2720811],[23.5352259,35.2718192],[23.5349403,35.2717821],[23.5346979,35.2718623],[23.5343799,35.2717168],[23.5342709,35.2715541],[23.5340187,35.2714269],[23.5338207,35.2714441],[23.5332693,35.2717396],[23.5329062,35.2717742],[23.5327086,35.2717194],[23.5325336,35.2715744],[23.532292,35.2715104],[23.5322706,35.2714111],[23.5319745,35.2712747],[23.5318436,35.2711029],[23.5312193,35.2706857],[23.5309351,35.270387],[23.5299807,35.2700227],[23.5295862,35.2697957],[23.5293675,35.2695784],[23.5289616,35.2694236],[23.5285897,35.2690975],[23.5282713,35.2690151],[23.5276688,35.2686341],[23.5268894,35.2684326],[23.5265936,35.2682511],[23.5261196,35.2684657],[23.5259105,35.2685009],[23.5257021,35.26841],[23.5256467,35.2684819],[23.5255478,35.2684815],[23.5253733,35.2682283],[23.5250516,35.2683736],[23.5247437,35.2683814],[23.52453,35.2684955],[23.5244635,35.2685945],[23.5240125,35.2686288],[23.5238359,35.2687363]]},{"id":17895,"author":"AnaDigit","name_GR":"\u039a\u03c1\u03ae\u03c4\u03b7: \u0393\u03ad\u03c6\u03c5\u03c1\u03b1 \u03a3\u03bf\u03cd\u03b3\u03b9\u03b1\u03c2-\u039b\u03b9\u03b2\u03b1\u03b4\u03ac\u03c2-\u039a\u03bf\u03c5\u03c3\u03c4\u03bf\u03b3\u03ad\u03c1\u03b1\u03ba\u03bf","description_GR":"\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c6\u03b1\u03c1\u03ac\u03b3\u03b3\u03b9 \u0391\u03b3. \u0395\u03b9\u03c1\u03ae\u03bd\u03b7\u03c2 \u03c0\u03c1\u03bf\u03c2 \u039a\u03bf\u03c5\u03c3\u03c4\u03bf\u03b3\u03ad\u03c1\u03b1\u03ba\u03bf","path":"CRETE\/Crete_Sougia_Koustogerako_gefSougias","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":4292,"name_EN":"Crete: Sougia bridge-Livadas-\u039aoustogerako","description_EN":"Connection from Agia Irini gorge to Koustogerako","ascent_time":70,"descent_time":80,"marker":"Red_dots","level":11,"ascent":53,"descent":487,"maxelev":507,"minelev":64,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.81535 35.27222,23.83526 35.28078)","views":5,"millestones":"0,23.8352530,35.2781046#1,23.8270597,35.2747447#2,23.8204435,35.2733402#3,23.8208414,35.2804737#4.3,23.8153681,35.2735494","x":23.8201447,"y":35.2725557,"coor":[[23.835253,35.2781046],[23.8352113,35.2780031],[23.8348705,35.2779395],[23.834585,35.2777318],[23.8343104,35.2776232],[23.83408,35.2773704],[23.8338491,35.277334],[23.8333761,35.2774055],[23.8328601,35.2770261],[23.8323656,35.2768631],[23.8323545,35.2769442],[23.8322447,35.2768539],[23.832212,35.2767096],[23.832191,35.2762226],[23.8322904,35.2760424],[23.8322246,35.2759522],[23.8319057,35.2759517],[23.8314104,35.2761765],[23.8313005,35.2761763],[23.8308611,35.2759593],[23.8306528,35.2756705],[23.8300264,35.2755073],[23.8298283,35.2755791],[23.8291689,35.2754159],[23.82852,35.2755051],[23.8281904,35.2753424],[23.8276405,35.2754047],[23.8273989,35.2752601],[23.8273005,35.2749894],[23.8269275,35.2746102],[23.8269169,35.2744028],[23.8267965,35.2741862],[23.8265108,35.2740596],[23.8258622,35.2740045],[23.8257741,35.2740675],[23.8257957,35.2742749],[23.8257187,35.2743019],[23.8257824,35.2743899],[23.8247706,35.2744876],[23.8238792,35.274829],[23.8235934,35.2747925],[23.823231,35.2745755],[23.8225278,35.2743401],[23.8219791,35.2738433],[23.8212433,35.2734635],[23.820706,35.2727774],[23.8200136,35.2721948],[23.8200242,35.2723571],[23.8201447,35.2725557],[23.8201876,35.2730607],[23.8205057,35.2734128],[23.8206367,35.2738459],[23.8210567,35.2742545],[23.8211112,35.27448],[23.8210004,35.2748225],[23.821022,35.2750119],[23.8218125,35.2755541],[23.8219112,35.2756985],[23.8218331,35.2761943],[23.8219751,35.2766183],[23.821985,35.2771323],[23.8221164,35.2773759],[23.822005,35.278025],[23.822212,35.278918],[23.82209,35.2793777],[23.8217262,35.279837],[23.8216816,35.2801165],[23.8217803,35.2802428],[23.8220658,35.2803875],[23.8220657,35.2804416],[23.8219447,35.2804775],[23.821516,35.2804048],[23.8210428,35.2805664],[23.8208999,35.2805571],[23.8207793,35.2803856],[23.8208681,35.279989],[23.8208133,35.2799168],[23.8206647,35.279982],[23.8200916,35.2805492],[23.8199901,35.2807925],[23.8199112,35.280745],[23.8198806,35.2805827],[23.8201211,35.2802832],[23.8206,35.2794228],[23.820689,35.278945],[23.8206235,35.2787015],[23.820349,35.2785388],[23.8200529,35.2781777],[23.819855,35.2772193],[23.8194516,35.2766168],[23.8185592,35.2760249],[23.8181088,35.2758146],[23.8177107,35.2757396],[23.8172538,35.2755585],[23.8165408,35.274782],[23.8156739,35.2740232],[23.8153681,35.2735494]]}],{"extent":[23.52379,35.23056,23.84783,35.30981],"advPath":"http:\/\/www.topoguide.gr\/adventure.php?l=el&ul=1&a=","style":{"default":{"color":"#ff612f","width":6,"action":{"type":"redirect"},"sort":{"type":"none"}},"Islands\/Islands_Zakynthos_Kalamaki_Skopiotisa":{"url":"http:\/\/www.topoguide.gr\/hiking_in_zakynthos.php#test","color":"#ff612f","width":5,"exclude":false,"useStyle":false},"Islands\/Islands_Zakynthos_Kiliomeno_Pandokratoras":{"url":null,"color":"#2f2fff","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Yperaghathos_Loucha":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Volima_AgAndreas":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Vassilikos":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Prodromos_Kalithea":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Loucha_Kalithea":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Klima_Schinari":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Kiliomeno_Yperaghathos":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Keri_ParaliaKeriou2":{"url":"#advlist","color":"#2f2fff","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Keri_ParaliaKeriou":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Keri_Faros":{"url":null,"color":"#2f2fff","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Keri_Agalas":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Kalithea_Lagopodo":{"url":null,"color":"#2f2fff","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Argasi_Skopiotisa":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Agalas_Kiliomenos":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Sikinos_02_Chorio_Loop":{"url":null,"color":"#08bc25","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Sikinos_01_Chorio_Alopronia":{"url":null,"color":"#ff2fc5","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Sikinos_03_Kastro_Alopronia":{"url":null,"color":"#253bdd","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Sikinos_04_Kastro_Malta":{"url":null,"color":"#2feeff","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Sikinos_05_Kastro_Loop":{"url":null,"color":"#ffd52f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Sikinos_06_Episkopi_AgMarina":{"url":null,"color":"#2fdddd","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Sikinos_07_Kastro_Alopronia":{"url":null,"color":"#2fff2f","width":6,"exclude":false,"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_crete_paleochora = new getPoiCollection("crete_paleochora",[{"name":"\u039a\u03a1\u0397\u03a4\u0397
\u0391\u03b6\u03c9\u03b3\u03c5\u03c1\u03ad\u03c2
\u03a3\u03c0\u03ae\u03bb\u03b1\u03b9\u03bf \u0396\u03bf\u03c5\u03c1\u03ad","owner":"AnaDigit","x":23.709045,"y":35.27141,"photo":"Crete_Spileo_Zoure_Azogyress","type":73,"zoom_level":13,"id":808,"hlink_GR":"","hlink_EN":"","description":"\u03a3\u03c0\u03b7\u03bb\u03b1\u03b9\u03bf\u03b2\u03ac\u03c1\u03b1\u03b8\u03c1\u03bf \u03c0\u03ac\u03bd\u03c9 \u03b1\u03c0\u03cc \u03c4\u03bf \u03c7\u03c9\u03c1\u03b9\u03cc \u0391\u03b6\u03c9\u03b3\u03c5\u03c1\u03ad\u03c2. \u039c\u03b9\u03ba\u03c1\u03cc \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9 \u03bf\u03b4\u03b7\u03b3\u03b5\u03af \u03b1\u03c0\u03cc \u03c4\u03bf \u03c4\u03ad\u03bb\u03bf\u03c2 \u03c4\u03bf\u03c5 \u03b4\u03c1\u03cc\u03bc\u03bf\u03c5 \u03c3\u03c4\u03b7\u03bd \u03b5\u03af\u03c3\u03bf\u03b4\u03bf\u03c2, \u03c0\u03bf\u03c5 \u03b5\u03af\u03bd\u03b1\u03b9 \u03c3\u03c4\u03b5\u03bd\u03ae \u03c3\u03c7\u03b9\u03c3\u03bc\u03ae \u03ba\u03b1\u03b9 \u03bf\u03b4\u03b7\u03b3\u03b5\u03af \u03c3\u03c4\u03b7\u03bd \u03bc\u03bf\u03bd\u03b1\u03b4\u03b9\u03ba\u03ae \u03b1\u03af\u03b8\u03bf\u03c5\u03c3\u03b1. \u039c\u03cc\u03bd\u03b9\u03bc\u03b7 \u03c3\u03c4\u03b1\u03b3\u03bf\u03bd\u03bf\u03c1\u03c1\u03bf\u03ae \u03ba\u03b1\u03b9 \u03bc\u03b5\u03c1\u03b9\u03ba\u03bf\u03af \u03c3\u03c4\u03b1\u03bb\u03b1\u03ba\u03c4\u03af\u03c4\u03b5\u03c2 \u03b4\u03b9\u03b1\u03ba\u03c1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03c3\u03c4\u03bf \u03b7\u03bc\u03af\u03c6\u03c9\u03c2 \u03c0\u03bf\u03c5 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03b5\u03af\u03c3\u03bf\u03b4\u03bf \u03c6\u03c9\u03c4\u03af\u03b6\u03b5\u03b9 \u03c4\u03bf \u03ba\u03ad\u03bd\u03c4\u03c1\u03bf \u03c4\u03bf\u03c5 \u03b8\u03b1\u03bb\u03ac\u03bc\u03bf\u03c5, \u03cc\u03c0\u03bf\u03c5 \u03b2\u03c1\u03af\u03c3\u03ba\u03b5\u03c4\u03b1\u03b9 \u03ba\u03b1\u03b9 \u03c4\u03bf \u03ba\u03b5\u03bd\u03bf\u03c4\u03ac\u03c6\u03b5\u03b9\u03bf \u03c4\u03c9\u03bd 99 \u03a0\u03b1\u03c4\u03ad\u03c1\u03c9\u03bd, \u03c0\u03bf\u03c5 \u03ba\u03b1\u03c4\u03ac \u03c4\u03b7\u03bd \u03c0\u03b1\u03c1\u03ac\u03b4\u03bf\u03c3\u03b7 \"\u03ba\u03bf\u03b9\u03bc\u03ae\u03b8\u03b7\u03ba\u03b1\u03bd\" \u03b5\u03b4\u03ce, \u03b1\u03bd\u03ac\u03bc\u03bd\u03b7\u03c3\u03b7 \u03c0\u03bf\u03c5 \u03b3\u03b9\u03bf\u03c1\u03c4\u03ac\u03b6\u03b5\u03c4\u03b1\u03b9 \u03c3\u03c4\u03bf \u03c7\u03c9\u03c1\u03b9\u03cc \u03c3\u03c4\u03b9\u03c2 7 \u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5.","height":600,"width":399},{"name":"\u039a\u03a1\u0397\u03a4\u0397
\u0391\u03c1\u03c7\u03b1\u03af\u03b1 \u039b\u03b9\u03c3\u03c3\u03cc\u03c2
\u0391\u03c3\u03c0\u03bb\u03b7\u03c0\u03b9\u03b5\u03af\u03bf","owner":"AnaDigit","x":23.785638,"y":35.243638,"photo":"Crete_Lissos1","type":10,"zoom_level":12,"id":813,"hlink_GR":"","hlink_EN":"","description":"","height":399,"width":600},{"name":"\u039a\u03a1\u0397\u03a4\u0397
\u0391\u03c1\u03c7\u03b1\u03af\u03b1 \u039b\u03b9\u03c3\u03c3\u03cc\u03c2
\u0386\u03b3\u03b9\u03bf\u03c2 \u039a\u03ae\u03c1\u03c5\u03ba\u03bf\u03c2","owner":"AnaDigit","x":23.787569,"y":35.240413,"photo":"Crete_SOUGIA_Agios_Kyrikos","type":10,"zoom_level":14,"id":814,"hlink_GR":"","hlink_EN":"","description":"","height":399,"width":600}],{});function createAdventureListWidgetContext(){};console.log('sort type: none');function createAdventureListWidgetContext(){var divHere = (document.getElementById('pathList'))?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('pathList').innerHTML="
E4 Κουστογέρακο-Σούγια
E4 Χρυσοσκαλίτισσα-Ελαφονήσι
E4 Ελαφονήσι-Κουντούρα
E4 Κουντούρα-Παλαιόχωρα
Φαράγγι Ανύδρων
Ανύδροι-παραλία Κερατίδες
Ανύδροι-παραλία Γιαλισκάρι
Αζογυρές-Ανύδροι
E4 Παλαιόχωρα-Σούγια
Χρυσοσκαλίτισσα-Άσπρη Λίμνη
Αζογυρές-Σπανιάκος
Αζογυρές-Σπήλαιο Ζουρέ
Στον Κακό Ποταμό
Αρχαία Λισσός
Στον Κακό Ποταμό
Η κορυφογραμμή του Αρμού
Σούγια-Κεραία-Κουστογέρακο
Σούγια-Σπήλαιο Πολύφημου-Κουστογέρακο
Σούγια-έξοδος φαραγγιού Αγίας Ειρήνης
Σούγια-Άγιος Αντώνιος
Από τα Καμάρια στη Σούγια
Περίπατος στο Ελαφονήσι
Γέφυρα Σούγιας-Λιβαδάς-Κουστογέρακο
";}else{console.log('adventure list widget activated but div missing. Requested id: pathList');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["crete_paleochora"],pc:["crete_paleochora"],url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png',showLogo: 0,showZoomTool: 0}; var overrideAfterLoad = function(map){ adventureCollection_crete_paleochora.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); }