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_kythnos = new getAdventureCollection("kythnos",[{"id":16473,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u03a0\u03b1\u03c1\u03b1\u03bb\u03af\u03b5\u03c2 \u0391\u03c0\u03cc\u03ba\u03c1\u03bf\u03c5\u03c3\u03b7 \u03ba\u03b1\u03b9 \u039a\u03bf\u03bb\u03ce\u03bd\u03b1","description_GR":"\u039f \u03c3\u03c5\u03bd\u03c4\u03bf\u03bc\u03cc\u03c4\u03b5\u03c1\u03bf\u03c2 \u03b4\u03c1\u03cc\u03bc\u03bf\u03c2 \u03b1\u03bd\u03ac\u03bc\u03b5\u03c3\u03b1 \u03c3\u03c4\u03b9\u03c2 \u03b4\u03cd\u03bf \u03b4\u03b7\u03bc\u03bf\u03c6\u03b9\u03bb\u03b5\u03af\u03c2 \u03c0\u03b1\u03c1\u03b1\u03bb\u03af\u03b5\u03c2","path":"Islands\/Islands_Kythnos_Apokrousi_Kolona","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":2418,"name_EN":"Kythnos Isl: Beaches Apokrousi and Kolona","description_EN":"The shortest way between the 2 popular beaches","ascent_time":50,"descent_time":55,"marker":"No_marks","level":12,"ascent":97,"descent":104,"maxelev":70,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.37851 37.4123,24.39787 37.41758)","views":26,"millestones":"0,24.3977376,37.4122990#1,24.3899038,37.4155500#2.4,24.3784902,37.4134753","x":24.3884851,"y":37.4168479,"coor":[[24.3977376,37.412299],[24.3978711,37.4122985],[24.3977744,37.4132385],[24.3978518,37.4138489],[24.3970458,37.4143654],[24.3964485,37.4146694],[24.3961664,37.4147447],[24.3959409,37.4147117],[24.3957468,37.4144734],[24.3955769,37.4143906],[24.3940275,37.4141502],[24.3936548,37.414192],[24.3929934,37.4148184],[24.3924403,37.4146557],[24.3920661,37.414684],[24.3918858,37.414795],[24.3915366,37.4150012],[24.3909854,37.4152149],[24.3905478,37.4154101],[24.3896786,37.4155978],[24.3893229,37.4159144],[24.389224,37.4161807],[24.3890822,37.4164831],[24.3887889,37.4165945],[24.3884851,37.4168479],[24.3884271,37.4171094],[24.3882268,37.4171709],[24.3879232,37.4174536],[24.3877095,37.4175152],[24.3872364,37.4175505],[24.3868166,37.417491],[24.3860655,37.4164727],[24.3858384,37.4162684],[24.3854314,37.4159542],[24.3846821,37.415551],[24.3841839,37.4153611],[24.3840138,37.415382],[24.3833828,37.4157468],[24.3822204,37.4160593],[24.3819716,37.4160128],[24.3812216,37.4154811],[24.3806221,37.4153591],[24.3803622,37.41536],[24.380147,37.4152773],[24.3799358,37.4152644],[24.3798438,37.4152309],[24.3795605,37.4150673],[24.3792197,37.4147192],[24.3784902,37.4134753]]},{"id":16474,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u03a7\u03ce\u03c1\u03b1-\u0394\u03c1\u03c5\u03bf\u03c0\u03af\u03b4\u03b1","description_GR":"\u039f \u03ba\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03bf\u03c2 \u03b4\u03c1\u03cc\u03bc\u03bf\u03c2 \u03b1\u03bd\u03ac\u03bc\u03b5\u03c3\u03b1 \u03c3\u03c4\u03bf\u03c5\u03c2 \u03b4\u03cd\u03bf \u03ba\u03cd\u03c1\u03b9\u03bf\u03c5\u03c2 \u03bf\u03b9\u03ba\u03b9\u03c3\u03bc\u03bf\u03cd\u03c2","path":"Islands\/Islands_Kythnos_Chora_Dryopida","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":5325,"name_EN":"Kythnos Isl: Chora-Dryopida","description_EN":"The best way between the 2 major villages","ascent_time":125,"descent_time":120,"marker":"No_marks","level":12,"ascent":276,"descent":237,"maxelev":206,"minelev":96,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.42622 37.38317,24.43528 37.41281)","views":38,"millestones":"0,24.4298025,37.4127907#1,24.4287063,37.4067806#2,24.4323247,37.4013003#3,24.4339492,37.3957633#4,24.4277751,37.3916122#5.3,24.4306348,37.3832182","x":24.4353664,"y":37.4004554,"coor":[[24.4298025,37.4127907],[24.4297044,37.4127933],[24.4291958,37.4127771],[24.4288488,37.4127468],[24.4289263,37.4124671],[24.4289506,37.4123994],[24.4286608,37.4123441],[24.428671,37.4121638],[24.4286088,37.4121528],[24.4279078,37.4120832],[24.4277947,37.4120656],[24.4277382,37.4120613],[24.4271451,37.4118426],[24.4273158,37.411673],[24.427485,37.4116183],[24.4276614,37.4114689],[24.4280887,37.4110978],[24.428122,37.4111225],[24.4286047,37.4105529],[24.4286931,37.41021],[24.4288386,37.4102208],[24.4288643,37.4101328],[24.429155,37.409841],[24.4293104,37.4093537],[24.4297033,37.4089016],[24.4297474,37.4087122],[24.4295542,37.4085146],[24.4290462,37.4082257],[24.4288859,37.4078477],[24.4288671,37.4075256],[24.4288655,37.4072461],[24.4287046,37.406778],[24.4280907,37.4061222],[24.428191,37.4058785],[24.4281291,37.405908],[24.4280596,37.405746],[24.4280598,37.4056536],[24.4283292,37.4053372],[24.428248,37.4049769],[24.4279763,37.4048698],[24.4281905,37.4047969],[24.4282916,37.4046974],[24.4283013,37.4043999],[24.4282099,37.4042379],[24.428288,37.4040506],[24.4285356,37.4038875],[24.4285567,37.403617],[24.4287352,37.4032288],[24.4287455,37.4030485],[24.4289475,37.4028043],[24.4293807,37.4014958],[24.4297628,37.4011339],[24.4299868,37.4007905],[24.4302275,37.4009068],[24.4307018,37.400869],[24.4314834,37.4012177],[24.4318562,37.4011983],[24.4322183,37.4013052],[24.4326589,37.4012855],[24.4330886,37.4013471],[24.4336559,37.4016334],[24.4337451,37.4014348],[24.4340161,37.4014158],[24.4339022,37.4012449],[24.4343429,37.4012523],[24.4347033,37.4010617],[24.4353804,37.400924],[24.4353664,37.4004554],[24.4347195,37.399953],[24.4346394,37.399773],[24.4346913,37.3997165],[24.4344567,37.3994447],[24.4344219,37.3992825],[24.4346091,37.3985698],[24.4347572,37.3980509],[24.4348749,37.3976404],[24.4348993,37.3975772],[24.4351291,37.3969026],[24.4350031,37.3966056],[24.4349109,37.3962995],[24.4347403,37.3961018],[24.4342758,37.3958781],[24.434061,37.3958429],[24.4338454,37.3956904],[24.4338109,37.3955734],[24.4338756,37.3950503],[24.4345712,37.3942095],[24.4345144,37.3941556],[24.4339492,37.3940856],[24.4333808,37.3934748],[24.4331654,37.3933494],[24.4330637,37.3933497],[24.432985,37.3934131],[24.4329642,37.3937197],[24.4327046,37.3937567],[24.4324329,37.3936675],[24.4321607,37.3934882],[24.4314938,37.3934096],[24.4312786,37.3933202],[24.431108,37.3931135],[24.430588,37.3930703],[24.4298662,37.3932803],[24.4296063,37.3932632],[24.4291314,37.3932018],[24.4286664,37.39287],[24.4283436,37.3924926],[24.427632,37.3913887],[24.427551,37.3910555],[24.4275826,37.3906408],[24.4274884,37.3899651],[24.4273628,37.3897312],[24.4269539,37.3893451],[24.4266452,37.3890713],[24.4263262,37.3885857],[24.4261745,37.3877389],[24.4263652,37.3874949],[24.426125,37.3869729],[24.4262545,37.386657],[24.4260722,37.3863692],[24.4262292,37.3861794],[24.4269041,37.3856631],[24.4275125,37.3853905],[24.4276696,37.3852097],[24.4281856,37.3851808],[24.4286771,37.3850844],[24.4296752,37.3848058],[24.4302341,37.384272],[24.430401,37.3840708],[24.4306352,37.383786],[24.4310578,37.383611],[24.4310631,37.3835591],[24.4309291,37.3835821],[24.4307688,37.3831929],[24.4306348,37.3832182]]},{"id":16475,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u03a7\u03ce\u03c1\u03b1, \u03bc\u03b9\u03ba\u03c1\u03cc\u03c2 \u03ba\u03cd\u03ba\u03bb\u03bf\u03c2","description_GR":"\u039c\u03b9\u03ba\u03c1\u03ae \u03ba\u03c5\u03ba\u03bb\u03b9\u03ba\u03ae \u03b4\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae \u03b3\u03cd\u03c1\u03c9 \u03b1\u03c0\u03cc \u03c4\u03b7 \u03a7\u03ce\u03c1\u03b1","path":"Islands\/Islands_Kythnos_Chora_loop1","activity_type":32,"assistance":2,"difficulty":1,"scenic_value":5,"length":3367,"name_EN":"Kythnos Isl: Chora, short loop","description_EN":"Short loop trail around Chora","ascent_time":65,"descent_time":60,"marker":"No_marks","level":13,"ascent":106,"descent":106,"maxelev":180,"minelev":110,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.42316 37.40528,24.43398 37.41294)","views":21,"millestones":"0,24.4298025,37.4127907#1,24.4333307,37.4078711#2,24.4250347,37.4065446#3.4,24.4298039,37.4127907","x":24.4261596,"y":37.405309,"coor":[[24.4298025,37.4127907],[24.4300093,37.4127561],[24.4303993,37.4126736],[24.4313613,37.4124267],[24.431546,37.4123697],[24.4316592,37.4124053],[24.4319071,37.4122782],[24.4320795,37.4124173],[24.4322884,37.4125135],[24.4326934,37.4126877],[24.4330217,37.4127947],[24.4334967,37.4128561],[24.4334843,37.4126668],[24.4336428,37.4124769],[24.4337792,37.4123705],[24.4340124,37.4116576],[24.4339129,37.4115498],[24.4333578,37.4113175],[24.4331811,37.4111604],[24.4331461,37.4109802],[24.4332689,37.4107184],[24.4335386,37.410447],[24.4334004,37.4100058],[24.4336931,37.4098065],[24.43367,37.4095947],[24.4334205,37.4094514],[24.433177,37.4087402],[24.4331963,37.4081543],[24.4334886,37.4075312],[24.4333126,37.4071466],[24.4332436,37.4069305],[24.4327557,37.4068309],[24.4314526,37.4061776],[24.4308356,37.4061055],[24.4299543,37.4061087],[24.4289242,37.4057699],[24.428191,37.4058785],[24.4281291,37.405908],[24.4280596,37.405746],[24.4273582,37.4054579],[24.4267359,37.4053249],[24.4261596,37.405309],[24.4261494,37.4055073],[24.4260819,37.4055616],[24.4257655,37.4055538],[24.4252219,37.4057044],[24.4252333,37.4058441],[24.425043,37.4061693],[24.4250676,37.4065207],[24.4241785,37.4071549],[24.4238209,37.4078502],[24.4238675,37.4081024],[24.4237774,37.4081569],[24.423736,37.4084545],[24.4233773,37.4089605],[24.4231391,37.4096825],[24.4242019,37.4097958],[24.4241702,37.4101925],[24.4240285,37.4104815],[24.4240547,37.4104994],[24.4239075,37.4106937],[24.423909,37.4109641],[24.4237206,37.411109],[24.4237329,37.4112983],[24.4238239,37.4113881],[24.4253764,37.4121757],[24.4260579,37.4122995],[24.4262875,37.4120508],[24.4266709,37.4119142],[24.4269779,37.411877],[24.42708,37.4119397],[24.4271451,37.4118426],[24.4277382,37.4120613],[24.4277947,37.4120656],[24.4279406,37.4122544],[24.4279315,37.4123964],[24.4280913,37.4126842],[24.4282686,37.4129269],[24.4284536,37.4128001],[24.4288495,37.4127468],[24.4291965,37.4127771],[24.4297051,37.4127933],[24.4298039,37.4127907]]},{"id":16476,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u03a7\u03ce\u03c1\u03b1-\u039b\u03bf\u03c5\u03c4\u03c1\u03ac","description_GR":"\u039c\u03b5\u03b3\u03ac\u03bb\u03b7 \u03ba\u03c5\u03ba\u03bb\u03b9\u03ba\u03ae \u03b4\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae \u03a7\u03ce\u03c1\u03b1-\u039b\u03bf\u03c5\u03c4\u03c1\u03ac","path":"Islands\/Islands_Kythnos_Chora_loop2","activity_type":32,"assistance":2,"difficulty":2,"scenic_value":5,"length":9695,"name_EN":"Kythnos Isl: Chora-Loutra","description_EN":"Long loop trail Chora-Loutra","ascent_time":235,"descent_time":230,"marker":"No_marks","level":13,"ascent":224,"descent":224,"maxelev":151,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.42408 37.4124,24.43983 37.44127)","views":23,"millestones":"0,24.4298025,37.4127907#1,24.4302141,37.4190991#2,24.4327387,37.4220933#3,24.4380832,37.4295840#4,24.4370631,37.4371698#5,24.4296609,37.4377380#6,24.4245452,37.4386368#7,24.4263700,37.4309577#8,24.4264315,37.4226074#9,24.4245537,37.4160335#9.7,24.4298039,37.4127907","x":24.4301257,"y":37.4390396,"coor":[[24.4298025,37.4127907],[24.4300093,37.4127561],[24.4303993,37.4126736],[24.4313613,37.4124267],[24.4314683,37.4126224],[24.431231,37.4126232],[24.4310063,37.4128404],[24.4305621,37.4129749],[24.4306534,37.4131369],[24.4309856,37.4141565],[24.4309402,37.4144901],[24.4307153,37.4146892],[24.4308068,37.4148872],[24.4308213,37.415446],[24.431003,37.4155896],[24.4311536,37.416238],[24.4314157,37.4166246],[24.4314391,37.4167688],[24.4312293,37.4176168],[24.4310503,37.417933],[24.4301856,37.4188916],[24.430221,37.4191528],[24.430462,37.4196702],[24.4312173,37.4194647],[24.4316781,37.4190303],[24.4318474,37.4189846],[24.4322432,37.4190373],[24.4325139,37.4189462],[24.4334375,37.4184019],[24.4339979,37.4179582],[24.4342596,37.4182637],[24.4345432,37.418461],[24.4345685,37.4189319],[24.434378,37.419212],[24.4343007,37.4195187],[24.434326,37.4199873],[24.4344164,37.419978],[24.4344053,37.4200231],[24.4339672,37.4204844],[24.4338795,37.4209535],[24.4335419,37.4211981],[24.4330795,37.421371],[24.4329461,37.4217501],[24.4325991,37.4223282],[24.4326119,37.4225896],[24.4328518,37.4230394],[24.433158,37.4232275],[24.4346475,37.4247634],[24.4352827,37.4251577],[24.4354323,37.4256258],[24.436274,37.4265511],[24.4364797,37.426929],[24.4371841,37.4275663],[24.4374238,37.427962],[24.4374158,37.4285299],[24.4375425,37.4289441],[24.4380311,37.429393],[24.4381004,37.4296451],[24.4384032,37.4300811],[24.438861,37.4302191],[24.4392497,37.4309568],[24.4399431,37.4316303],[24.4394225,37.4323646],[24.4393568,37.4327254],[24.4395417,37.4334187],[24.4395214,37.4338244],[24.4391456,37.435277],[24.4387312,37.4359275],[24.4383712,37.4362263],[24.4375032,37.4366442],[24.4367616,37.4375167],[24.4368567,37.437602],[24.4366314,37.437729],[24.4358527,37.4379482],[24.4353341,37.4381935],[24.4348834,37.4384475],[24.434589,37.4387258],[24.4344747,37.4385009],[24.4341728,37.4383533],[24.4338442,37.4382102],[24.4330783,37.4386998],[24.4325821,37.4388999],[24.43195,37.4390555],[24.4316918,37.4390091],[24.4312172,37.4381793],[24.431239,37.438035],[24.4315875,37.4376912],[24.431564,37.4375471],[24.4314503,37.4374303],[24.4311898,37.4373411],[24.4304328,37.437398],[24.4299463,37.4373276],[24.4298109,37.4373642],[24.4295433,37.4380141],[24.4300325,37.4385532],[24.4301469,37.4388051],[24.4301257,37.4390396],[24.4297996,37.4393382],[24.4291232,37.4396652],[24.4289996,37.4397918],[24.4288435,37.4401799],[24.4286337,37.441046],[24.4285441,37.4411996],[24.4284314,37.4412541],[24.4272444,37.4412584],[24.4270746,37.4412139],[24.4265335,37.4411145],[24.4260243,37.4410171],[24.4258309,37.4408105],[24.4252483,37.4404791],[24.4251344,37.4403263],[24.4247505,37.440037],[24.4246573,37.4399179],[24.4246328,37.4398301],[24.4246146,37.4396093],[24.4244871,37.4378116],[24.4244812,37.4377598],[24.4244375,37.4360293],[24.4242304,37.435381],[24.4242841,37.4348761],[24.424321,37.4346596],[24.4244555,37.4344608],[24.4244549,37.4343527],[24.4240333,37.4337593],[24.4240426,37.4333987],[24.4240876,37.4333625],[24.4243138,37.4333797],[24.4244046,37.4334515],[24.4245282,37.4333249],[24.4246306,37.4334327],[24.4248004,37.4334861],[24.4248105,37.4332788],[24.4249893,37.4329176],[24.4256289,37.432086],[24.4256396,37.4319688],[24.4260878,37.4312822],[24.4267167,37.4305588],[24.4269631,37.4301613],[24.4269164,37.4299001],[24.4269925,37.429368],[24.427259,37.4285378],[24.4272064,37.42724],[24.4272276,37.4269785],[24.4273726,37.4266535],[24.4273432,37.4261939],[24.4272154,37.4255815],[24.427067,37.4253296],[24.4265457,37.4250881],[24.4262955,37.4248006],[24.4262713,37.4245303],[24.4265366,37.4234837],[24.4265129,37.4232855],[24.4262633,37.4231061],[24.4262623,37.4229439],[24.4264103,37.4226234],[24.4266016,37.4224785],[24.4264157,37.422078],[24.4275665,37.4217404],[24.4280294,37.4216666],[24.4279021,37.4211352],[24.4276249,37.4209469],[24.4275556,37.4206858],[24.4270327,37.4201649],[24.4269181,37.4198769],[24.4266678,37.4195803],[24.4265976,37.4191569],[24.4263019,37.4188335],[24.4260069,37.4186273],[24.4257988,37.4185559],[24.4250153,37.4185046],[24.4249498,37.4181624],[24.4251459,37.4180084],[24.4250436,37.4171457],[24.4248571,37.4167701],[24.4246632,37.416568],[24.4245333,37.4164535],[24.4244982,37.4162463],[24.4246642,37.4156328],[24.4246951,37.4151009],[24.4250227,37.414818],[24.4258682,37.4142201],[24.4261371,37.4138045],[24.4266623,37.4137598],[24.4267863,37.4137052],[24.4273059,37.4136695],[24.4276282,37.4135782],[24.4282686,37.4129269],[24.4284536,37.4128001],[24.4288495,37.4127446],[24.4291964,37.4127749],[24.4297051,37.412791],[24.4298039,37.4127907]]},{"id":16478,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03c1\u03c5\u03bf\u03c0\u03af\u03b4\u03b1-\u0391\u03b3. \u039a\u03c9\u03bd\u03c3\u03c4\u03b1\u03bd\u03c4\u03af\u03bd\u03bf\u03c2-\u039a\u03b1\u03bd\u03ac\u03bb\u03b1","description_GR":"\u0395\u03c0\u03b9\u03c3\u03c4\u03c1\u03bf\u03c6\u03ae \u03c4\u03b7\u03c2 \u03b4\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae\u03c2 \u03a7\u03ce\u03c1\u03b1-\u039a\u03b1\u03bb\u03cc \u039b\u03b9\u03b2\u03ac\u03b4\u03b9-\u039a\u03b1\u03bd\u03ac\u03bb\u03b1","path":"Islands\/Islands_Kythnos_Dryopis_Kanala2","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":3,"length":7880,"name_EN":"Kythnos Isl: Dryopida-Ag. Konstandinos-Kanala","description_EN":"Return route for the trail Chora-Kalo Livadi-Kanala","ascent_time":140,"descent_time":150,"marker":"No_marks","level":12,"ascent":235,"descent":391,"maxelev":304,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.41633 37.34473,24.43632 37.38327)","views":29,"millestones":"0,24.4306326,37.3832182#1,24.4257423,37.3782437#2,24.4247987,37.3743199#3,24.4267800,37.3688580#4,24.4194383,37.3628513#5,24.4170065,37.3549569#6,24.4209240,37.3478368#7,24.4303988,37.3454335#7.9,24.4351353,37.3474982","x":24.4222356,"y":37.366084,"coor":[[24.4306326,37.3832182],[24.4307666,37.3831929],[24.4308077,37.3829606],[24.4306124,37.3828937],[24.430477,37.3829123],[24.4302711,37.3829558],[24.4299758,37.3829186],[24.4296048,37.3829808],[24.4288818,37.3829654],[24.4283178,37.3831162],[24.4279617,37.3829304],[24.4274867,37.382824],[24.4273167,37.3827254],[24.4271671,37.3822482],[24.4262857,37.3818075],[24.4261936,37.3815014],[24.4264056,37.3810499],[24.42636,37.3809689],[24.4262278,37.3809401],[24.4251897,37.3802588],[24.4249052,37.3798813],[24.4249472,37.3793223],[24.4250682,37.3787449],[24.4255075,37.378518],[24.4257431,37.3782468],[24.4256854,37.3780306],[24.4255377,37.3778689],[24.4257165,37.3775258],[24.4256121,37.3770484],[24.4253757,37.3771935],[24.424507,37.3773679],[24.4241697,37.3776395],[24.4240002,37.3776221],[24.4237394,37.3774427],[24.4231062,37.3773188],[24.4225649,37.377474],[24.4221822,37.3777187],[24.4224996,37.3771655],[24.4222836,37.3769139],[24.4223036,37.3768214],[24.4221325,37.3765246],[24.4222324,37.3762177],[24.4236976,37.3756717],[24.424099,37.3751114],[24.424482,37.3749387],[24.4246394,37.374803],[24.4248171,37.3742705],[24.4249183,37.374189],[24.4267918,37.3739569],[24.4276839,37.3739267],[24.4279094,37.3738538],[24.4280649,37.3736346],[24.4285445,37.3735653],[24.429119,37.3733108],[24.4293898,37.3732557],[24.4292741,37.3724066],[24.4286946,37.3717868],[24.4284538,37.3712693],[24.4281913,37.3707836],[24.4275452,37.3703713],[24.4271705,37.3700211],[24.4268595,37.3689586],[24.4267003,37.3687608],[24.4265144,37.3687164],[24.4258035,37.3688272],[24.4253062,37.3687478],[24.425021,37.3686159],[24.4247034,37.3683737],[24.4231817,37.3668919],[24.4227015,37.3665871],[24.4222356,37.366084],[24.4220682,37.3659269],[24.4209236,37.3652279],[24.420175,37.3646446],[24.4199909,37.3644109],[24.4195924,37.3638174],[24.4194401,37.3628355],[24.4192335,37.3622413],[24.4188476,37.3618821],[24.4176808,37.3612192],[24.4174548,37.3609428],[24.417022,37.3602773],[24.4166496,37.3599361],[24.4164924,37.3597226],[24.4162861,37.3591735],[24.4161915,37.3583986],[24.4162455,37.3579478],[24.4164793,37.357343],[24.4167813,37.3568192],[24.4171289,37.3563763],[24.4172065,37.3561236],[24.4171683,37.3553485],[24.4166992,37.3542235],[24.4164493,37.353963],[24.4168104,37.3525127],[24.4168761,37.3522781],[24.417236,37.3520245],[24.4177312,37.3513467],[24.418099,37.3504801],[24.4181146,37.3499843],[24.4186243,37.3501379],[24.4188834,37.3500469],[24.4191485,37.349744],[24.4201137,37.348695],[24.4204364,37.3478465],[24.4208542,37.3478631],[24.4215527,37.3475992],[24.4223836,37.3467669],[24.4233502,37.3459973],[24.4235306,37.3459516],[24.4237009,37.3461132],[24.4246484,37.3459566],[24.4248745,37.3460099],[24.4250772,37.345928],[24.425864,37.3452942],[24.4261365,37.3451896],[24.4270711,37.3447693],[24.4277724,37.3450012],[24.4281,37.345018],[24.4284171,37.3452061],[24.4293664,37.3453559],[24.4296041,37.3454632],[24.4300796,37.345457],[24.4304972,37.3454284],[24.4305541,37.3455094],[24.4308531,37.3454677],[24.4308745,37.345515],[24.4309557,37.3458932],[24.4314432,37.346252],[24.4318168,37.3464309],[24.4326763,37.3466802],[24.4332753,37.3467771],[24.4340414,37.3464949],[24.4341994,37.3464943],[24.4344372,37.3466106],[24.434776,37.3468685],[24.4350747,37.3467773],[24.43571,37.346455],[24.4363299,37.3461462],[24.4354548,37.3471139],[24.4351353,37.3474982]]},{"id":16479,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03c1\u03c5\u03bf\u03c0\u03af\u03b4\u03b1-\u0396\u03bf\u03b3\u03ba\u03ac\u03ba\u03b9","description_GR":"\u0394\u03c1\u03c5\u03cc\u03c0\u03b9\u03b4\u03b1-\u039a\u03bf\u03c5\u03c1\u03ae-\u0396\u03bf\u03b3\u03ba\u03ac\u03ba\u03b9","path":"Islands\/Islands_Kythnos_Dryopis_Zogaki","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3666,"name_EN":"Kythnos Isl: Dryopida-Zogaki","description_EN":"Dryopida-Kouri-Zogaki","ascent_time":80,"descent_time":90,"marker":"No_marks","level":12,"ascent":80,"descent":234,"maxelev":223,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.43067 37.38082,24.45397 37.38973)","views":16,"millestones":"0,24.4306326,37.3832182#1,24.4387236,37.3865760#2,24.4459658,37.3886993#3,24.4530362,37.3858159#3.7,24.4531794,37.3808219","x":24.4426145,"y":37.3894317,"coor":[[24.4306326,37.3832182],[24.4307666,37.3831929],[24.430927,37.3835821],[24.4310617,37.3835591],[24.4310564,37.383611],[24.4313253,37.38361],[24.4314289,37.3839431],[24.431528,37.3839833],[24.4324046,37.3843181],[24.4328784,37.3842082],[24.433762,37.3846377],[24.4347348,37.3848684],[24.4351345,37.3848895],[24.4358119,37.3848329],[24.4361968,37.3849667],[24.4362656,37.3851467],[24.4361996,37.3854625],[24.4363025,37.3856604],[24.4371575,37.3861507],[24.4381327,37.3867961],[24.4382761,37.3862097],[24.4390507,37.3868355],[24.4390744,37.3870157],[24.4389624,37.3871874],[24.4393263,37.3873618],[24.4396432,37.3878181],[24.4393263,37.3873618],[24.4397934,37.3880361],[24.4406444,37.3886819],[24.4408041,37.3889337],[24.441,37.3896],[24.4415767,37.389688],[24.4419041,37.3896507],[24.4426145,37.3894317],[24.4432107,37.3893641],[24.4442514,37.3892453],[24.4449503,37.3889903],[24.4455152,37.3890062],[24.4456844,37.3889695],[24.4460439,37.3886256],[24.4466403,37.3882358],[24.4471359,37.3879995],[24.4485398,37.3866151],[24.4493558,37.3861275],[24.4503632,37.3855266],[24.4508139,37.3853265],[24.4513102,37.3852075],[24.4512318,37.3853272],[24.4513116,37.3861449],[24.4527621,37.3850307],[24.4528639,37.3850573],[24.4530494,37.3858498],[24.4531401,37.3859035],[24.45351,37.3850706],[24.4536625,37.3843715],[24.4539094,37.3841001],[24.453987,37.3838654],[24.453929,37.3836043],[24.4536339,37.383371],[24.4534191,37.3831105],[24.4534281,37.3823713],[24.4538298,37.381901],[24.4537714,37.3815858],[24.4535887,37.381262],[24.4533266,37.3808844],[24.4531794,37.3808219]]},{"id":16480,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03ac\u03c3\u03c7\u03b9\u03c3\u03b7 \u03c4\u03c9\u03bd \u03bc\u03b5\u03c4\u03b1\u03bb\u03bb\u03b5\u03af\u03c9\u03bd \u039a\u03b1\u03ba\u03cc\u03b2\u03bf\u03bb\u03bf\u03c5","description_GR":"\u039c\u03b9\u03b1 \u03c3\u03c5\u03b3\u03ba\u03bb\u03bf\u03bd\u03b9\u03c3\u03c4\u03b9\u03ba\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03c3\u03c4\u03b7\u03bd \u03c0\u03b5\u03c1\u03b9\u03bf\u03c7\u03ae \u03c4\u03c9\u03bd \u03c0\u03b1\u03bb\u03b9\u03ce\u03bd \u03bc\u03b5\u03c4\u03b1\u03bb\u03bb\u03b5\u03af\u03c9\u03bd","path":"Islands\/Islands_Kythnos_Kakovolo_mines","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":10613,"name_EN":"Kythnos Isl: Crossing the Kakovolos mining area","description_EN":"A stunning rtail along the old mining area","ascent_time":255,"descent_time":255,"marker":"No_marks","level":12,"ascent":346,"descent":465,"maxelev":336,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.39702 37.42611,24.4306 37.46014)","views":25,"millestones":"0,24.4213204,37.4265468#1,24.4114868,37.4274599#2,24.4037860,37.4311010#3,24.4004064,37.4389305#4,24.3978867,37.4451130#5,24.4013453,37.4512272#6,24.4086666,37.4556829#7,24.4139715,37.4593928#8,24.4211124,37.4553735#9,24.4275556,37.4489676#10,24.4263999,37.4450131#10.6,24.4246100,37.4410493","x":24.4081097,"y":37.453918,"coor":[[24.4213204,37.4265468],[24.4205875,37.4272457],[24.4200001,37.4273019],[24.4189582,37.426927],[24.4179826,37.4262815],[24.4174076,37.4261618],[24.4153769,37.426827],[24.4147328,37.4268473],[24.4141105,37.4267233],[24.4131724,37.4267265],[24.4125051,37.4266477],[24.4119644,37.4272378],[24.4113444,37.4275284],[24.4107154,37.4282516],[24.4105124,37.4283335],[24.4101282,37.4283438],[24.4090759,37.4281402],[24.4086224,37.4278803],[24.4082489,37.4277915],[24.4065425,37.4278334],[24.4062821,37.4278839],[24.405176,37.4281761],[24.4049394,37.4283031],[24.4040611,37.4289191],[24.4037838,37.4295149],[24.4036953,37.4301259],[24.4038028,37.4312072],[24.4042922,37.4318274],[24.4044866,37.4322594],[24.4043755,37.4326023],[24.403994,37.4331264],[24.4041549,37.4336306],[24.4041562,37.433865],[24.40371,37.4349662],[24.4023854,37.4366923],[24.4023313,37.4371522],[24.4019043,37.4376314],[24.4007992,37.4385162],[24.4004409,37.4389095],[24.4003057,37.4389911],[24.3995266,37.439147],[24.3992785,37.439274],[24.3991116,37.4397613],[24.3990808,37.4403563],[24.3989907,37.4404107],[24.3987081,37.4404206],[24.3985821,37.4405135],[24.3972871,37.4414552],[24.3969188,37.4418283],[24.3970553,37.441972],[24.3971027,37.4423955],[24.3976024,37.4428265],[24.3980121,37.4433389],[24.3983667,37.4441219],[24.3985511,37.4447883],[24.3987451,37.4451302],[24.3987459,37.4452744],[24.398328,37.4453479],[24.3980902,37.4452856],[24.397795,37.4450342],[24.3977045,37.4450345],[24.3971977,37.4453968],[24.3972433,37.4454687],[24.3971086,37.4456494],[24.3971545,37.4457845],[24.3973922,37.4458288],[24.3977001,37.4463415],[24.3976125,37.4468646],[24.3982475,37.447223],[24.3987797,37.4473835],[24.3988933,37.4474912],[24.3993121,37.44758],[24.3997417,37.4475785],[24.4000014,37.4475145],[24.4002176,37.4477932],[24.4004104,37.4479007],[24.400614,37.4479091],[24.4006711,37.448026],[24.4008294,37.4480255],[24.4008075,37.4481698],[24.4008982,37.4482055],[24.4010806,37.4484934],[24.4013666,37.4491143],[24.4010079,37.4496924],[24.4009425,37.4501614],[24.4010355,37.4506388],[24.4012744,37.4509174],[24.4011964,37.4511249],[24.4014021,37.451264],[24.4013686,37.4513542],[24.4015956,37.4515157],[24.4015622,37.4516059],[24.4014268,37.4516695],[24.4014386,37.4517506],[24.4016199,37.4518311],[24.4019252,37.45183],[24.4019825,37.4519741],[24.4023911,37.4522701],[24.4027082,37.4523682],[24.4029456,37.4523674],[24.4030934,37.4525201],[24.403365,37.4525643],[24.4041361,37.4529853],[24.4055504,37.4531787],[24.4056752,37.4532504],[24.4056758,37.4533766],[24.4061273,37.4532218],[24.4064782,37.4533107],[24.4067392,37.4534811],[24.4071015,37.45357],[24.4072266,37.4537138],[24.4074757,37.453767],[24.4075215,37.453884],[24.4081097,37.453918],[24.4082451,37.4538725],[24.4082798,37.4540166],[24.4083931,37.4540703],[24.4084048,37.4541424],[24.4087004,37.4544298],[24.4086453,37.4547004],[24.408716,37.4552319],[24.4086732,37.4556738],[24.408561,37.4558274],[24.4085512,37.4561068],[24.4083145,37.4562519],[24.4082705,37.4564774],[24.407763,37.4567135],[24.4077408,37.4567947],[24.4073458,37.4569222],[24.4073823,37.4573998],[24.4072385,37.4579862],[24.4073765,37.4584094],[24.4076028,37.4584356],[24.407705,37.4585254],[24.408021,37.4584162],[24.4089709,37.4584309],[24.4094695,37.4586275],[24.4098429,37.4586803],[24.4101376,37.4588054],[24.4108394,37.4589472],[24.4111558,37.45891],[24.4117566,37.4591874],[24.412787,37.4594542],[24.4129801,37.4596158],[24.4134321,37.4595601],[24.4135794,37.4596137],[24.4140134,37.4593733],[24.4144899,37.4600454],[24.4147161,37.4600536],[24.4148271,37.4600555],[24.4149628,37.460073],[24.4150746,37.4598383],[24.4152325,37.4597656],[24.4157532,37.4598719],[24.4159603,37.4600064],[24.4160851,37.4598257],[24.4164198,37.4590043],[24.4170159,37.4584253],[24.4170244,37.4579205],[24.4171679,37.4572891],[24.417765,37.4569084],[24.4181624,37.456952],[24.4185124,37.4568607],[24.4198766,37.4561618],[24.4205067,37.4556007],[24.4210035,37.4554817],[24.4212958,37.4551923],[24.4218036,37.4550012],[24.4221411,37.4547115],[24.4225333,37.4540792],[24.4232699,37.453378],[24.4234688,37.4528004],[24.4244283,37.4521547],[24.4250153,37.4519904],[24.4250141,37.4517831],[24.4252059,37.4517193],[24.4254534,37.4514931],[24.4259288,37.4515905],[24.4264019,37.4512823],[24.4267537,37.4511504],[24.4268096,37.451024],[24.4270574,37.4508698],[24.4271907,37.4504547],[24.4272919,37.4503462],[24.4272792,37.4501119],[24.4275357,37.449489],[24.4275661,37.448867],[24.4280844,37.4485586],[24.4289304,37.4482311],[24.4289891,37.4481092],[24.4288101,37.4479363],[24.4288315,37.4477379],[24.4289442,37.4476654],[24.4295882,37.447591],[24.4300838,37.4472737],[24.4305576,37.4470917],[24.4307147,37.4468838],[24.430611,37.4465597],[24.4306752,37.4456739],[24.4305722,37.4454489],[24.4304138,37.4454315],[24.4300983,37.4456129],[24.4298838,37.4456677],[24.4296801,37.4456234],[24.4293058,37.4454084],[24.4289775,37.4453375],[24.4285254,37.4453572],[24.4280321,37.4454604],[24.4274998,37.445291],[24.4269696,37.4454913],[24.4264232,37.4452003],[24.4264133,37.4450719],[24.4263322,37.4447297],[24.4267128,37.4440703],[24.4267458,37.4439079],[24.426632,37.4437641],[24.4260458,37.4433178],[24.4258418,37.4432284],[24.4256849,37.4432154],[24.4255195,37.4432025],[24.4253942,37.4431579],[24.4251028,37.4428638],[24.4250651,37.4425732],[24.4251854,37.442095],[24.4253134,37.4418692],[24.42461,37.4410493]]},{"id":16481,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u03a7\u03ce\u03c1\u03b1-\u03a0\u03b1\u03c1\u03b1\u03bb\u03af\u03b1 \u039a\u03bf\u03bb\u03ce\u03bd\u03b1","description_GR":"\u039c\u03b9\u03b1 \u03bc\u03b1\u03ba\u03c1\u03b9\u03ac \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03bc\u03b5 \u03b5\u03bd\u03c4\u03c5\u03c0\u03c9\u03c3\u03b9\u03b1\u03ba\u03ae \u03b8\u03ad\u03b1","path":"ISLANDS\/Islands_Kythnos_Kolona","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":9209,"name_EN":"Kythnos Isl: From Chora to the beach Kolona","description_EN":"A long trail with impressive view","ascent_time":225,"descent_time":225,"marker":"No_marks","level":12,"ascent":254,"descent":396,"maxelev":281,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.37242 37.41274,24.4298 37.43343)","views":39,"millestones":"0,24.4298025,37.4127907#1,24.4250842,37.4188168#2,24.4212840,37.4264302#3,24.4116151,37.4273996#4,24.4024187,37.4303787#5,24.3935654,37.4316575#6,24.3835149,37.4294103#7,24.3764477,37.4243142#8,24.3735761,37.4196721#9.2,24.3784902,37.4134708","x":24.3925237,"y":37.4313127,"coor":[[24.4298025,37.4127907],[24.4297044,37.4127933],[24.4291958,37.4127771],[24.4288488,37.4127468],[24.4284522,37.4128001],[24.4282679,37.4129269],[24.4276275,37.4135782],[24.4273045,37.4136696],[24.4267849,37.4137052],[24.4266609,37.4137598],[24.4261357,37.4138045],[24.4258668,37.4142201],[24.4250213,37.414818],[24.4246944,37.4151009],[24.4246635,37.4156328],[24.4244975,37.4162463],[24.4245326,37.4164535],[24.4246618,37.416568],[24.4248564,37.4167701],[24.4250429,37.417148],[24.4251445,37.4180107],[24.4249491,37.4181646],[24.4250139,37.4185069],[24.4251254,37.4189932],[24.4253092,37.4195334],[24.4254076,37.4201955],[24.4253183,37.4203761],[24.4250477,37.4205033],[24.424754,37.4205224],[24.4244721,37.4206316],[24.4236607,37.4210401],[24.4234328,37.4212167],[24.4231189,37.4216685],[24.4224105,37.422302],[24.4222895,37.4228883],[24.4220042,37.4236645],[24.4217678,37.4242062],[24.4215647,37.4245156],[24.4211424,37.4258061],[24.4213182,37.4265491],[24.4205854,37.4272457],[24.419998,37.4273019],[24.4189561,37.426927],[24.4179805,37.4262815],[24.4174055,37.4261618],[24.4153748,37.426827],[24.4147307,37.4268473],[24.4141083,37.4267233],[24.4131703,37.4267265],[24.412503,37.4266477],[24.411963,37.4272378],[24.411343,37.4275284],[24.410714,37.4282517],[24.410511,37.4283335],[24.4101268,37.4283438],[24.4090745,37.4281402],[24.408621,37.4278803],[24.4082475,37.4277915],[24.4065411,37.4278334],[24.40628,37.4278839],[24.4051739,37.4281761],[24.4049372,37.4283031],[24.404059,37.4289191],[24.4037817,37.4295149],[24.4028916,37.4297726],[24.4025994,37.43008],[24.4023641,37.4304774],[24.4017318,37.4306058],[24.401405,37.4307872],[24.4014169,37.4308953],[24.4012585,37.4308598],[24.4012589,37.4309319],[24.4011683,37.4309142],[24.4012025,37.4309681],[24.4008189,37.4310866],[24.4008419,37.4311586],[24.4006399,37.4314297],[24.4005494,37.431421],[24.3998627,37.4319552],[24.3993555,37.4322183],[24.3989958,37.4325981],[24.3986349,37.4327435],[24.3982077,37.4331776],[24.3978807,37.4333409],[24.3977449,37.4333053],[24.3973017,37.4328652],[24.3968367,37.4325603],[24.3953987,37.4320783],[24.3948669,37.43199],[24.393056,37.4315273],[24.3925237,37.4313127],[24.391911,37.4308731],[24.3910962,37.4306775],[24.3898948,37.4300505],[24.3885923,37.429532],[24.3883563,37.4293908],[24.3877449,37.4295979],[24.3869445,37.4299881],[24.3861361,37.4302274],[24.3852529,37.4299057],[24.3847214,37.4298624],[24.3836231,37.4294874],[24.3825794,37.4287336],[24.3822492,37.428257],[24.3821663,37.4275181],[24.3819502,37.4272484],[24.3819039,37.4270322],[24.381337,37.4266825],[24.38119,37.426665],[24.3808945,37.4263324],[24.3807019,37.4262429],[24.3807687,37.4260444],[24.3809377,37.4259357],[24.3809033,37.4258547],[24.381004,37.425647],[24.3808674,37.4254492],[24.380064,37.4252625],[24.3789688,37.4254913],[24.3788325,37.4253475],[24.3785838,37.4253483],[24.3781308,37.4251515],[24.3778132,37.4249362],[24.3776994,37.4247743],[24.3769911,37.4245242],[24.3766963,37.4243448],[24.3758594,37.4242393],[24.3749079,37.4238007],[24.3747828,37.4236569],[24.3747586,37.4233324],[24.3745785,37.4234772],[24.3744763,37.4233694],[24.374361,37.4229281],[24.3744048,37.4226305],[24.3743478,37.4225405],[24.3738618,37.4225331],[24.3730716,37.4227158],[24.3723649,37.4225153],[24.3724881,37.4222895],[24.3729728,37.4220266],[24.3728934,37.4219728],[24.3729834,37.4218914],[24.3728133,37.4217657],[24.372926,37.4216932],[24.3727106,37.4215677],[24.3726759,37.4214056],[24.3725397,37.4212888],[24.3727203,37.4212522],[24.3725156,37.4209825],[24.3728774,37.4210264],[24.3731363,37.4208092],[24.3733385,37.4205562],[24.3731804,37.4205838],[24.3732704,37.4204933],[24.373292,37.420295],[24.3734714,37.420015],[24.373629,37.4198883],[24.3734816,37.4197986],[24.3735827,37.4196631],[24.3732078,37.4192677],[24.3731372,37.418709],[24.3730462,37.4185922],[24.3732366,37.418391],[24.3739483,37.4183347],[24.3743544,37.4181801],[24.3750662,37.4181599],[24.3754359,37.4179243],[24.3755687,37.4173651],[24.3757141,37.4170671],[24.3762222,37.4169844],[24.3764361,37.4168215],[24.3774622,37.4163495],[24.3780838,37.4163655],[24.3783,37.4161035],[24.3785465,37.415688],[24.3788053,37.4154709],[24.3793469,37.4152979],[24.3798438,37.4152242],[24.3795604,37.4150628],[24.3792196,37.4147124],[24.3784902,37.4134708]]},{"id":16482,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 6a","description_GR":"\u03a7\u03ce\u03c1\u03b1-\u0392\u03c1\u03c5\u03cc\u03ba\u03b1\u03c3\u03c4\u03c1\u03bf-\u0391\u03c0\u03cc\u03ba\u03c1\u03b9\u03c3\u03b7-\u039a\u03bf\u03bb\u03ce\u03bd\u03b1","path":"ISLANDS\/Islands_Kythnos_Trail_6a","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":1361,"name_EN":"Kythnos Isl: Trail 6a","description_EN":"Chora-Vryokastro-Apokrisi-Kolona","ascent_time":30,"descent_time":30,"marker":"No_marks","level":12,"ascent":13,"descent":82,"maxelev":78,"minelev":3,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.39698 37.40331,24.40411 37.4123)","views":13,"millestones":"0,24.4041078,37.4033110#1.4,24.3978718,37.4123008","x":24.3993001,"y":37.406757,"coor":[[24.4041078,37.403311],[24.4039836,37.4033204],[24.4038922,37.4033996],[24.4036529,37.4038015],[24.4030456,37.4043354],[24.4026321,37.4051841],[24.4023172,37.4054736],[24.4019115,37.4056733],[24.401567,37.4059471],[24.4012289,37.4061105],[24.4008902,37.4061658],[24.4004609,37.4061762],[24.400178,37.4061051],[24.3996596,37.4063592],[24.3993001,37.406757],[24.3989527,37.407299],[24.3980178,37.4082554],[24.3973419,37.4086543],[24.3970731,37.4090968],[24.3970422,37.4096648],[24.3971354,37.4101963],[24.3969679,37.4105844],[24.3975001,37.410781],[24.3976936,37.4110507],[24.3977509,37.41133],[24.3977241,37.4118821],[24.3977376,37.4122967],[24.3978718,37.4123008]]},{"id":16483,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 4","description_GR":"\u03a7\u03ce\u03c1\u03b1-\u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03b1 \u03c4\u03bf\u03c5 \u039d\u03af\u03ba\u03bf\u03c5\u03c2-\u0386\u03b3\u03b9\u03bf\u03c2 \u0399\u03c9\u03ac\u03bd\u03bd\u03b7\u03c2","path":"ISLANDS\/Islands_Kythnos_Trail_4","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":5756,"name_EN":"Kythnos Isl: Trail 4","description_EN":"Chora-Panagia tou Nikous-Aghios Ioanis","ascent_time":135,"descent_time":130,"marker":"Red_dots","level":12,"ascent":240,"descent":363,"maxelev":258,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.4298 37.3978,24.47077 37.4129)","views":27,"millestones":"0,24.4298025,37.4127907#1,24.4389295,37.4109758#2,24.4489088,37.4106806#3,24.4579104,37.4124044#4,24.4627987,37.4064527#5,24.4673204,37.4017137#5.8,24.4700993,37.3977985","x":24.4577311,"y":37.412118,"coor":[[24.4298025,37.4127907],[24.4300093,37.4127561],[24.4303993,37.4126736],[24.4313613,37.4124267],[24.431546,37.4123697],[24.4316592,37.4124053],[24.4319071,37.4122782],[24.4320795,37.4124173],[24.4322884,37.4125135],[24.4326934,37.4126877],[24.4330217,37.4127947],[24.4334967,37.4128561],[24.4334843,37.4126668],[24.4336428,37.4124769],[24.4337792,37.4123705],[24.4340124,37.4116576],[24.4343656,37.4116833],[24.4346926,37.411556],[24.4346012,37.411376],[24.4346338,37.4111596],[24.4353108,37.4109768],[24.4358755,37.4109297],[24.4363607,37.4108197],[24.4370544,37.4107202],[24.4376533,37.410727],[24.4390788,37.4110102],[24.4399406,37.4115298],[24.4401556,37.4115831],[24.4405509,37.4115365],[24.4409126,37.4115622],[24.4422218,37.4121207],[24.4424699,37.4121648],[24.4425032,37.4120655],[24.4428283,37.4122266],[24.443209,37.4118556],[24.4436266,37.4117819],[24.4440788,37.4118163],[24.4444513,37.4117428],[24.4449601,37.4117949],[24.4451734,37.4115598],[24.4454553,37.4114596],[24.4463601,37.4115913],[24.4475343,37.4114247],[24.4489085,37.4106803],[24.4491442,37.4108845],[24.449396,37.4114244],[24.449759,37.4116573],[24.4501668,37.411827],[24.4514607,37.4120655],[24.4521283,37.4122162],[24.4533376,37.4122476],[24.4535303,37.412355],[24.4537582,37.4126606],[24.4539865,37.412813],[24.4541451,37.412765],[24.4544035,37.4125117],[24.4548306,37.4122419],[24.4554363,37.4119646],[24.455595,37.4120451],[24.456205,37.4120067],[24.4564544,37.41215],[24.4566935,37.4124465],[24.4569205,37.4126079],[24.4577571,37.4126767],[24.4580392,37.4126035],[24.4577311,37.412118],[24.457649,37.4117375],[24.4576819,37.4115661],[24.4574538,37.4112245],[24.4572004,37.4104322],[24.457694,37.4098354],[24.4576701,37.4096372],[24.4574654,37.4094127],[24.4574527,37.4091784],[24.4575307,37.4089978],[24.4580381,37.4088336],[24.4585112,37.4085793],[24.4586341,37.4083535],[24.4594332,37.4078366],[24.4598809,37.4071409],[24.4609537,37.4070285],[24.4614149,37.4066842],[24.4619779,37.4063755],[24.462905,37.406462],[24.4631647,37.406434],[24.4635041,37.4065048],[24.4639584,37.4068725],[24.4640598,37.4068361],[24.4643208,37.4070063],[24.4643996,37.40697],[24.4646945,37.4071491],[24.4647507,37.4071038],[24.4647963,37.4071667],[24.464898,37.4071663],[24.4649969,37.4067152],[24.4653658,37.4060738],[24.4653801,37.4052986],[24.4651501,37.4046505],[24.4648999,37.4043811],[24.4649443,37.4042547],[24.4648642,37.4040928],[24.4649302,37.4038041],[24.4653225,37.4032978],[24.4654135,37.4030473],[24.4654472,37.4030111],[24.4656622,37.4030643],[24.4658649,37.4029554],[24.4659864,37.4025042],[24.4660878,37.4024677],[24.4659969,37.402378],[24.4662674,37.4022687],[24.4664692,37.4020246],[24.46708,37.4021303],[24.4674266,37.4015431],[24.4676743,37.4014069],[24.4677873,37.4014064],[24.467899,37.4011897],[24.4687416,37.4004202],[24.4689896,37.400329],[24.4691252,37.4003375],[24.469398,37.4005978],[24.4694773,37.4006336],[24.4695915,37.4006061],[24.4695513,37.3998175],[24.4700808,37.3995811],[24.4704957,37.3990837],[24.4707741,37.3991028],[24.4706033,37.3988872],[24.4705663,37.3984006],[24.4700667,37.398006],[24.4700993,37.3977985]]},{"id":16484,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 5","description_GR":"\u03a7\u03ce\u03c1\u03b1-\u0386\u03b3\u03b9\u03bf\u03c2 \u03a3\u03c4\u03ad\u03c6\u03b1\u03bd\u03bf\u03c2","path":"ISLANDS\/Islands_Kythnos_Trail_5","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":3981,"name_EN":"Kythnos Isl: Trail 5","description_EN":"Chora-Aghios \u03a3\u03c4\u03b5\u03c6\u03b1\u03bd\u03bf\u03c2","ascent_time":70,"descent_time":75,"marker":"Red_dots","level":12,"ascent":140,"descent":274,"maxelev":220,"minelev":1,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.4298 37.39669,24.45646 37.41287)","views":37,"millestones":"0,24.4298025,37.4127907#1,24.4363258,37.4090480#2,24.4418013,37.4026202#3,24.4496239,37.4002473#4.0,24.4564637,37.3966847","x":24.4422996,"y":37.4024104,"coor":[[24.4298025,37.4127907],[24.4300093,37.4127561],[24.4303993,37.4126736],[24.4313613,37.4124267],[24.431546,37.4123697],[24.4316592,37.4124053],[24.4319071,37.4122782],[24.4320795,37.4124173],[24.4322884,37.4125135],[24.4326934,37.4126877],[24.4330217,37.4127947],[24.4334967,37.4128561],[24.4334843,37.4126668],[24.4336428,37.4124769],[24.4337792,37.4123705],[24.4340124,37.4116576],[24.4343656,37.4116833],[24.4346926,37.411556],[24.4346012,37.411376],[24.4346338,37.4111596],[24.4353108,37.4109768],[24.4358755,37.4109297],[24.4363607,37.4108197],[24.4368112,37.4103133],[24.4369553,37.409826],[24.4369657,37.4096817],[24.4368859,37.4095558],[24.4363408,37.4090891],[24.4362834,37.4089361],[24.4364849,37.4086109],[24.4367439,37.4084567],[24.4369563,37.4080503],[24.4367831,37.40742],[24.4368714,37.4070591],[24.4370063,37.4069414],[24.4370169,37.4068152],[24.437244,37.4066431],[24.4376048,37.406635],[24.4377399,37.4065534],[24.4381469,37.4065789],[24.4384217,37.4064742],[24.4382576,37.4061999],[24.4388313,37.4057471],[24.4391037,37.4056041],[24.4391933,37.4054596],[24.4394183,37.4052965],[24.4400273,37.4050959],[24.4401146,37.4045638],[24.4404526,37.4042809],[24.440811,37.4037387],[24.4409221,37.4034138],[24.4408859,37.4030263],[24.4411734,37.4030456],[24.4416121,37.4027014],[24.4422996,37.4024104],[24.442489,37.4022024],[24.44269,37.401805],[24.4428821,37.4018043],[24.4429382,37.401732],[24.4430513,37.4017586],[24.4431188,37.4017042],[24.4440442,37.4015205],[24.4442239,37.4013305],[24.4442583,37.4014205],[24.4443932,37.4013119],[24.4444949,37.4013115],[24.4444843,37.4014377],[24.4448336,37.4012742],[24.4448904,37.401319],[24.4453401,37.4009478],[24.4456108,37.4008566],[24.4457229,37.400721],[24.445814,37.4008288],[24.4458817,37.4008195],[24.4459263,37.4007112],[24.4461077,37.4008187],[24.4462419,37.4005928],[24.4463099,37.4006286],[24.446603,37.4005194],[24.4467952,37.4005457],[24.4468415,37.4004869],[24.4470125,37.4007386],[24.4468682,37.4011718],[24.4470162,37.4013606],[24.4471973,37.401423],[24.4474217,37.4011607],[24.4476932,37.4010876],[24.4481888,37.4008424],[24.4490124,37.4006319],[24.4494287,37.4003419],[24.4498342,37.4001421],[24.4501965,37.4002579],[24.450299,37.4004017],[24.4509905,37.4007776],[24.4515222,37.4009018],[24.4520417,37.4008637],[24.4528428,37.4006714],[24.452932,37.4004818],[24.4529207,37.4000041],[24.4531807,37.3999129],[24.4537385,37.3997846],[24.4542221,37.3994222],[24.454795,37.3991158],[24.4556147,37.3982744],[24.4556337,37.3976794],[24.4554959,37.3973104],[24.4555738,37.3971208],[24.4564637,37.3966847]]},{"id":16485,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 4a","description_GR":"\u03a7\u0386\u03b3\u03b9\u03bf\u03c2 \u03a3\u03c4\u03ad\u03c6\u03b1\u03bd\u03bf\u03c2-\u0386\u03b3\u03b9\u03bf\u03c2 \u0399\u03c9\u03ac\u03bd\u03bd\u03b7\u03c2","path":"ISLANDS\/Islands_Kythnos_Trail_4a","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":1846,"name_EN":"Kythnos Isl: Trail 4a","description_EN":"Aghios Stefanos-Aghios Ioanis","ascent_time":45,"descent_time":45,"marker":"Red_dots","level":12,"ascent":76,"descent":75,"maxelev":79,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.45648 37.39603,24.46953 37.39989)","views":18,"millestones":"0,24.4564644,37.3966869#1,24.4631293,37.3979659#1.8,24.4695534,37.3998175","x":24.4640079,"y":37.3991093,"coor":[[24.4564644,37.3966869],[24.4573399,37.3970193],[24.4581541,37.3971333],[24.4586624,37.3971224],[24.4592037,37.396958],[24.459572,37.3962174],[24.4600011,37.3960648],[24.4603648,37.3964239],[24.4606141,37.3965492],[24.4608048,37.3970149],[24.4608865,37.3974382],[24.4606738,37.3977635],[24.4608116,37.3981235],[24.4606445,37.3985118],[24.4612125,37.3990233],[24.461552,37.3991031],[24.4617419,37.398992],[24.4623977,37.3981511],[24.4628824,37.39796],[24.4631762,37.3979678],[24.4635396,37.3982729],[24.4636777,37.398687],[24.4640079,37.3991093],[24.4642392,37.3991715],[24.4643635,37.399162],[24.4643404,37.39909],[24.4646117,37.3991069],[24.464769,37.3989711],[24.4650062,37.3989612],[24.4651187,37.3988886],[24.4653903,37.3989506],[24.4653994,37.3985991],[24.4657263,37.3984716],[24.4660098,37.3986507],[24.4660308,37.3983893],[24.4661097,37.3983619],[24.4666758,37.398558],[24.4672174,37.3984387],[24.4676709,37.3986893],[24.468259,37.3987861],[24.4684298,37.3990017],[24.4686714,37.3997038],[24.4691694,37.3998371],[24.4695534,37.3998175]]},{"id":16486,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 9","description_GR":"\u03a7\u03ce\u03c1\u03b1-\u0391\u03c0\u03cc\u03ba\u03c1\u03b9\u03c3\u03b7","path":"ISLANDS\/Islands_Kythnos_Trail_9","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":493,"name_EN":"Kythnos Isl: Trail 9","description_EN":"Chora-Apokrisi","ascent_time":80,"descent_time":85,"marker":"Red_dots","level":12,"ascent":86,"descent":224,"maxelev":143,"minelev":3,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.39699 37.40322,24.42975 37.41391)","views":23,"millestones":"0,24.4298025,37.4127907#1,24.4204915,37.4136923#2,24.4112625,37.4106390#3,24.4061233,37.4043320#4,24.3984097,37.4078642#0.5,24.3978754,37.4123030","x":24.4084107,"y":37.4081568,"coor":[[24.4298025,37.4127907],[24.4297044,37.4127933],[24.4291958,37.4127771],[24.4288488,37.4127468],[24.4289263,37.4124671],[24.4289506,37.4123994],[24.4286608,37.4123441],[24.4285856,37.4124233],[24.4283607,37.4123678],[24.4282006,37.4122805],[24.4279406,37.4122544],[24.4277947,37.4120656],[24.4277382,37.4120613],[24.4271451,37.4118426],[24.42708,37.4119397],[24.4269779,37.411877],[24.4266709,37.4119142],[24.4262875,37.4120508],[24.4260579,37.4122995],[24.4258801,37.4128229],[24.4256095,37.4129365],[24.425594,37.4129276],[24.4237654,37.4132947],[24.4228504,37.4133521],[24.4220969,37.4136252],[24.4217667,37.4135632],[24.4215582,37.4134085],[24.421276,37.4134546],[24.420713,37.4136977],[24.4200236,37.4136821],[24.4190747,37.4137396],[24.4185424,37.4135341],[24.4182249,37.413328],[24.4172999,37.4136287],[24.4167579,37.4137027],[24.4164577,37.4135618],[24.4157441,37.4136364],[24.4154062,37.4138449],[24.4145444,37.4132981],[24.4131467,37.4118969],[24.4127608,37.4115917],[24.4120629,37.411308],[24.4116354,37.411003],[24.4111355,37.410518],[24.4089564,37.4087589],[24.4084107,37.4081568],[24.407787,37.4077444],[24.4069267,37.4074589],[24.4063352,37.4067218],[24.4060385,37.406191],[24.4056404,37.4057056],[24.4056603,37.4055974],[24.4059752,37.4053169],[24.4060991,37.4052444],[24.4065171,37.4052249],[24.4067416,37.4049537],[24.4068765,37.4048293],[24.406287,37.4044708],[24.4058898,37.4041387],[24.4047933,37.4040613],[24.4044418,37.4038191],[24.4042808,37.403556],[24.404122,37.4034484],[24.4041114,37.4033132],[24.4039872,37.4033227],[24.4038958,37.4034018],[24.4036564,37.4038038],[24.4030491,37.4043377],[24.4026356,37.4051864],[24.4023208,37.4054759],[24.4019151,37.4056755],[24.4015705,37.4059494],[24.4012324,37.4061128],[24.4008937,37.406168],[24.4004644,37.4061785],[24.4001816,37.4061073],[24.3996631,37.4063615],[24.3993037,37.4067593],[24.3989563,37.4073013],[24.3980214,37.4082576],[24.3973455,37.4086565],[24.3970766,37.4090991],[24.3970457,37.409667],[24.3971389,37.4101985],[24.3969715,37.4105867],[24.3975036,37.4107832],[24.3976971,37.411053],[24.3977544,37.4113322],[24.3977277,37.4118844],[24.3977412,37.412299],[24.3978754,37.412303]]},{"id":16487,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 1b","description_GR":"\u039b\u03bf\u03c5\u03c4\u03c1\u03ac-\u039a\u03ac\u03c3\u03c4\u03c1\u03bf \u03a9\u03c1\u03b9\u03ac\u03c2","path":"ISLANDS\/Islands_Kythnos_Trail_1b","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":3567,"name_EN":"Kythnos Isl: Trail 1b","description_EN":"Loutra-Kastro Orias","ascent_time":70,"descent_time":65,"marker":"Red_dots","level":12,"ascent":260,"descent":49,"maxelev":230,"minelev":10,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.40973 37.44105,24.42461 37.4633)","views":19,"millestones":"0,24.4246093,37.4410493#1,24.4205977,37.4473895#2,24.4179149,37.4547695#3,24.4131236,37.4611770#3.6,24.4100314,37.4633013","x":24.4180006,"y":37.4542936,"coor":[[24.4246093,37.4410493],[24.4243827,37.4412101],[24.4242775,37.4411],[24.4240976,37.4412629],[24.4243938,37.4416765],[24.4243969,37.4418477],[24.424511,37.4420276],[24.4244666,37.442172],[24.4242874,37.4423529],[24.424017,37.4425161],[24.4233088,37.4432307],[24.4228129,37.4434849],[24.4225194,37.4435581],[24.4223146,37.443703],[24.4217857,37.4441466],[24.4218188,37.4439932],[24.421636,37.4436513],[24.4210704,37.4446088],[24.4210267,37.4448794],[24.4210972,37.4453478],[24.4209936,37.4460242],[24.4205791,37.4467017],[24.4206279,37.4473505],[24.420134,37.4479832],[24.4203523,37.4485954],[24.4203331,37.4492174],[24.4206749,37.4496714],[24.4205719,37.4502216],[24.4201017,37.4510435],[24.4200031,37.45149],[24.4199029,37.4525179],[24.4199158,37.4528063],[24.4200766,37.4532564],[24.4200657,37.4535742],[24.4191945,37.4534781],[24.4189007,37.4535062],[24.4183712,37.4538326],[24.4180006,37.4542936],[24.4178893,37.4546095],[24.4180534,37.4556455],[24.4178641,37.4561689],[24.4177657,37.4569106],[24.4171686,37.4572913],[24.4170251,37.4579228],[24.4170166,37.4584276],[24.4164205,37.4590065],[24.4160859,37.459828],[24.415961,37.4600064],[24.4157532,37.4598719],[24.4152325,37.4597656],[24.4150746,37.4598383],[24.4149628,37.460073],[24.4148271,37.4600555],[24.4144338,37.4606337],[24.4144471,37.4610032],[24.4141534,37.4610583],[24.4135427,37.4610334],[24.4130687,37.4611973],[24.4126618,37.4612348],[24.4122899,37.4614524],[24.4117162,37.4619953],[24.4117453,37.4620312],[24.4113278,37.4625667],[24.4108652,37.4627666],[24.4109116,37.4629648],[24.410719,37.4629024],[24.4106628,37.4629747],[24.4105379,37.4628669],[24.4101192,37.4628143],[24.4098031,37.4629055],[24.4097246,37.463032],[24.4100407,37.4629317],[24.4104145,37.4630566],[24.4100314,37.4633013]]},{"id":16488,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 1c","description_GR":"\u039a\u03ac\u03c3\u03c4\u03c1\u03bf \u03a9\u03c1\u03b9\u03ac\u03c2-\u03a0\u03c1\u03bf\u03b9\u03c3\u03c4\u03bf\u03c4\u03b9\u03ba\u03cc\u03c2 \u03bf\u03b9\u03ba\u03b9\u03c3\u03bc\u03cc\u03c2 \u039c\u03b1\u03c1\u03bf\u03c5\u03bb\u03ac-\u039b\u03bf\u03c5\u03c4\u03c1\u03ac","path":"ISLANDS\/Islands_Kythnos_Trail_1c","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":4231,"name_EN":"Kythnos Isl: Trail 1c","description_EN":"Kastro Orias-Maroulas Prehistoric settl.-Loutra","ascent_time":75,"descent_time":80,"marker":"Red_dots","level":12,"ascent":57,"descent":274,"maxelev":230,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.40973 37.44103,24.43068 37.4633)","views":13,"millestones":"0,24.4100300,37.4633013#1,24.4163390,37.4591940#2,24.4234060,37.4529892#3,24.4301294,37.4472585#4.2,24.4246079,37.4410515","x":24.4254527,"y":37.4514931,"coor":[[24.41003,37.4633013],[24.4104131,37.4630566],[24.4100393,37.4629318],[24.4097232,37.463032],[24.4098017,37.4629055],[24.4101178,37.4628143],[24.4105364,37.4628669],[24.4106614,37.4629747],[24.4107176,37.4629024],[24.4109101,37.4629648],[24.4108638,37.4627666],[24.4113263,37.4625667],[24.4117439,37.4620312],[24.4117147,37.4619953],[24.4122885,37.4614525],[24.4126604,37.4612348],[24.4130673,37.4611974],[24.4135413,37.4610334],[24.414152,37.4610584],[24.4144457,37.4610032],[24.4144324,37.4606337],[24.4148256,37.4600555],[24.4149614,37.460073],[24.4150732,37.4598383],[24.4152311,37.4597656],[24.4157518,37.4598719],[24.4159596,37.4600064],[24.4160844,37.459828],[24.4164191,37.4590065],[24.4170152,37.4584276],[24.4170237,37.4579228],[24.4171672,37.4572913],[24.4177643,37.4569106],[24.418161,37.456952],[24.418511,37.4568607],[24.4198752,37.4561618],[24.4205052,37.4556007],[24.4210021,37.4554818],[24.4212944,37.4551923],[24.4218021,37.4550012],[24.4221397,37.4547115],[24.4225319,37.4540792],[24.4232685,37.453378],[24.4234681,37.4528004],[24.4244276,37.4521547],[24.4250146,37.4519904],[24.4250134,37.4517831],[24.4252052,37.4517193],[24.4254527,37.4514931],[24.4259281,37.4515905],[24.4264012,37.4512823],[24.426753,37.4511504],[24.4268089,37.451024],[24.4270567,37.4508698],[24.42719,37.4504547],[24.4272912,37.4503462],[24.4272785,37.4501119],[24.427535,37.449489],[24.4275654,37.448867],[24.4280837,37.4485586],[24.4289297,37.4482311],[24.4289877,37.4481092],[24.4288094,37.4479386],[24.4288308,37.4477402],[24.4289435,37.4476677],[24.4295875,37.4475932],[24.4300831,37.4472759],[24.4305569,37.4470939],[24.430714,37.4468861],[24.4306104,37.4465619],[24.4306745,37.4456761],[24.4305715,37.4454512],[24.4304131,37.4454337],[24.4300976,37.4456151],[24.4298831,37.44567],[24.4296794,37.4456257],[24.4293051,37.4454107],[24.4289768,37.4453398],[24.4285247,37.4453594],[24.4280307,37.4454626],[24.4274984,37.4452933],[24.4269682,37.4454935],[24.4264218,37.4452026],[24.4264119,37.4450741],[24.4263308,37.4447319],[24.4267114,37.4440725],[24.4267444,37.4439102],[24.4266306,37.4437664],[24.4260451,37.4433201],[24.4258411,37.4432307],[24.4255174,37.4432048],[24.4253921,37.4431602],[24.4251007,37.4428638],[24.425063,37.4425755],[24.4251833,37.4420973],[24.4253113,37.4418715],[24.4246079,37.4410515]]},{"id":16489,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 6c","description_GR":"\u0392\u03c1\u03c5\u03cc\u03ba\u03b1\u03c3\u03c4\u03c1\u03bf","path":"ISLANDS\/Islands_Kythnos_Trail_6c","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":1148,"name_EN":"Kythnos Isl: Trail 6c","description_EN":"Vryokastro","ascent_time":30,"descent_time":25,"marker":"No_marks","level":12,"ascent":68,"descent":23,"maxelev":143,"minelev":74,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.39486 37.40331,24.40411 37.40847)","views":18,"millestones":"0,24.4041078,37.4033110#1.1,24.3948628,37.4084710","x":24.3977752,"y":37.4057752,"coor":[[24.4041078,37.403311],[24.4039836,37.4033204],[24.4038922,37.4033996],[24.4030894,37.4036728],[24.4026012,37.403893],[24.4023537,37.4041012],[24.4021744,37.4043722],[24.4012955,37.4048349],[24.4007535,37.4049088],[24.4002673,37.4048384],[24.398879,37.4051225],[24.3986989,37.4052493],[24.3983154,37.4053768],[24.3980456,37.40563],[24.3977752,37.4057752],[24.3974588,37.4057762],[24.3975735,37.4061003],[24.3973381,37.4064617],[24.396639,37.4067254],[24.3959048,37.406773],[24.3958263,37.4068904],[24.3956004,37.4069092],[24.3950846,37.407659],[24.3950755,37.4080827],[24.3949398,37.4080561],[24.3949062,37.4081193],[24.3949982,37.4084255],[24.3948628,37.408471]]},{"id":16490,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 6b","description_GR":"\u03a7\u03ce\u03c1\u03b1-\u0386\u03b3\u03b9\u03bf\u03c2 \u03a4\u03c1\u03cd\u03c6\u03c9\u03bd-\u0395\u03c0\u03b9\u03c3\u03ba\u03bf\u03c0\u03ae","path":"ISLANDS\/Islands_Kythnos_Trail_6b","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":2564,"name_EN":"Kythnos Isl: Trail 6b","description_EN":"Chora-Aghios Tryfon-Episkopi","ascent_time":65,"descent_time":60,"marker":"Red_dots","level":12,"ascent":111,"descent":164,"maxelev":131,"minelev":13,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.39024 37.40331,24.40411 37.41063)","views":15,"millestones":"0,24.4041078,37.4033110#1,24.3948064,37.4051369#2,24.3910950,37.4099061#2.6,24.3969672,37.4105845","x":24.3943853,"y":37.4046733,"coor":[[24.4041078,37.403311],[24.4039836,37.4033204],[24.4038922,37.4033996],[24.4030894,37.4036728],[24.402717,37.4037642],[24.4023341,37.4039998],[24.4022209,37.4039551],[24.4021516,37.403685],[24.4020836,37.4036401],[24.4019371,37.4037217],[24.4017916,37.4039656],[24.4015082,37.4037953],[24.4013386,37.4037779],[24.4010565,37.4038419],[24.4007524,37.4040232],[24.3998469,37.4037378],[24.3998492,37.4037626],[24.3997588,37.4037719],[24.3993965,37.403629],[24.3991598,37.4037379],[24.3988562,37.4040094],[24.3986997,37.4043254],[24.3984858,37.4044703],[24.3982259,37.4044712],[24.3980456,37.4045619],[24.3978215,37.4049142],[24.3976856,37.4048696],[24.3973247,37.404997],[24.3971664,37.4049615],[24.3964436,37.405027],[24.3951666,37.4049952],[24.3947269,37.405168],[24.3945342,37.4050514],[24.3946574,37.4048527],[24.3943853,37.4046733],[24.3939679,37.4047919],[24.3938447,37.4049996],[24.3938015,37.4053964],[24.393657,37.4058475],[24.3931391,37.4062098],[24.3929938,37.4064987],[24.3929502,37.4068234],[24.3929166,37.4068686],[24.3928483,37.4067696],[24.392792,37.4068149],[24.3926131,37.407167],[24.3924663,37.4071945],[24.3924433,37.4071225],[24.3921941,37.4070062],[24.3916734,37.4068276],[24.3916057,37.4068278],[24.3915638,37.4069204],[24.3914635,37.4071911],[24.3915999,37.4073529],[24.391556,37.4076054],[24.391084,37.4080937],[24.3907733,37.4091944],[24.390593,37.4092852],[24.3902309,37.4091872],[24.3902539,37.4092593],[24.3906402,37.4096726],[24.39115,37.4099323],[24.3929471,37.4099985],[24.3938193,37.4104192],[24.3943681,37.4105571],[24.3952491,37.410482],[24.3963006,37.4106047],[24.3969672,37.4105845]]},{"id":16491,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 6","description_GR":"\u03a7\u03ce\u03c1\u03b1-\u0386\u03b3\u03b9\u03bf\u03c2 \u03a4\u03c1\u03cd\u03c6\u03c9\u03bd-\u0395\u03c0\u03b9\u03c3\u03ba\u03bf\u03c0\u03ae","path":"ISLANDS\/Islands_Kythnos_Trail_6","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":5046,"name_EN":"Kythnos Isl: Trail 6","description_EN":"Chora-Aghios Tryfon-Episkopi","ascent_time":110,"descent_time":115,"marker":"Red_dots","level":12,"ascent":147,"descent":274,"maxelev":179,"minelev":3,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.39909 37.39849,24.42972 37.4129)","views":17,"millestones":"0,24.4298025,37.4127907#1,24.4287063,37.4067806#2,24.4233312,37.4015168#3,24.4151744,37.4023708#4,24.4046558,37.4032771#5,24.3990457,37.3985937","x":24.4222474,"y":37.4007914,"coor":[[24.4298025,37.4127907],[24.4297044,37.4127933],[24.4291958,37.4127771],[24.4288488,37.4127468],[24.4289263,37.4124671],[24.4289506,37.4123994],[24.4286608,37.4123441],[24.428671,37.4121638],[24.4286088,37.4121528],[24.4279078,37.4120832],[24.4277947,37.4120656],[24.4277382,37.4120613],[24.4271451,37.4118426],[24.4273158,37.411673],[24.427485,37.4116183],[24.4276614,37.4114689],[24.4280887,37.4110978],[24.428122,37.4111225],[24.4286047,37.4105529],[24.4286931,37.41021],[24.4288386,37.4102208],[24.4288643,37.4101328],[24.429155,37.409841],[24.4293104,37.4093537],[24.4297033,37.4089016],[24.4297474,37.4087122],[24.4295542,37.4085146],[24.4290462,37.4082257],[24.4288859,37.4078477],[24.4288671,37.4075256],[24.4288655,37.4072461],[24.4287046,37.406778],[24.4280907,37.4061222],[24.428191,37.4058785],[24.4281291,37.405908],[24.4280596,37.405746],[24.4273582,37.4054579],[24.4267359,37.4053249],[24.4261596,37.405309],[24.4261494,37.4055073],[24.4260819,37.4055616],[24.4257655,37.4055538],[24.4252219,37.4057044],[24.4246879,37.4051926],[24.4246419,37.4050485],[24.4247311,37.4048229],[24.4246392,37.4045618],[24.4244464,37.4044453],[24.4243663,37.4042653],[24.4240155,37.4041584],[24.424083,37.4041131],[24.4239359,37.4040776],[24.4237201,37.403871],[24.42338,37.4036649],[24.422982,37.4032157],[24.4230586,37.4027827],[24.4233718,37.4022228],[24.4233455,37.4015559],[24.4231755,37.4010945],[24.4222474,37.4007914],[24.4213207,37.4007586],[24.4210149,37.4006245],[24.4206418,37.4005808],[24.4193434,37.4007476],[24.4182464,37.4005532],[24.4173874,37.4005022],[24.4167765,37.4003601],[24.4160317,37.4005159],[24.4158438,37.4007577],[24.4158443,37.4013571],[24.415875,37.4015553],[24.4161947,37.4021491],[24.4161278,37.4023116],[24.4159589,37.4024113],[24.4157217,37.4024302],[24.4145911,37.402308],[24.4132243,37.4023578],[24.412852,37.4024583],[24.4126495,37.4026302],[24.4122884,37.4027126],[24.4119941,37.4028736],[24.4119277,37.4028671],[24.4116296,37.4028501],[24.4112901,37.4027522],[24.410647,37.4029166],[24.4100593,37.4028916],[24.4091544,37.4027055],[24.4084858,37.4023382],[24.4080114,37.4023669],[24.4069959,37.4026228],[24.4064201,37.4026969],[24.4063981,37.4028051],[24.4061267,37.40277],[24.4051687,37.403206],[24.4047958,37.4031982],[24.4044466,37.4033977],[24.4042091,37.4033535],[24.4043231,37.403157],[24.4041078,37.403311],[24.4039836,37.4033204],[24.4024747,37.402965],[24.401299,37.4028428],[24.4010159,37.4027266],[24.4000409,37.402099],[24.3994077,37.402011],[24.3992595,37.4020227],[24.3994123,37.4018149],[24.3995074,37.4016411],[24.3992362,37.4014955],[24.3993032,37.4013511],[24.3995738,37.401242],[24.3996157,37.4010255],[24.3999067,37.4005017],[24.3999266,37.3999879],[24.3996183,37.399376],[24.3990507,37.3988731],[24.3990159,37.398702],[24.3990457,37.3985937]]},{"id":16492,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 7","description_GR":"\u0394\u03c1\u03c5\u03bf\u03c0\u03af\u03b4\u03b1-\u0395\u03c0\u03b9\u03c3\u03ba\u03bf\u03c0\u03ae","path":"ISLANDS\/Islands_Kythnos_Trail_7","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":3838,"name_EN":"Kythnos Isl: Trail 7","description_EN":"Dryopida-Episkopi","ascent_time":70,"descent_time":75,"marker":"Red_dots","level":12,"ascent":106,"descent":268,"maxelev":211,"minelev":11,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.39905 37.38319,24.43106 37.39859)","views":22,"millestones":"0,24.4306326,37.3832182#1,24.4220282,37.3863392#2,24.4151284,37.3917589#3,24.4064000,37.3954645#3.8,24.3990450,37.3985915","x":24.417898,"y":37.3893098,"coor":[[24.4306326,37.3832182],[24.4307666,37.3831929],[24.430927,37.3835821],[24.4310617,37.3835591],[24.4310564,37.383611],[24.4306338,37.383786],[24.4303989,37.3840708],[24.430232,37.3842697],[24.4296738,37.3848036],[24.4286757,37.3850821],[24.4281834,37.3851785],[24.4276675,37.3852074],[24.427122,37.3852455],[24.4264227,37.3854283],[24.4256452,37.3857826],[24.4249492,37.3856792],[24.4247919,37.385824],[24.4245553,37.385933],[24.4245784,37.386023],[24.4243523,37.3859878],[24.4242512,37.3860963],[24.4239916,37.3861243],[24.423135,37.3864789],[24.4227058,37.3864804],[24.4221288,37.3863203],[24.4218354,37.3863754],[24.4217356,37.3867092],[24.4214998,37.3869625],[24.4214116,37.3873504],[24.4206897,37.3875422],[24.4201157,37.3879319],[24.4200716,37.3881123],[24.420257,37.3889589],[24.4201908,37.3892296],[24.4199424,37.3892575],[24.4193203,37.3891155],[24.4190605,37.3891164],[24.4182927,37.3891912],[24.417898,37.3893098],[24.417381,37.3897894],[24.4169309,37.3901064],[24.4165167,37.3907929],[24.4161782,37.3911186],[24.4157838,37.3913003],[24.4152402,37.3917033],[24.4151724,37.3916945],[24.4151727,37.3917486],[24.4150147,37.3917852],[24.4150489,37.3918392],[24.4149588,37.3918846],[24.4144168,37.3919406],[24.4138982,37.3921226],[24.413223,37.3926117],[24.4128524,37.3930096],[24.4126603,37.3930013],[24.4114817,37.3923204],[24.4109847,37.3923491],[24.4105573,37.393074],[24.410152,37.3933278],[24.4096783,37.3934826],[24.4095102,37.3937356],[24.4091617,37.3940433],[24.4087226,37.3943152],[24.4083829,37.3944403],[24.4068848,37.3952567],[24.4061183,37.3955838],[24.4042688,37.3962031],[24.4026199,37.3963169],[24.4021245,37.3966341],[24.4020348,37.3967606],[24.4019476,37.3968172],[24.4019043,37.3971689],[24.4017479,37.3975029],[24.4010737,37.3981993],[24.4002169,37.3985537],[24.399045,37.3985915]]},{"id":16493,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 2","description_GR":"\u0394\u03c1\u03c5\u03c0\u03af\u03b9\u03b4\u03b1-\u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03b1 \u039c\u03b1\u03b8\u03b9\u03ac-\u039b\u03b5\u03cd\u03ba\u03b5\u03c2","path":"ISLANDS\/Islands_Kythnos_Trail_2","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":2879,"name_EN":"Kythnos Isl: Trail 2","description_EN":"Dryopida-Panagia Mathia-Lefkes","ascent_time":50,"descent_time":55,"marker":"Red_dots","level":12,"ascent":64,"descent":238,"maxelev":233,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.43063 37.37387,24.45208 37.38322)","views":17,"millestones":"0,24.4306326,37.3832182#1,24.4373986,37.3787216#2,24.4457641,37.3779381#2.9,24.4519480,37.3745440","x":24.4383981,"y":37.380481,"coor":[[24.4306326,37.3832182],[24.4307666,37.3831929],[24.4308077,37.3829606],[24.4308719,37.3828387],[24.4309224,37.3827709],[24.431058,37.3827885],[24.4312042,37.3826708],[24.4314716,37.3827734],[24.4314839,37.3825796],[24.4316997,37.3824121],[24.4319588,37.3822939],[24.4321266,37.3819959],[24.4320561,37.381888],[24.4319195,37.3818299],[24.4319106,37.3817623],[24.431854,37.3817355],[24.4319989,37.3815163],[24.4322316,37.3807403],[24.4322921,37.380828],[24.4324908,37.3808791],[24.4327955,37.3808329],[24.4334369,37.3804069],[24.4338487,37.3793418],[24.4348981,37.3791576],[24.4356064,37.3785872],[24.436164,37.3789344],[24.4366016,37.3789193],[24.4374856,37.3787042],[24.4377577,37.3788834],[24.437984,37.3792026],[24.4378949,37.3794102],[24.437852,37.379807],[24.4381709,37.3802655],[24.4381475,37.3804774],[24.4383981,37.380481],[24.4390069,37.3802895],[24.4400002,37.3801686],[24.4402142,37.3800596],[24.4413648,37.379803],[24.4420068,37.3794941],[24.4423345,37.3795199],[24.4425369,37.3793569],[24.4426948,37.3793203],[24.4430015,37.3790171],[24.4430902,37.3787284],[24.4437107,37.3785999],[24.4439247,37.3784999],[24.4443089,37.3785255],[24.4450873,37.3783693],[24.4455713,37.3780881],[24.4461222,37.3776534],[24.4464025,37.3773008],[24.446468,37.3769219],[24.4467141,37.3765154],[24.4468026,37.3761996],[24.4471395,37.3758738],[24.4470135,37.3755858],[24.447273,37.3755308],[24.4474186,37.3753229],[24.4481857,37.3751668],[24.4493689,37.3747116],[24.4498295,37.3742952],[24.4504971,37.3739186],[24.4506324,37.3738775],[24.4507003,37.3738908],[24.4515405,37.3742797],[24.4520823,37.3743407],[24.451948,37.374544]]},{"id":16494,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 3","description_GR":"\u0394\u03c5\u03bf\u03c0\u03af\u03b4\u03b1-\u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03b1 \u039c\u03b1\u03b8\u03b9\u03ac-\u039a\u03b1\u03bb\u03cc \u039b\u03b9\u03b2\u03ac\u03b4\u03b9","path":"ISLANDS\/Islands_Kythnos_Trail_3","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":7202,"name_EN":"Kythnos Isl: Trail 3","description_EN":"Dryopida-Panagia Mathia-Kalo Livadhi","ascent_time":130,"descent_time":135,"marker":"Red_dots","level":12,"ascent":249,"descent":401,"maxelev":233,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.43063 37.34592,24.44438 37.38322)","views":20,"millestones":"0,24.4306326,37.3832182#1,24.4373986,37.3787216#2,24.4421898,37.3726377#3,24.4409543,37.3644609#4,24.4438019,37.3567972#5,24.4353569,37.3548695#6,24.4341712,37.3518439#7.2,24.4351388,37.3475004","x":24.444169,"y":37.3587521,"coor":[[24.4306326,37.3832182],[24.4307666,37.3831929],[24.4308077,37.3829606],[24.4308719,37.3828387],[24.4309224,37.3827709],[24.431058,37.3827885],[24.4312042,37.3826708],[24.4314716,37.3827734],[24.4314839,37.3825796],[24.4316997,37.3824121],[24.4319588,37.3822939],[24.4321266,37.3819959],[24.4320561,37.381888],[24.4319195,37.3818299],[24.4319106,37.3817623],[24.431854,37.3817355],[24.4319989,37.3815163],[24.4322316,37.3807403],[24.4322921,37.380828],[24.4324908,37.3808791],[24.4327955,37.3808329],[24.4334369,37.3804069],[24.4338487,37.3793418],[24.4348981,37.3791576],[24.4356064,37.3785872],[24.436164,37.3789344],[24.4366016,37.3789193],[24.4374856,37.3787042],[24.4377577,37.3788834],[24.437984,37.3792026],[24.4395703,37.3778672],[24.4396517,37.3776731],[24.4393106,37.3772777],[24.43949,37.3770607],[24.4395448,37.3767721],[24.439668,37.3765914],[24.4395068,37.3760692],[24.439506,37.375934],[24.4396631,37.3757531],[24.4395722,37.3756633],[24.4396838,37.3753114],[24.4398748,37.3751304],[24.4402351,37.3749397],[24.4406298,37.3748301],[24.4414296,37.3744846],[24.4416213,37.3741864],[24.4415741,37.3738351],[24.4416178,37.3735915],[24.4420213,37.3730582],[24.4424667,37.3719749],[24.4430049,37.3713149],[24.4430168,37.3710534],[24.4425704,37.3703971],[24.4426357,37.3699822],[24.4425442,37.3697933],[24.4428005,37.3694408],[24.4427767,37.3692336],[24.4424372,37.3691086],[24.4421986,37.3688662],[24.4419591,37.3684705],[24.4417629,37.3677501],[24.4415924,37.3675704],[24.4418245,37.367191],[24.4416431,37.3669483],[24.4415728,37.3665159],[24.4414703,37.3663631],[24.4414449,37.3658764],[24.4411244,37.3651475],[24.4409859,37.3646342],[24.440937,37.3643595],[24.4407662,37.3641258],[24.4405508,37.3639823],[24.4405162,37.3638653],[24.4409163,37.362523],[24.4411525,37.3623599],[24.4414798,37.3623316],[24.4416148,37.362241],[24.4419399,37.3618341],[24.4420837,37.3613198],[24.4435089,37.3598002],[24.444169,37.3587521],[24.4442777,37.358639],[24.4442303,37.3585017],[24.4442957,37.3580959],[24.4444514,37.3576897],[24.4444167,37.3575546],[24.444326,37.3574918],[24.4441964,37.3571678],[24.4439497,37.356984],[24.4437676,37.3567503],[24.4434391,37.3565713],[24.4432021,37.3565992],[24.4429643,37.3564739],[24.4422724,37.356197],[24.441781,37.3559104],[24.4415681,37.3557084],[24.4413873,37.3556821],[24.4410718,37.3558094],[24.4407279,37.3558783],[24.4403661,37.3558075],[24.4401391,37.3556101],[24.4400478,37.3554482],[24.4395826,37.3550533],[24.4390164,37.354776],[24.4382116,37.3542381],[24.438187,37.3539047],[24.4378789,37.353347],[24.4368546,37.3540088],[24.4364942,37.3541724],[24.4354376,37.3548771],[24.4349631,37.3548338],[24.4340962,37.3552786],[24.433287,37.3559486],[24.4325107,37.3564292],[24.4322738,37.3564751],[24.4320954,37.3563834],[24.4320355,37.3562687],[24.4318545,37.3562153],[24.4316502,37.3560357],[24.4311838,37.3554245],[24.4311592,37.3550821],[24.4313721,37.3547928],[24.4314834,37.354513],[24.4314807,37.3540263],[24.4319654,37.3536347],[24.4321221,37.3534087],[24.4328078,37.3528744],[24.4332568,37.3524041],[24.4337921,37.3519852],[24.4340289,37.3519212],[24.4344003,37.3517216],[24.4345793,37.3514325],[24.4351187,37.3509798],[24.4356223,37.3502028],[24.4356196,37.3497431],[24.4355281,37.3495451],[24.4356616,37.3492021],[24.4357963,37.3490574],[24.4359545,37.3490748],[24.4361,37.348867],[24.4362133,37.3489206],[24.4363709,37.3488389],[24.4365049,37.3485951],[24.4365543,37.3482298],[24.4366549,37.3480402],[24.4373069,37.347551],[24.4378813,37.3473055],[24.4379674,37.3471858],[24.4381133,37.347041],[24.4377605,37.3465556],[24.4379373,37.346271],[24.4377909,37.3463256],[24.4375532,37.3462183],[24.4372319,37.3460595],[24.4369885,37.3459432],[24.4368748,37.3461757],[24.4363834,37.3467297],[24.4361024,37.346947],[24.4356519,37.347156],[24.4353826,37.3474364],[24.4351388,37.3475004]]},{"id":16495,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 8","description_GR":"\u0386\u03b3\u03b9\u03bf\u03c2 \u039a\u03c9\u03bd\u03c3\u03c4\u03b1\u03bd\u03c4\u03af\u03bd\u03bf\u03c2-\u03a6\u03bb\u03b1\u03bc\u03c0\u03bf\u03cd\u03c1\u03b9\u03b1-\u039c\u03ad\u03c1\u03b9\u03c7\u03b1\u03c2","path":"ISLANDS\/Islands_Kythnos_Trail_8","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6100,"name_EN":"Kythnos Isl: Trail 8","description_EN":"Aghios Konstandinos-Flabouria-Merichas","ascent_time":140,"descent_time":145,"marker":"Red_dots","level":12,"ascent":154,"descent":412,"maxelev":268,"minelev":2,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.39675 37.35955,24.41665 37.38829)","views":24,"millestones":"0,24.4166517,37.3599339#1,24.4065014,37.3608994#2,24.4010480,37.3601181#3,24.3998300,37.3675759#4,24.4037618,37.3729567#5,24.4008207,37.3802631#6.1,24.3967459,37.3882875","x":24.4002142,"y":37.3646868,"coor":[[24.4166517,37.3599339],[24.4158403,37.3598488],[24.4148812,37.3599874],[24.4143386,37.3598812],[24.4140352,37.3601526],[24.4137648,37.3602617],[24.4136519,37.3602621],[24.4134025,37.3600917],[24.4127929,37.3601209],[24.412027,37.3604841],[24.4114622,37.3604501],[24.411135,37.3605053],[24.4109428,37.3604699],[24.4103109,37.3605532],[24.4098824,37.3606719],[24.4093872,37.360962],[24.4092401,37.3609084],[24.4088335,37.3609008],[24.4080532,37.3606872],[24.4069822,37.3610334],[24.4068237,37.3609438],[24.4067112,37.3610343],[24.4067213,37.360809],[24.4064283,37.3609272],[24.4063152,37.3608915],[24.4062372,37.361081],[24.4061464,37.3610002],[24.4061243,37.3610814],[24.4060329,37.3608925],[24.4058754,37.3610012],[24.4058746,37.3608569],[24.4057284,37.3609656],[24.4057391,37.3608574],[24.405694,37.3608576],[24.4054127,37.3610568],[24.4053777,37.3608406],[24.4052885,37.3610573],[24.4052093,37.3610215],[24.4051418,37.3610758],[24.4050621,37.3609589],[24.4049272,37.3610765],[24.4049149,37.3608873],[24.4048356,37.3608245],[24.4046213,37.3608793],[24.4043853,37.3610964],[24.4044856,37.3608437],[24.4050138,37.3603641],[24.4055184,37.3597044],[24.4055291,37.3595962],[24.4054726,37.3595874],[24.4054054,37.3596958],[24.4049775,37.3599226],[24.4049771,37.3598415],[24.404925,37.359747],[24.4046657,37.359811],[24.4035589,37.3597967],[24.4026109,37.3598991],[24.4019334,37.3599014],[24.401494,37.3600922],[24.4010537,37.3601117],[24.4005598,37.3606542],[24.4004034,37.3609883],[24.4006512,37.3611226],[24.400166,37.3618657],[24.3992903,37.3628331],[24.398885,37.3630688],[24.3993343,37.3634008],[24.3993683,37.3634277],[24.3996102,37.3636613],[24.4002142,37.3646868],[24.4003074,37.3655],[24.4003434,37.3658965],[24.4001937,37.3668096],[24.4001487,37.3668548],[24.4002166,37.3668817],[24.4001153,37.3669361],[24.400172,37.366981],[24.3996431,37.3673433],[24.3998578,37.3673606],[24.399825,37.367559],[24.3999284,37.3679012],[24.4000643,37.3679728],[24.3999403,37.3680183],[24.4006295,37.3680611],[24.4013769,37.3684371],[24.4016142,37.3684633],[24.4016936,37.3685442],[24.4019985,37.3685341],[24.4019653,37.3686605],[24.4021008,37.368651],[24.4020787,37.3687412],[24.4023157,37.3687224],[24.4023275,37.3688125],[24.4026105,37.3689377],[24.4040339,37.369014],[24.4043392,37.369076],[24.404351,37.3691661],[24.4042273,37.3692657],[24.4040378,37.369726],[24.4042093,37.3701311],[24.4045733,37.3706075],[24.4045782,37.3715269],[24.404761,37.3719049],[24.4047153,37.3720741],[24.4043229,37.3726162],[24.4030507,37.3733777],[24.4027247,37.3736583],[24.4023441,37.3742905],[24.4015239,37.3752397],[24.4011579,37.3756939],[24.4011603,37.3761536],[24.4009814,37.3764877],[24.4011306,37.3769379],[24.4010472,37.3782362],[24.4010952,37.3783757],[24.4013214,37.378429],[24.4021484,37.3788859],[24.4021939,37.3789579],[24.4013858,37.3795195],[24.400825,37.3802605],[24.3994739,37.3810944],[24.3992496,37.3813836],[24.3992151,37.3816811],[24.3992249,37.3821859],[24.3991274,37.3823034],[24.3989038,37.3827368],[24.3984313,37.383117],[24.3983195,37.3833337],[24.3983574,37.3840817],[24.3979571,37.3852909],[24.3980151,37.3855791],[24.3983105,37.3859026],[24.3978828,37.3867333],[24.3972257,37.3874386],[24.3971135,37.3875742],[24.3969862,37.387809],[24.3968576,37.3880618],[24.3967459,37.3882875]]},{"id":16496,"author":"AnaDigit","name_GR":"\u039a\u03cd\u03b8\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 1a","description_GR":"\u03a7\u03ce\u03c1\u03b1-\u039b\u03bf\u03c5\u03c4\u03c1\u03ac","path":"ISLANDS\/Islands_Kythnos_Trail_1a","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":3747,"name_EN":"Kythnos Isl: Trail 1a","description_EN":"Chora-Loutra","ascent_time":65,"descent_time":70,"marker":"Red_dots","level":12,"ascent":22,"descent":152,"maxelev":144,"minelev":12,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(24.42123 37.41274,24.4298 37.44106)","views":28,"millestones":"0,24.4298025,37.4127907#1,24.4250842,37.4188168#2,24.4212840,37.4264302#3,24.4232639,37.4351701#3.7,24.4246079,37.4410493","x":24.4224105,"y":37.422302,"coor":[[24.4298025,37.4127907],[24.4297044,37.4127933],[24.4291958,37.4127771],[24.4288488,37.4127468],[24.4284522,37.4128001],[24.4282679,37.4129269],[24.4276275,37.4135782],[24.4273045,37.4136696],[24.4267849,37.4137052],[24.4266609,37.4137598],[24.4261357,37.4138045],[24.4258668,37.4142201],[24.4250213,37.414818],[24.4246944,37.4151009],[24.4246635,37.4156328],[24.4244975,37.4162463],[24.4245326,37.4164535],[24.4246618,37.416568],[24.4248564,37.4167701],[24.4250429,37.417148],[24.4251445,37.4180107],[24.4249491,37.4181646],[24.4250139,37.4185069],[24.4251254,37.4189932],[24.4253092,37.4195334],[24.4254076,37.4201955],[24.4253183,37.4203761],[24.4250477,37.4205033],[24.424754,37.4205224],[24.4244721,37.4206316],[24.4236607,37.4210401],[24.4234328,37.4212167],[24.4231189,37.4216685],[24.4224105,37.422302],[24.4222895,37.4228883],[24.4220042,37.4236645],[24.4217678,37.4242062],[24.4215647,37.4245156],[24.4211424,37.4258061],[24.4213182,37.4265491],[24.421525,37.4271342],[24.4217953,37.428981],[24.4220164,37.4298636],[24.4221886,37.4303317],[24.4221935,37.431206],[24.4221826,37.4312782],[24.4226443,37.4322229],[24.4230893,37.4334765],[24.4233982,37.4341424],[24.4234677,37.4344396],[24.4232446,37.4349632],[24.4232931,37.4355489],[24.423578,37.4359445],[24.4240141,37.4371237],[24.4241266,37.4375244],[24.4241731,37.4377406],[24.4244812,37.4377575],[24.4244871,37.4378093],[24.4246146,37.4396071],[24.4246328,37.4398278],[24.4246573,37.4399179],[24.4247505,37.4400347],[24.4251344,37.440324],[24.4252483,37.4404769],[24.4250465,37.4407841],[24.4246079,37.4410493]]}],{"extent":[24.37242,37.34473,24.47077,37.4633],"advPath":"http:\/\/www.topoguide.gr\/adventure.php?l=el&ul=1&a=","style":{"default":{"color":"#ff612f","width":5,"action":{"type":"redirect"},"sort":{"type":"byname"}},"PELOPONNESE\/Pelop_Abeliona_Trail_1":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_2":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1c":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1a":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1b":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"Car_touring\/CAR_Rodos_Attavyros_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Attavyros_summit":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_36km_Lindos_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Kattavia_Skiadeni_loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"Car_touring\/CAR_Rodos_Lindos_Sport":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MACEDONIA\/Makedonia_Falakro_refuge_Chionotripa":{"url":null,"color":"#bb0707","width":6,"exclude":false,"useStyle":true},"MACEDONIA\/Makedonia_Falakro_refuge_ProfitisIlias":{"url":null,"color":"#b11f0b","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Lousios":{"url":"Menalon_Trail_Lousios.php","color":"#ffee2f","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Dimitsana_Zygovisti":{"url":null,"color":"#248036","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Zygovisti_Elati":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Vytina_Nymfasia":{"url":null,"color":"#108b1a","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Valtesiniko_Lagadia":{"url":null,"color":"#fbfb00","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Magouliana_Valtesiniko":{"url":null,"color":"#e70404","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_Elliniko":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_Skemna_loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_loop2":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_loop1":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Arkadia_Valtesiniko_Loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Magouliana_Kamari_valley":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Magouliana_Short_loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Dimitsana_Radou":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Lasta_Valtesiniko":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Vytina_Lasta":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"ISLANDS\/Islands_Santorini_Path_1":{"url":null,"color":"#ec0a0a","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_9":{"url":null,"color":"#f60606","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_10":{"url":null,"color":"#2ffff7","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_11":{"url":null,"color":"#2fb4ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_12":{"url":null,"color":"#069f24","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_13":{"url":null,"color":"#f60404","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Merovigli_Skaros":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Oia_Amoudi":{"url":null,"color":"#2fffff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_2":{"url":null,"color":"#06b12f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_3":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_4":{"url":null,"color":"#f4ff00","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_5":{"url":null,"color":"#04b427","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_6":{"url":null,"color":"#ff2fd5","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_7":{"url":null,"color":"#2abc0e","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_8":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Koukouli_Dilofo":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Vikos_Elafotopos":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_AnoPedina_Monodendri":{"url":null,"color":"#0dcb15","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_AKlidonia_Papigo":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_AstrakaRef_Gamila":{"url":null,"color":"#0ba611","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Astraka_Drakolimni":{"url":null,"color":"#2facff","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Konitsa_Astraka":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Konitsa_Stomio_Ast":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_O31_Astraka_Vrisoc":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_O31_Papigo_Astraka":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_Voidomatis_bridges":{"url":null,"color":"#0ba611","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Stouros":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Vradeto_Beloi":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Kapesovo_Kipi":{"url":null,"color":"#2ffff7","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_KKlidonia_AKlidonia":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Monodentri_Vitsa":{"url":null,"color":"#2fffee","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Elafotopos_AnoPedina":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"IPIROS\/Ipiros_Zagori_Skala_Vradetou":{"url":null,"color":"#e91c13","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Vradeto_Astraka":{"url":null,"color":"#2fffb4","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Vitsa_Koukouli":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_Tsepelovo_Astraka":{"url":null,"color":"#fbf100","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Papigo_Vikos":{"url":null,"color":"#2fffb4","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Papigo_Loop":{"url":null,"color":"#f50000","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Monodendri_Vikos":{"url":null,"color":"#2f37ff","width":6,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/MTB_Pelop_Lagadia_loop1":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"SUV_4X4\/SUV_Pelop_Lagadia_Arvitsa":{"url":null,"color":"#0bbd13","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_2":{"url":null,"color":"#ffee2f","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_1":{"url":null,"color":"#ffc52f","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_3":{"url":null,"color":"#2fff8b","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Keresova":{"url":null,"color":"#f40404","width":6,"exclude":false,"useStyle":true},"ATTIKI\/Attiki_Imittos_Sfittia_Odos":{"url":null,"color":"#34bb0a","width":3,"exclude":false,"useStyle":true},"ATTIKI\/Attiki_Imittos_Papagou_Trail_2":{"url":null,"color":"#0a820a","width":6,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Trail10":{"url":null,"color":"#2f40ff","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Katechaki_GlykaNera":{"url":null,"color":"#ffd82f","width":3,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Ilioupoli_Sfittos":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Attiki\/Attiki_Imittos_Kareas_Michailidis":{"url":null,"color":"#ffd82f","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Katechaki_Summit":{"url":null,"color":"#ffd82f","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Taxiarches_sum_road":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_Roadbike\/MTB_Imittos_Anthousa_tower":{"url":null,"color":"#2f3dff","width":6,"exclude":false,"useStyle":true},"MTB_Roadbike\/MTB_Imittos_Liondari_cave":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_Roadbike\/MTB_Imittos_Megalos_Kiklos":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_loop1":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_loop2":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Kareas":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Quarries":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Korakovouni_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Papagou_Asteriou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop1":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop2":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop3":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Sfittos_OmvriosZefs":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Kalopoula":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Sfittos_roman_quarry":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_PrfIlias_Terpsithea":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Koutalas_Kareas":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop4":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Ilioupoli_PrfIlias":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Ilioupoli_Mnimeio_Michailidi":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kalopoula_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Gyros_Imittou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Mikros_Kiklos":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Kesariani_Kalopoula_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Kesariani_Hard_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MOUNTAIN_RUNNING\/MountRun_Imittos_Anthousa_training":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MOUNTAIN_RUNNING\/MountRun_Imittos_Oreinos_Agonas_Imittou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Trail10_short_version":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Koutalas_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kythnos_Trail_1":{"url":null,"color":"#1d7a10","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_2":{"url":null,"color":"#2f50ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_3":{"url":null,"color":"#eb0707","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_4":{"url":null,"color":"#f72fff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_5":{"url":null,"color":"#13930e","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6a":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6b":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_7":{"url":null,"color":"#ffff2f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_8":{"url":null,"color":"#e110d0","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_9":{"url":null,"color":"#51be14","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Chora_loop1":{"url":null,"color":"#2fcdff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Chora_loop2":{"url":null,"color":"#ffc52f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Zogaki":{"url":null,"color":"#11a2b6","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Kanala":{"url":null,"color":"#ffad00","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Kanala2":{"url":null,"color":"#22d112","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6c":{"url":null,"color":"#3d2fff","width":6,"exclude":false,"useStyle":true}}}); function getPoiCollection(key, data, meta) { this.passedOl = undefined; this.modal = undefined; this.key = key; this.data = data; this.item = []; //this.meta = meta; this.gsMap = null; this.features = []; //this.lineFeatures = [] ; var self = this; //console.log(data); this.initOl = function (ol,modal) { this.passedOl = ol; this.modal = modal; this.source = new this.passedOl.source.Vector({ wrapX: false, noWrap: true }); this.layer = new this.passedOl.layer.Vector({ source: this.source, //clusterSource visible: true }); } this.registerMap = function (gsMap) { this.gsMap = gsMap; this.gsMap.map.addLayer(this.layer); this.createFeatures(); } this.createFeatures = function () { this.features = []; var self = this; for (var i in this.data) { //console.log(this.data[i]); var newItem = this.getItem(this.data[i]); newItem.style = this.getIconStyle(newItem); var f = this.gsMap.feature_from_coor(this.data[i].x, this.data[i].y, this.pointMsp(newItem)); //var s = this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 1, 5, "");//this.adventureIconPointStyle(this.data[i].activity_type,this.data[i].difficulty);//this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 0, 5, ""); f.setStyle(newItem.style); f.show = function () { // var div = document.getElementById("myModal"); self.modal.dom.innerHTML = '
'; setTimeout(function () { self.modal.show(); // self.passed$('#myModal').modal('show'); }, 200); } newItem.feature = f; this.item.push(newItem); this.features.push(f); } this.source.addFeatures(this.features); this.gsMap.registerOnZoomChangedFunction(function () { self.refresh(); }); this.refresh(); } this.zoomTo = function () { this.gsMap.map.getView().fit(this.gsMap.ll2xy(this.meta.extent), this.gsMap.map.getSize()); } this.pointMsp = function (item) { var modal = this.modal; return { width: item.width, height: item.height, photoPath: item.photoPath, name: item.name, description: item.description, parent: this, click: [function (s, f, l) { //var div = document.getElementById("myModal"); var self = f.get('msp'); //#34b0ff modal.dom.innerHTML = '
' + '
' + self.name.replace("
", ": ") + '
' + self.parent.getImagetItem(self.photoPath, self.width, self.height) + '
' + self.description + '
' + '
'; setTimeout(function () { modal.show(); // $('#myModal').modal('show'); }, 200); }] }; } this.poiIconPointStyle = function (activity_type, difficulty) { var iconpath = 'https://anadigit.fr/TopoMedia/Icons/activity_adv_loc/activity_' + activity_type + '_' + difficulty + '_adv_loc.png'; return new this.passedOl.style.Style({ image: new this.passedOl.style.Icon({ src: iconpath, //size: [liconsize, liconsize] scale: 0.5 })/*, stroke: new ol.style.Stroke({ color: (s_color ) ,width: 1+is301 + (map3.getZoom()-8) }) */}) } this.getIconStyle = function (myItem) { var icon_size = this.pop_info_adjust_size(myItem.type, this.gsMap.getZoom() - myItem.zoom_level) var icon_size_set = this.pop_info_adjust_size(myItem.type, this.gsMap.getZoom() - myItem.zoom_level) * icon_size / 100; var is = (icon_size > 0) ? icon_size : 9; var icon_index = myItem.icon_index; if (wpt_icon.anch_fraction_x[icon_index] >= 0) { var anch_x = wpt_icon.anch_fraction_x[icon_index]; var anch_y = wpt_icon.anch_fraction_y[icon_index]; } else { var anch_x = 0.5; var anch_y = 0.5; } if (wpt_icon.scale[icon_index] >= 0) { var scale = wpt_icon.scale[icon_index]; } else { if (icon_size_set > 0) { var scale = icon_size_set; } else { var scale = 0.3; } } scale = 0.2; var MarkerIcon = wpt_icon.url_s[icon_index]; var iconStyle = new this.passedOl.style.Style({ image: new this.passedOl.style.Icon(({ anchor: [anch_x, anch_y], anchorXUnits: 'fraction', anchorYUnits: 'fraction', //anchorYUnits: 'pixels', opacity: 0.95, src: MarkerIcon, scale: scale })) }); return iconStyle; } this.getItem = function (dat) { var type = dat.type * 1;//[3]*1; var icon = map_point_collection.get(type); var icon_index = icon.iconindex; var img_path = icon.path; return { image: dat.photo, name: dat.name, description: dat.description, link_en: dat.hlink_EN, type: dat.type * 1, dbid: dat.id, hlink: dat.hlink_GR, zoom_level: dat.zoom_level, width: dat.width * 1, height: dat.height * 1, owner: dat.owner, icon_index: icon_index, photoPath: img_path + dat.photo + '.jpg', thumb_path: img_path + 'thumbs/' + dat.photo + '.jpg', //tmpim:add_image(pop_info_tmp, fp.attributes.thumb_path,-230,3,-1,-1,null), path: (dat.type * 1 == 1) ? img_path + dat.photo + '.jpg' : "" } } this.pop_info_adjust_size = function (type, dl) { if (dl < 0) dl = 0; var new_size = 9 + (1.5 * dl); return new_size * 0.2; } this.refresh = function () { try { this.source.clear(); } catch (err) { } var zoom = this.gsMap.getZoom(); for (var i = 0; i < this.item.length; i++) { if (zoom >= this.item[i].zoom_level) this.source.addFeatures([this.item[i].feature]); } } this.getImagetItem = function (path, width, height) { /* PARADOXES - OLES OI EIKONES PIANOYN TO MEGISTO PLATOS - AN TO YPSOS EINEI MEGALYTERO TOY DIAUESIMOY H EIKONA KOVETAI KATV */ var minAvailableWidth = 568; //APO BOOTSTRAP, http://www.topoguide.gr/css/bootstrap.css, 5489, var maxAvailableHeight = browser.size()[1] - 250; var style = "", divStyle = ""; if (height > maxAvailableHeight) { var ratio = width / height; var renderWidth = maxAvailableHeight * ratio; var renderHeight = maxAvailableHeight; if (minAvailableWidth / ratio > maxAvailableHeight) divStyle += "height:" + renderHeight + "px;"; divStyle += "width:100%;"; style += "width:100%;"; } else { if (width < minAvailableWidth) style += "width:100%;"; } return '
'; } } var img_path = 'https://anadigit.fr/TopoMedia/map_points/img'; var map_point_collection = { 0: { iconindex: 14, path: img_path + "/Landscape/" }, 1: { iconindex: 17, path: img_path + "/Flora/" }, 2: { iconindex: 18, path: img_path + "/Animals/" }, 3: { iconindex: 19, path: img_path + "/Books/" }, 4: { iconindex: 20, path: img_path + "/Maps/" }, 5: { iconindex: 21, path: img_path + "/Apps/" }, 6: { iconindex: 22, path: img_path + "/Mushrooms/" }, 7: { iconindex: 23, path: img_path + "/Animals/" }, 8: { iconindex: 24, path: img_path + "/Animals/" }, 9: { iconindex: 25, path: img_path + "/Architecture/" }, 10: { iconindex: 26, path: img_path + "/Monuments/" }, 447: { iconindex: 38, path: img_path + "/Refuges/" }, 450: { iconindex: 41, path: img_path + "/Signposts/" }, 71: { iconindex: 36, path: img_path + "/Geology/" }, 72: { iconindex: 34, path: img_path + "/Geology/" }, 73: { iconindex: 35, path: img_path + "/Geology/" }, 204: { iconindex: 27, path: img_path + "/logos/" }, 206: { iconindex: 28, path: img_path + "/logos/" }, 200: { iconindex: 29, path: img_path + "/logos/" }, 201: { iconindex: 30, path: img_path + "/logos/" }, 205: { iconindex: 31, path: img_path + "/logos/" }, 202: { iconindex: 32, path: img_path + "/logos/" }, 203: { iconindex: 33, path: img_path + "/logos/" }, 301: { iconindex: 42, path: img_path + "/Beach/" }, 1001: { iconindex: 42, path: img_path + "/Water/" }, default: { iconindex: 28, path: "" } } map_point_collection.get = function (key) { return this[key] || this.default; } function wpt_icon_class() { this.count = 0; this.url = new Array(); this.url_s = new Array(); this.cx = new Array(); this.cy = new Array(); this.scx = new Array(); this.scy = new Array(); this.ix = new Array(); this.iy = new Array(); this.anch_fraction_x = new Array(); this.anch_fraction_y = new Array(); this.scale = new Array(); this.inwptwindow = new Array(); this.add = function (url, url_s, cx, cy, ix, iy, scx, scy, anch_fraction_x, anch_fraction_y, scale, inwptwindow) { this.count += 1; this.url[this.count] = "https://anadigit.fr/TopoMedia/" + url; this.url_s[this.count] = "https://anadigit.fr/TopoMedia/" + url_s; this.cx[this.count] = cx; this.cy[this.count] = cy; this.scx[this.count] = scx; //kentro simeiou gia xarti this.scy[this.count] = scy; this.ix[this.count] = ix; //offset sto icon list this.iy[this.count] = iy; this.anch_fraction_x[this.count] = anch_fraction_x; //offset sto icon list this.anch_fraction_y[this.count] = anch_fraction_y; this.scale[this.count] = scale; this.inwptwindow[this.count] = inwptwindow; } } var wpt_icon = new wpt_icon_class(); wpt_icon.add("Icons/WPT/pin_blue.png", "Icons/WPT/pin_blue_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/pin_green.png", "Icons/WPT/pin_green_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/pin_red.png", "Icons/WPT/pin_red_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/star_blue.png", "Icons/WPT/star_blue_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/star_green.png", "Icons/WPT/star_green_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/star_red.png", "Icons/WPT/star_red_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/lmk_red.png", "Icons/WPT/lmk_red_s.png", 32, 32, -3, 0, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/house_blue.png", "Icons/WPT/house_blue_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true);; wpt_icon.add("Icons/WPT/house_red.png", "Icons/WPT/house_red_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/monastery_red.png", "Icons/WPT/monastery_red_s.png", 32, 32, 5, 8, 11, 16, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/church_red.png", "Icons/WPT/church_red_s.png", 32, 32, 5, 8, 11, 16, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/anchor_blue.png", "Icons/WPT/anchor_blue_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/anchor_red.png", "Icons/WPT/anchor_red_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); //photo_points wpt_icon.add("Icons/WPT/landscape.png", "Icons/WPT/landscape.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("img/NAV_START.png", "img/NAV_START.png", 32 * 1.5, 42, -5, -48, 11, 11, 0.5, 1.0, 0.6, true); wpt_icon.add("img/NAV_END.png", "img/NAV_END.png", 32 * 1.5, 162, -5, -28, 11, 11, 0.5, 1.0, 0.6, true); wpt_icon.add("Icons/WPT/flora.png", "Icons/WPT/flora.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/bird.png", "Icons/WPT/bird.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/book.png", "Icons/WPT/book.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/map.png", "Icons/WPT/map.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/iphone.png", "Icons/WPT/iphone.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/mushroom.png", "Icons/WPT/mushroom.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/mammal.png", "Icons/WPT/mammal.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/turtle.png", "Icons/WPT/turtle.png", 30, 30, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/architecture.png", "Icons/WPT/architecture.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/monument.png", "Icons/WPT/monument.png", 28, 28, 5, 8, 16, 16); // pop_info wpt_icon.add("pop_info/Icons/pop_info_1.png", "pop_info/Icons/pop_info_1.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 27 wpt_icon.add("pop_info/Icons/pop_info_2.png", "pop_info/Icons/pop_info_2.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 28 wpt_icon.add("pop_info/Icons/pop_info_3.png", "pop_info/Icons/pop_info_3.png", 32, 32, 5, 8, 32, 32); // iconindex= 29 wpt_icon.add("pop_info/Icons/pop_info_4.png", "pop_info/Icons/pop_info_4.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 30 wpt_icon.add("pop_info/Icons/pop_info_5.png", "pop_info/Icons/pop_info_5.png", 32, 32, 5, 8, 32, 32); // iconindex= 31 wpt_icon.add("pop_info/Icons/pop_info_6.png", "pop_info/Icons/pop_info_6.png", 32, 32, 5, 8, 32, 32); // iconindex= 32 wpt_icon.add("pop_info/Icons/pop_info_7.png", "pop_info/Icons/pop_info_7.png", 32, 32, 5, 8, 32, 32); // iconindex= 33 wpt_icon.add("pop_info/Icons/pop_info_101.png", "pop_info/Icons/pop_info_101.png", 32, 32, 5, 8, 32, 32, 0.5, 0.5); // iconindex= 34 wpt_icon.add("pop_info/Icons/pop_info_102.png", "pop_info/Icons/pop_info_102.png", 32, 32, 5, 8, 32, 32); // iconindex= 35 wpt_icon.add("pop_info/Icons/pop_info_103.png", "pop_info/Icons/pop_info_103.png", 32, 32, 5, 8, 32, 32); // iconindex= 36 wpt_icon.add("Icons/WPT/POI_446_icon.png", "Icons/WPT/POI_446_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 37 wpt_icon.add("Icons/WPT/POI_447_icon.png", "Icons/WPT/POI_447_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 38 wpt_icon.add("Icons/WPT/POI_448_icon.png", "Icons/WPT/POI_448_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 39 wpt_icon.add("Icons/WPT/POI_449_icon.png", "Icons/WPT/POI_449_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 40 wpt_icon.add("Icons/WPT/POI_450_icon.png", "Icons/WPT/POI_450_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 41 wpt_icon.add("Icons/WPT/Fountain_blue.png", "Icons/WPT/Fountain_blue.png", 32, 32, 5, 8, 32, 32); // iconindex= 42 console.log('poi signature up to date');var poiCollection_kythnos = new getPoiCollection("kythnos",[{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u039b\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b1 \u03c3\u03c4\u03bf \u03ba\u03ac\u03c3\u03c4\u03c1\u03bf","owner":"AnaDigit","x":24.411413192749,"y":37.462931509502,"photo":"Kythnos_Kastro_detail","type":10,"zoom_level":16,"id":344,"hlink_GR":"","hlink_EN":"","description":"","height":512,"width":328},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u039b\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b1 \u03c3\u03b5 \u03c0\u03ad\u03c4\u03c1\u03b9\u03bd\u03b7 \u03ba\u03b1\u03bb\u03cd\u03b2\u03b1","owner":"AnaDigit","x":24.374033927917,"y":37.423509160278,"photo":"Kythnos_Stani_pano_apo_Kolona","type":9,"zoom_level":14,"id":345,"hlink_GR":"","hlink_EN":"","description":"","height":512,"width":343},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03bf \u03b4\u03c1\u03cc\u03bc\u03bf \u03c0\u03c1\u03bf\u03c2
\u03c4\u03bf\u03bd \u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7 \u0397\u03bb\u03af\u03b1","owner":"AnaDigit","x":24.452697753907,"y":37.416862898944,"photo":"Kythnos_Sto_dromo_pros_Prf_Ilia","type":0,"zoom_level":13,"id":346,"hlink_GR":"","hlink_EN":"","description":"","height":512,"width":403},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.421778,"y":37.443928,"photo":"20170609_0706431","type":450,"zoom_level":15,"id":4280,"hlink_GR":"","hlink_EN":"","description":"","height":511,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.421061,"y":37.445347,"photo":"20170609_0714391","type":450,"zoom_level":17,"id":4281,"hlink_GR":"","hlink_EN":"","description":"","height":837,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.415878,"y":37.45998,"photo":"20170609_0756011","type":450,"zoom_level":15,"id":4282,"hlink_GR":"","hlink_EN":"","description":"","height":695,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.429827,"y":37.412785,"photo":"20170610_0707441","type":450,"zoom_level":16,"id":4283,"hlink_GR":"","hlink_EN":"","description":"","height":962,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.43261,"y":37.412491,"photo":"20170610_0748501","type":450,"zoom_level":17,"id":4284,"hlink_GR":"","hlink_EN":"","description":"","height":574,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.436455,"y":37.410778,"photo":"20170610_0921521","type":450,"zoom_level":16,"id":4285,"hlink_GR":"","hlink_EN":"","description":"","height":618,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.43734,"y":37.406651,"photo":"20170610_0937031","type":450,"zoom_level":16,"id":4286,"hlink_GR":"","hlink_EN":"","description":"","height":590,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.438446,"y":37.406448,"photo":"20170610_0940061","type":450,"zoom_level":17,"id":4287,"hlink_GR":"","hlink_EN":"","description":"","height":629,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.454117,"y":37.399525,"photo":"20170610_1037181","type":450,"zoom_level":16,"id":4288,"hlink_GR":"","hlink_EN":"","description":"","height":867,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03ae\u03bc\u03b1\u03bd\u03c3\u03b7 \u03c3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.437985,"y":37.402158,"photo":"DSC005491","type":450,"zoom_level":15,"id":4289,"hlink_GR":"","hlink_EN":"","description":"","height":750,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.440068,"y":37.370638,"photo":"DSC005251","type":0,"zoom_level":15,"id":4290,"hlink_GR":"","hlink_EN":"","description":"","height":641,"width":1400},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.447176,"y":37.401424,"photo":"20170610_1018071","type":0,"zoom_level":16,"id":4291,"hlink_GR":"","hlink_EN":"","description":"","height":648,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.46101,"y":37.39613,"photo":"20170610_1119381","type":0,"zoom_level":15,"id":4292,"hlink_GR":"","hlink_EN":"","description":"","height":548,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9\u03b1 \u03c4\u03b7\u03c2 \u039a\u03cd\u03b8\u03bd\u03bf\u03c5","owner":"AnaDigit","x":24.4671,"y":37.402122,"photo":"20170610_1302461","type":0,"zoom_level":14,"id":4293,"hlink_GR":"","hlink_EN":"","description":"","height":609,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u0391\u03bb\u03ce\u03bd\u03b9 \u03c3\u03c4\u03bf\u03bd \u039a\u03b1\u03c4\u03b1\u03ba\u03ad\u03c6\u03b1\u03bb\u03bf","owner":"AnaDigit","x":24.417315,"y":37.457676,"photo":"20170609_0908241","type":9,"zoom_level":16,"id":4294,"hlink_GR":"","hlink_EN":"","description":"","height":563,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a0\u03b5\u03c1\u03b9\u03c3\u03c4\u03b5\u03b5\u03c1\u03b9\u03ce\u03bd\u03b1\u03c2 \u03ba\u03bf\u03bd\u03c4\u03ac \u03c3\u03c4\u03b7 \u03a7\u03ce\u03c1\u03b1","owner":"AnaDigit","x":24.438220966933,"y":37.40739644486,"photo":"20170610_0939221","type":9,"zoom_level":15,"id":4295,"hlink_GR":"","hlink_EN":"","description":"","height":539,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a0\u03b1\u03bb\u03b9\u03ac \u03b1\u03b3\u03c1\u03bf\u03b9\u03ba\u03af\u03b1 \u03c3\u03c4\u03bf\u03bd \u0386\u03b3\u03b9\u03bf \u03a3\u03c4\u03ad\u03c6\u03b1\u03bd\u03bf","owner":"AnaDigit","x":24.460835,"y":37.397991,"photo":"20170610_1124151","type":9,"zoom_level":16,"id":4296,"hlink_GR":"","hlink_EN":"","description":"","height":435,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u0391\u03bb\u03ce\u03bd\u03b9 \u03c3\u03c4\u03bf\u03bd \u0386\u03b3\u03b9\u03bf \u0398\u03b5\u03cc\u03b4\u03c9\u03c1\u03bf","owner":"AnaDigit","x":24.398501,"y":37.440298,"photo":"DSC004651","type":9,"zoom_level":16,"id":4297,"hlink_GR":"","hlink_EN":"","description":"","height":750,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03c0\u03b1\u03bb\u03b9\u03ac \u03bc\u03b5\u03c4\u03b1\u03bb\u03bb\u03b5\u03af\u03b1 \u03c4\u03bf\u03c5 \u039a\u03b1\u03ba\u03bf\u03b2\u03bf\u03bb\u03bf\u03c5","owner":"AnaDigit","x":24.396936,"y":37.445421,"photo":"DSC004701","type":9,"zoom_level":16,"id":4298,"hlink_GR":"","hlink_EN":"","description":"","height":750,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03c0\u03b1\u03bb\u03b9\u03ac \u03bc\u03b5\u03c4\u03b1\u03bb\u03bb\u03b5\u03af\u03b1 \u03c4\u03bf\u03c5 \u039a\u03b1\u03ba\u03bf\u03b2\u03bf\u03bb\u03bf\u03c5","owner":"AnaDigit","x":24.398658,"y":37.448606,"photo":"DSC004711","type":0,"zoom_level":17,"id":4299,"hlink_GR":"","hlink_EN":"","description":"","height":750,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03c0\u03b1\u03bb\u03b9\u03ac \u03bc\u03b5\u03c4\u03b1\u03bb\u03bb\u03b5\u03af\u03b1 \u03c4\u03bf\u03c5 \u039a\u03b1\u03ba\u03bf\u03b2\u03bf\u03bb\u03bf\u03c5","owner":"AnaDigit","x":24.399986,"y":37.449511,"photo":"DSC004761","type":9,"zoom_level":14,"id":4300,"hlink_GR":"","hlink_EN":"","description":"","height":750,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03c0\u03b1\u03bb\u03b9\u03ac \u03bc\u03b5\u03c4\u03b1\u03bb\u03bb\u03b5\u03af\u03b1 \u03c4\u03bf\u03c5 \u039a\u03b1\u03ba\u03bf\u03b2\u03bf\u03bb\u03bf\u03c5","owner":"AnaDigit","x":24.405435,"y":37.453155,"photo":"DSC004841","type":0,"zoom_level":16,"id":4301,"hlink_GR":"","hlink_EN":"","description":"","height":1000,"width":750},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a3\u03c4\u03b1 \u03c0\u03b1\u03bb\u03b9\u03ac \u03bc\u03b5\u03c4\u03b1\u03bb\u03bb\u03b5\u03af\u03b1 \u03c4\u03bf\u03c5 \u039a\u03b1\u03ba\u03bf\u03b2\u03bf\u03bb\u03bf\u03c5","owner":"AnaDigit","x":24.400863,"y":37.448076,"photo":"DSC004981","type":0,"zoom_level":16,"id":4302,"hlink_GR":"","hlink_EN":"","description":"","height":1000,"width":750},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a4\u03bf \u039a\u03ac\u03c3\u03c4\u03c1\u03bf \u03c4\u03b7\u03c2 \u03a9\u03c1\u03b9\u03ac\u03c2 \u03ba\u03b1\u03b9 \u03bf \u03ba\u03ac\u03bc\u03c0\u03bf\u03c2 \u03c4\u03bf\u03c5 \u039a\u03b1\u03c4\u03b1\u03ba\u03ad\u03c6\u03b1\u03bb\u03bf\u03c5 \u03b1\u03c0\u03cc \u03c4\u03b1 \u03bd\u03cc\u03c4\u03b9\u03b1","owner":"AnaDigit","x":24.410873,"y":37.458975,"photo":"DSC004902","type":0,"zoom_level":14,"id":4303,"hlink_GR":"","hlink_EN":"","description":"","height":407,"width":1600},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u039a\u03b1\u03c4\u03b5\u03b2\u03b1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b1 \u03a6\u03bb\u03b1\u03bc\u03c0\u03bf\u03cd\u03c1\u03b9\u03b1","owner":"AnaDigit","x":24.406426,"y":37.360821,"photo":"DSC005061","type":0,"zoom_level":16,"id":4304,"hlink_GR":"","hlink_EN":"","description":"","height":519,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u0394\u03b5\u03be\u03b1\u03bc\u03b5\u03bd\u03ae \u03c3\u03b5 \u03c3\u03c4\u03ac\u03bd\u03b7 \u03c3\u03c4\u03bf\u03bd \u039a\u03b1\u03c4\u03b1\u03ba\u03ad\u03c6\u03b1\u03bb\u03bf","owner":"AnaDigit","x":24.417315,"y":37.457676,"photo":"20170609_0908041","type":1001,"zoom_level":15,"id":4305,"hlink_GR":"","hlink_EN":"","description":"","height":584,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u03a0\u03b7\u03b3\u03ac\u03b4\u03b9 \u03c3\u03c4\u03bf \u03c1\u03ad\u03bc\u03b1 \u03c4\u03b7\u03c2 \u0395\u03c0\u03b9\u03c3\u03ba\u03bf\u03c0\u03ae\u03c2","owner":"AnaDigit","x":24.410577,"y":37.396085,"photo":"DSC004442","type":1001,"zoom_level":16,"id":4306,"hlink_GR":"","hlink_EN":"","description":"","height":750,"width":1000},{"name":"\u039a\u03a5\u0398\u039d\u039f\u03a3
\u039a\u03b1\u03c4\u03b5\u03b2\u03b1\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03c2 \u03c0\u03c1\u03bf\u03c2 \u03c4\u03b7\u03bd \u03c0\u03b1\u03c1\u03b1\u03bb\u03af\u03b1 \u0391\u03bd\u03c4\u03ce\u03bd\u03b7\u03b4\u03b5\u03c2","owner":"AnaDigit","x":24.43637,"y":37.348796,"photo":"K3II84891","type":0,"zoom_level":16,"id":4307,"hlink_GR":"","hlink_EN":"","description":"","height":995,"width":1000}],{});function createAdventureListWidgetContext(){};console.log('sort type: byname');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="
Παραλίες Απόκρουση και Κολώνα
Χώρα-Δρυοπίδα
Χώρα, μικρός κύκλος
Χώρα-Λουτρά
Δρυοπίδα-Αγ. Κωνσταντίνος-Κανάλα
Δρυοπίδα-Ζογκάκι
Διάσχιση των μεταλλείων Κακόβολου
Χώρα-Παραλία Κολώνα
Διαδρομή 1a
Διαδρομή 1b
Διαδρομή 1c
Διαδρομή 2
Διαδρομή 3
Διαδρομή 4
Διαδρομή 4a
Διαδρομή 5
Διαδρομή 6
Διαδρομή 6a
Διαδρομή 6b
Διαδρομή 6c
Διαδρομή 7
Διαδρομή 8
Διαδρομή 9
";}else{console.log('adventure list widget activated but div missing. Requested id: pathList');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["kythnos"],pc:["kythnos"],url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png',showLogo: 1,showZoomTool: 1}; var overrideAfterLoad = function(map){ adventureCollection_kythnos.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); }