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_epidavros = new getAdventureCollection("epidavros",[{"id":16641,"author":"AnaDigit","name_GR":"\u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf: \u0391\u03bc\u03b1\u03c1\u03b9\u03b1\u03bd\u03cc\u03c2-\u03bc\u03bf\u03bd\u03ae \u03a4\u03b1\u03bb\u03b1\u03bd\u03c4\u03af\u03bf\u03c5","description_GR":"\u03a6\u03b1\u03c1\u03ac\u03b3\u03b3\u03b9 \u039a\u03b1\u03c1\u03ac\u03bc\u03c0\u03b1\u03bc\u03c0\u03b1","path":"PELOPONNESE\/Pelop_Arachneo_Karababa_gorge","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":7496,"name_EN":"Arachneo: Amarianos-Talandiou monastery","description_EN":"Karababa gorge","ascent_time":180,"descent_time":170,"marker":"No_marks","level":10,"ascent":333,"descent":109,"maxelev":445,"minelev":211,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(22.88414 37.64463,22.92161 37.67499)","views":85,"millestones":"0,22.8846379,37.6442838#1,22.8864037,37.6527275#2,22.8912814,37.6579992#3,22.8975507,37.6600474#4,22.9034798,37.6642927#5,22.9089159,37.6682297#6,22.9169481,37.6711478#7.5,22.9144546,37.6731218","x":22.9001289,"y":37.6615089,"coor":[[22.8846379,37.6442838],[22.8846092,37.6448334],[22.884703,37.645384],[22.884641,37.645735],[22.8846942,37.6471099],[22.8845422,37.648172],[22.8847021,37.6483335],[22.885109,37.6491666],[22.8854663,37.6495305],[22.8856641,37.6499469],[22.8860459,37.6501939],[22.8864222,37.6508013],[22.8867772,37.6513882],[22.8866914,37.6518201],[22.8864217,37.6524214],[22.8863917,37.6529168],[22.8861149,37.6532296],[22.8861238,37.653392],[22.8869224,37.6545712],[22.8874181,37.6547832],[22.8877545,37.6550297],[22.8878789,37.6550489],[22.8882895,37.6548815],[22.8886695,37.6552456],[22.8889023,37.6555993],[22.8889037,37.6562663],[22.8889918,37.6564383],[22.8889445,37.6573302],[22.8890439,37.6575114],[22.8894607,37.6576866],[22.889791,37.6575815],[22.8899535,37.6573307],[22.8899791,37.6571326],[22.8902426,37.6569458],[22.8904111,37.6570556],[22.8904081,37.6572538],[22.890607,37.6575982],[22.890876,37.657808],[22.8914952,37.6581023],[22.8918575,37.6581327],[22.8921101,37.6579188],[22.8920845,37.6573507],[22.8921892,37.6571714],[22.8923948,37.6570652],[22.892508,37.6570753],[22.8929321,37.6575299],[22.8933606,37.6576872],[22.8945071,37.6575807],[22.8950484,37.6577751],[22.8952759,37.6577231],[22.8955509,37.6575274],[22.8960837,37.6575324],[22.8962608,37.6578225],[22.8961257,37.6592903],[22.8961799,37.6594531],[22.8964391,37.6595636],[22.8970096,37.6593166],[22.8972368,37.6592827],[22.8976323,37.6593675],[22.8976985,37.6594943],[22.8975355,37.6597812],[22.8975323,37.6599975],[22.8976196,37.6602326],[22.8977875,37.6603784],[22.8981159,37.6603995],[22.8986738,37.6602425],[22.8989441,37.6603622],[22.8991308,37.6607695],[22.8992193,37.6616896],[22.8994446,37.6617819],[22.9001289,37.6615089],[22.900344,37.6615289],[22.9004829,37.662107],[22.9017015,37.663272],[22.9017549,37.6634978],[22.9015314,37.6640456],[22.901752,37.6644622],[22.9019662,37.6645453],[22.902352,37.6645219],[22.9027546,37.664129],[22.9032685,37.6638815],[22.9033918,37.6639727],[22.9036068,37.6647769],[22.9046382,37.6647955],[22.9050053,37.6652766],[22.9052442,37.6652247],[22.9054874,37.6648755],[22.9058412,37.6647165],[22.906136,37.6647193],[22.9066206,37.664913],[22.906662,37.6651838],[22.9063703,37.6657489],[22.9063883,37.6660645],[22.9071073,37.6665218],[22.9077782,37.6663838],[22.9081104,37.6661526],[22.9087074,37.6664195],[22.9088734,37.6667004],[22.908752,37.6672491],[22.9083606,37.667651],[22.9083461,37.6678672],[22.9090988,37.6683429],[22.909938,37.6683326],[22.9102648,37.6684708],[22.9104326,37.6686256],[22.9106084,37.6690057],[22.910559,37.6694559],[22.9106766,37.6697004],[22.9110942,37.6698304],[22.9112421,37.6697957],[22.9114165,37.6694999],[22.9116773,37.6695023],[22.9118572,37.6696031],[22.9119448,37.6698202],[22.9119597,37.6703521],[22.9121783,37.670913],[22.9127781,37.6709906],[22.9137314,37.6709363],[22.9149156,37.6713708],[22.9155055,37.6713492],[22.9160257,37.6714441],[22.9167564,37.6710993],[22.9172761,37.6712303],[22.9179608,37.6709301],[22.9182739,37.6712304],[22.9189155,37.6715607],[22.9191983,37.6716084],[22.9202456,37.6713206],[22.9204106,37.6708895],[22.9205366,37.6708005],[22.920843,37.6707853],[22.9212271,37.6708789],[22.9211243,37.670932],[22.9191022,37.6751045],[22.9189983,37.6752298],[22.9186863,37.6753148],[22.9182444,37.6752927],[22.915871,37.6739731],[22.9148379,37.6732786],[22.9144546,37.6731218]]},{"id":16642,"author":"AnaDigit","name_GR":"\u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf: \u0394\u03b9\u03ac\u03c3\u03c7\u03b9\u03c3\u03b7 \u03b4\u03c5\u03c4\u03b9\u03ba\u03ae\u03c2 \u03ba\u03bf\u03c1\u03c5\u03c6\u03bf\u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03c4\u03bf\u03c5 \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5","description_GR":"\u0393\u03ba\u03ac\u03bd\u03c4\u03b6\u03b9\u03b1-\u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5-\u0394\u03b9\u03ac\u03c3\u03b5\u03bb\u03bf \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5\u03c2","path":"PELOPONNESE\/Pelop_Arachneo_WEcrossing_1","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":8724,"name_EN":"Arachneo: Mt Arachneo west ridge crossing","description_EN":"Gantzia-Arachneo summit-Arachneo Pass","ascent_time":230,"descent_time":205,"marker":"No_marks","level":10,"ascent":725,"descent":392,"maxelev":1188,"minelev":496,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(22.92611 37.63905,22.99219 37.64765)","views":61,"millestones":"0,22.9263701,37.6384678#1,22.9336914,37.6408173#2,22.9432081,37.6444219#3,22.9502745,37.6462783#4,22.9559082,37.6447395#5,22.9651844,37.6417143#6,22.9705681,37.6420454#7,22.9773331,37.6446995#8,22.9870726,37.6454344#8.7,22.9921059,37.6450910","x":22.9542162,"y":37.6459171,"coor":[[22.9263701,37.6384678],[22.926413,37.6385651],[22.9264055,37.6390878],[22.9262236,37.6399153],[22.9262443,37.6400507],[22.9264047,37.6402482],[22.9267086,37.6403952],[22.9283584,37.6407437],[22.9286965,37.6408819],[22.9288193,37.6410092],[22.9293053,37.6411038],[22.929704,37.6409632],[22.9301612,37.6406969],[22.9309122,37.6404964],[22.9311303,37.6403001],[22.931387,37.6397887],[22.9314782,37.6397535],[22.9318066,37.6397745],[22.9320279,37.6402226],[22.9325847,37.6401195],[22.9328644,37.6403744],[22.9333943,37.6405775],[22.933539,37.6407591],[22.9340012,37.6409345],[22.9342245,37.6411708],[22.9345735,37.6413362],[22.9351006,37.6417286],[22.9369366,37.6425383],[22.9381529,37.6422878],[22.939013,37.6423857],[22.9394084,37.6424794],[22.940037,37.6429086],[22.9404703,37.6435254],[22.9405236,37.6437602],[22.9411195,37.644027],[22.942724,37.6443839],[22.9437882,37.6444745],[22.9447677,37.6449429],[22.9458064,37.6452316],[22.9466728,37.645681],[22.9471649,37.6461541],[22.9472004,37.6468484],[22.9477042,37.6464924],[22.9480497,37.6461079],[22.9482548,37.6460286],[22.9484518,37.6457239],[22.9485304,37.6457787],[22.9488476,37.6457905],[22.9489818,37.6459179],[22.9492526,37.6460104],[22.9498487,37.6455381],[22.9499996,37.6451045],[22.9501088,37.6454029],[22.9500818,37.6457091],[22.9502253,37.6459808],[22.9502437,37.6462874],[22.9503917,37.6462437],[22.9505016,37.646488],[22.9506497,37.6464352],[22.9507844,37.6465266],[22.9507462,37.6468236],[22.9508351,37.6469506],[22.9507988,37.6471125],[22.9509082,37.6473929],[22.9515739,37.6476151],[22.9518463,37.6475905],[22.9519615,37.6474563],[22.9523418,37.6478202],[22.9525223,37.6478849],[22.9530819,37.6475835],[22.9532402,37.6476119],[22.9533547,37.6475318],[22.953627,37.6475162],[22.9537415,37.6474361],[22.9539445,37.64751],[22.9541493,37.6474487],[22.9541523,37.6472415],[22.9538736,37.6469055],[22.9540012,37.6466993],[22.9536076,37.6464705],[22.9535754,37.646344],[22.9538135,37.6463371],[22.9538954,37.6461576],[22.9540431,37.6461319],[22.9541924,37.645998],[22.9542162,37.6459171],[22.954126,37.6458803],[22.9541383,37.6458083],[22.9544607,37.6454506],[22.9545625,37.6454695],[22.9548256,37.6453006],[22.9548812,37.6453732],[22.9552882,37.6454489],[22.9555383,37.645397],[22.9556301,37.6453167],[22.9557834,37.6448945],[22.9560141,37.6446081],[22.956173,37.6445915],[22.9563236,37.6443585],[22.9566434,37.6441901],[22.9569616,37.6441298],[22.9571001,37.6439508],[22.9578079,37.6435875],[22.9583061,37.6436279],[22.9598162,37.643443],[22.9613067,37.6430325],[22.961434,37.6428443],[22.9617063,37.6428287],[22.9619546,37.642903],[22.9623399,37.6429064],[22.9628396,37.6428387],[22.9627549,37.6425901],[22.9628377,37.6423384],[22.9633993,37.6418927],[22.9636504,37.6417687],[22.9640139,37.6417088],[22.9642513,37.641756],[22.9644527,37.6418682],[22.964567,37.6417971],[22.964724,37.6419156],[22.965145,37.6418021],[22.9652736,37.6415149],[22.9655602,37.641283],[22.966661,37.6411845],[22.9670599,37.6410258],[22.9673289,37.6412444],[22.9679984,37.6412638],[22.9683967,37.6411501],[22.9691337,37.6411295],[22.9693067,37.6409147],[22.9691337,37.6411295],[22.9683967,37.6411501],[22.9679984,37.6412638],[22.9684473,37.6416643],[22.9690802,37.641796],[22.9709462,37.6412806],[22.9701196,37.6420395],[22.9701527,37.6421118],[22.9723338,37.6417523],[22.972971,37.6415776],[22.9735473,37.6416998],[22.9735917,37.6417723],[22.9729619,37.6422355],[22.9724443,37.6427808],[22.9722413,37.6429638],[22.9742922,37.6427563],[22.9752197,37.6428995],[22.9755457,37.6430917],[22.9760924,37.6437273],[22.9766857,37.6442732],[22.9777079,37.6449491],[22.9781142,37.6450788],[22.9791475,37.6452049],[22.9800421,37.6452667],[22.9813715,37.6450258],[22.9842678,37.6437619],[22.9845294,37.6437011],[22.9848012,37.6437124],[22.9856238,37.644071],[22.986803,37.6448743],[22.986981,37.6451282],[22.9872782,37.6460861],[22.9874427,37.6464931],[22.9877574,37.6466941],[22.9882218,37.6467161],[22.988949,37.6465872],[22.989507,37.6464027],[22.9901234,37.6460835],[22.9911671,37.6451821],[22.9916339,37.6450239],[22.9921059,37.645091]]},{"id":17899,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u0399\u03b5\u03c1\u03cc \u0391\u03c3\u03ba\u03bb\u03b7\u03c0\u03b9\u03bf\u03cd","description_GR":"\u039c\u03b9\u03b1 \u03b1\u03c1\u03c7\u03b1\u03b9\u03bf\u03b3\u03bd\u03c9\u03c3\u03c4\u03b9\u03ba\u03ae \u03b4\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae","path":"PELOPONNESE\/Pelop_Epidavros_ELLET_1","activity_type":32,"assistance":2,"difficulty":1,"scenic_value":4,"length":5821,"name_EN":"Epidavros: Sanctuary of Asklepios","description_EN":"","ascent_time":105,"descent_time":105,"marker":"No_marks","level":10,"ascent":206,"descent":206,"maxelev":507,"minelev":305,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.06732 37.59373,23.09105 37.60408)","views":30,"millestones":"0,23.0674847,37.5979413#1,23.0763484,37.5942259#2,23.0850624,37.5973900#3,23.0908668,37.6035696#4,23.0840416,37.6002427#5,23.0745074,37.6009197#5.8,23.0674847,37.5979413","x":23.0877823,"y":37.6026268,"coor":[[23.0674847,37.5979413],[23.0676935,37.5975464],[23.0683683,37.5970289],[23.0686469,37.5964904],[23.0695685,37.5952538],[23.0697321,37.5948495],[23.0699811,37.5948695],[23.0704475,37.5947109],[23.0710029,37.5946792],[23.0723603,37.5948341],[23.0745501,37.5945449],[23.0751193,37.594315],[23.0760378,37.5942321],[23.0775875,37.5942036],[23.0783647,37.5940745],[23.0789935,37.5940614],[23.0794933,37.5938084],[23.0799028,37.5936674],[23.0803093,37.5937697],[23.0814208,37.5936522],[23.0817824,37.5937271],[23.0821491,37.5939305],[23.0830547,37.5948411],[23.0834115,37.5953035],[23.0839355,37.5957876],[23.0845383,37.5965133],[23.0855596,37.5982157],[23.0863227,37.5987984],[23.0868084,37.599005],[23.0876201,37.5993267],[23.088246,37.5990882],[23.0886888,37.5990105],[23.0888587,37.5990118],[23.0891519,37.5991222],[23.0895883,37.5995582],[23.0905864,37.6011748],[23.0908714,37.6019611],[23.0908008,37.6031053],[23.0909261,37.6039805],[23.0908096,37.60425],[23.0906734,37.604267],[23.0906074,37.6041651],[23.0904975,37.6038848],[23.0902947,37.6037931],[23.0898187,37.6038075],[23.0894549,37.6039128],[23.089308,37.6038847],[23.0890943,37.6037568],[23.0885136,37.603038],[23.0883887,37.6030641],[23.0882986,37.6030184],[23.0881873,37.6028553],[23.0877823,37.6026268],[23.0873297,37.6025782],[23.0873317,37.602416],[23.0876048,37.602319],[23.0876406,37.602166],[23.0875642,37.6019311],[23.0873404,37.601704],[23.0872937,37.6015031],[23.0873413,37.6013142],[23.0872309,37.601079],[23.0870513,37.6009424],[23.0870193,37.60078],[23.0868947,37.600779],[23.0865126,37.6008459],[23.0857685,37.6005517],[23.0852703,37.6005659],[23.0843098,37.6003692],[23.0841804,37.6003253],[23.0840455,37.6002432],[23.0835365,37.6001761],[23.0830137,37.6003163],[23.0825961,37.6001868],[23.0810434,37.6002469],[23.0796787,37.5997585],[23.0792602,37.5997102],[23.0782889,37.5994683],[23.0767831,37.5994024],[23.0765896,37.599482],[23.0765363,37.6001216],[23.0759359,37.6001259],[23.0757987,37.6002239],[23.0757169,37.6004306],[23.0757702,37.6007014],[23.0756893,37.600827],[23.0753482,37.6009325],[23.0748164,37.6008832],[23.0744533,37.6009254],[23.0743048,37.6010234],[23.0741087,37.6013103],[23.0737014,37.6013296],[23.0732153,37.6012447],[23.0730819,37.6011806],[23.0730043,37.6009862],[23.0724778,37.6005134],[23.0718013,37.6002557],[23.0714312,37.5999553],[23.0705635,37.599588],[23.0699578,37.5991055],[23.0691127,37.5987383],[23.0684573,37.598607],[23.0680288,37.5984503],[23.0674007,37.5979497],[23.0674847,37.5979413]]},{"id":17900,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u039a\u03cd\u03ba\u03bb\u03bf\u03c2 \u03c3\u03c4\u03bf \u039b\u03c5\u03b3\u03bf\u03c5\u03c1\u03b9\u03cc","description_GR":"","path":"PELOPONNESE\/Pelop_Epidavros_ELLET_2","activity_type":32,"assistance":2,"difficulty":1,"scenic_value":4,"length":5986,"name_EN":"Epidavros: Ligourio loop","description_EN":"","ascent_time":110,"descent_time":110,"marker":"No_marks","level":10,"ascent":158,"descent":158,"maxelev":388,"minelev":321,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.02635 37.61029,23.04461 37.61726)","views":19,"millestones":"0,23.0445915,37.6119990#1,23.0422759,37.6173128#2,23.0345024,37.6144453#3,23.0267211,37.6125889#4,23.0364274,37.6139104#5,23.0392158,37.6114800#6.0,23.0445915,37.6119990","x":23.0341093,"y":37.6127541,"coor":[[23.0445915,37.611999],[23.0444228,37.6121779],[23.0439892,37.6124177],[23.0437863,37.6125039],[23.0424527,37.613124],[23.0421394,37.613428],[23.0419143,37.6135884],[23.0409243,37.6138372],[23.0401798,37.6141827],[23.0407582,37.6149422],[23.0408372,37.6150442],[23.0411064,37.6152627],[23.0417477,37.6156105],[23.0421149,37.615974],[23.0426205,37.6163025],[23.0431942,37.6168773],[23.0433341,37.6170159],[23.0427544,37.6171554],[23.0425022,37.6173877],[23.0416785,37.6171196],[23.041155,37.6168495],[23.0405753,37.6165518],[23.0403062,37.6163333],[23.039867,37.6161224],[23.0395098,37.6157049],[23.0393386,37.6156359],[23.03841,37.6156013],[23.0382074,37.6154915],[23.038108,37.6152924],[23.0378951,37.6151915],[23.0375249,37.6151795],[23.037524,37.6152516],[23.0360985,37.6150034],[23.0356089,37.6151887],[23.0354194,37.614946],[23.0353632,37.6147991],[23.0354194,37.614946],[23.0352988,37.6146296],[23.0354457,37.6137835],[23.0339248,37.6148684],[23.033555,37.6152304],[23.0328461,37.6157294],[23.0326586,37.6159644],[23.032063,37.6167054],[23.0294079,37.6152415],[23.0292734,37.6151322],[23.0291636,37.6148609],[23.0288595,37.6145565],[23.028015,37.6137158],[23.0279263,37.6135709],[23.0269388,37.6128327],[23.0264196,37.612247],[23.02656,37.6120747],[23.0277084,37.612465],[23.0286348,37.6126709],[23.0290194,37.6127168],[23.0297547,37.6128063],[23.0308525,37.612822],[23.0317027,37.612784],[23.0325102,37.612714],[23.0332708,37.6127653],[23.0338719,37.6127161],[23.0341093,37.6127541],[23.0345035,37.6129376],[23.0345609,37.6129921],[23.0350182,37.6134375],[23.0354678,37.6137206],[23.0361562,37.6138502],[23.0364499,37.6139157],[23.0370143,37.6140825],[23.0377219,37.6143136],[23.0376817,37.6143606],[23.0379425,37.6145069],[23.0380886,37.6145983],[23.0385723,37.6148726],[23.0387822,37.6146895],[23.0391551,37.6147647],[23.0392526,37.6145582],[23.0390773,37.6144553],[23.0390573,37.6142479],[23.038835,37.6142663],[23.0383814,37.6142198],[23.0382768,37.6141446],[23.0381067,37.6141613],[23.0380347,37.6141089],[23.037825,37.6142266],[23.0376788,37.6141443],[23.0373798,37.6137745],[23.0376522,37.6135672],[23.0378148,37.6135933],[23.0385696,37.6134845],[23.0383359,37.6131582],[23.038228,37.6130108],[23.0382037,37.6128709],[23.0386253,37.6127955],[23.0388434,37.6127387],[23.0388996,37.6126085],[23.0392564,37.6126136],[23.039586,37.6125352],[23.0395311,37.6122914],[23.0394325,37.6118579],[23.0392716,37.6118747],[23.0391221,37.6108099],[23.0395077,37.610777],[23.0397767,37.610644],[23.0397972,37.6105405],[23.0398507,37.6102615],[23.0403028,37.6102584],[23.0411062,37.6104227],[23.0407515,37.6112152],[23.0406695,37.6117846],[23.0407422,37.6122156],[23.0408097,37.6123401],[23.0407686,37.6125335],[23.0407167,37.6126052],[23.0407181,37.6130469],[23.0411889,37.6130011],[23.041403,37.6129803],[23.0419132,37.6128741],[23.0423257,37.6127873],[23.0432021,37.6124789],[23.0433614,37.6124261],[23.0439892,37.6124177],[23.0444228,37.6121779],[23.0445915,37.611999]]},{"id":17903,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u03a0\u03b5\u03c1\u03af\u03c0\u03b1\u03c4\u03bf\u03c2 \u03c3\u03c4\u03b7\u03bd \u03a0\u03b1\u03bb\u03b1\u03b9\u03ac \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf","description_GR":"","path":"PELOPONNESE\/Pelop_Epidavros_ELLET_7","activity_type":31,"assistance":2,"difficulty":1,"scenic_value":4,"length":2456,"name_EN":"Epidavros: A walk acrosss Palea Epidavros","description_EN":"","ascent_time":45,"descent_time":45,"marker":"No_marks","level":10,"ascent":22,"descent":22,"maxelev":16,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.15258 37.63182,23.16115 37.63802)","views":22,"millestones":"0,23.1569060,37.6366429#1,23.1539822,37.6334357#2,23.1607196,37.6359355#2.5,23.1569060,37.6366429","x":23.1534774,"y":37.6340991,"coor":[[23.156906,37.6366429],[23.1568442,37.6368159],[23.1562534,37.636974],[23.1556593,37.6373933],[23.1556014,37.6375011],[23.1556672,37.6376998],[23.1555236,37.637647],[23.1554161,37.6375718],[23.1546778,37.6378392],[23.153468,37.637986],[23.15326,37.6380228],[23.1525913,37.6373015],[23.1527938,37.6354462],[23.1528202,37.6347682],[23.1534175,37.6347544],[23.1534108,37.6347183],[23.1533818,37.6345311],[23.1534774,37.6340991],[23.1539254,37.6335706],[23.1541496,37.6330314],[23.1551537,37.6324347],[23.1568497,37.6317889],[23.1584677,37.6324291],[23.1594923,37.6330223],[23.1597491,37.6333666],[23.1596625,37.6342312],[23.159762,37.6344573],[23.1600985,37.6347661],[23.1604927,37.6349852],[23.1611134,37.635224],[23.1607277,37.6356922],[23.160718,37.6360842],[23.1596201,37.6359502],[23.1580978,37.6352634],[23.156906,37.6366429]]},{"id":18507,"author":"AnaDigit","name_GR":"\u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf: \u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03c4\u03bf\u03c5 \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5","description_GR":"\u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf \u03c7\u03c9\u03c1\u03b9\u03cc-\u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5","path":"PELOPONNESE\/Pelop_Arachneo_Arachneo_summit","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":6772,"name_EN":"Arachneo: Ascent to Arachneo summit","description_EN":"Arachneo village-Arachneo summit","ascent_time":190,"descent_time":160,"marker":"No_marks","level":10,"ascent":683,"descent":48,"maxelev":1188,"minelev":549,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(22.94451 37.64091,22.96931 37.67492)","views":29,"millestones":"0,22.9587246,37.6750442#1,22.9527539,37.6680154#2,22.9474701,37.6605877#3,22.9454213,37.6522198#4,22.9491284,37.6459665#5,22.9541192,37.6460623#6,22.9627793,37.6425166#6.8,22.9693082,37.6409125","x":22.9502444,"y":37.6462852,"coor":[[22.9587246,37.6750442],[22.9585985,37.674331],[22.9586836,37.6739172],[22.958542,37.6735014],[22.9582964,37.6732288],[22.9582346,37.6727776],[22.958039,37.672172],[22.9570446,37.6711695],[22.9564534,37.6704703],[22.956139,37.6702512],[22.9555641,37.6700118],[22.9551254,37.6697555],[22.9544311,37.6691365],[22.9542758,37.6688918],[22.953535,37.6683534],[22.9532524,37.6682968],[22.9530619,37.6681329],[22.9522837,37.6678376],[22.9519722,37.6674112],[22.9517984,37.6670266],[22.9509062,37.6661692],[22.9504642,37.6657507],[22.9502786,37.6652443],[22.9500231,37.6648725],[22.9493615,37.6643529],[22.9489444,37.6641779],[22.9487318,37.6639777],[22.9473242,37.6616939],[22.9473192,37.6612432],[22.9475756,37.6607498],[22.9473205,37.6603509],[22.9473354,37.6600987],[22.9471106,37.6591593],[22.9471413,37.6585918],[22.9470871,37.6584111],[22.9473326,37.6578905],[22.9475756,37.6575412],[22.9477202,37.6569296],[22.9475479,37.6562881],[22.947512,37.6556208],[22.9473376,37.6551235],[22.9471705,37.6549148],[22.9470656,37.654319],[22.9467026,37.6535316],[22.9463468,37.6530417],[22.946,37.6527141],[22.9456403,37.6524946],[22.9453507,37.6521315],[22.9450475,37.6514754],[22.9452233,37.6500191],[22.9454878,37.6497511],[22.9453603,37.649146],[22.9450534,37.6484042],[22.9448862,37.6482044],[22.9457495,37.648077],[22.9467395,37.6478064],[22.9469917,37.6476104],[22.9470851,37.6474129],[22.947075,37.6472506],[22.9471131,37.6469625],[22.9472008,37.6468461],[22.9477046,37.6464901],[22.9480501,37.6461056],[22.9482552,37.6460263],[22.9484522,37.6457217],[22.9485308,37.6457764],[22.948848,37.6457883],[22.9489822,37.6459157],[22.949253,37.6460082],[22.949849,37.6455358],[22.9500004,37.6451023],[22.9501095,37.6454007],[22.9500825,37.6457069],[22.9502261,37.6459786],[22.9502444,37.6462852],[22.9503924,37.6462414],[22.9505023,37.6464857],[22.9506504,37.646433],[22.9507851,37.6465243],[22.950747,37.6468214],[22.9508359,37.6469484],[22.9507996,37.6471103],[22.950909,37.6473907],[22.9515746,37.6476129],[22.951847,37.6475883],[22.9519623,37.6474541],[22.9523426,37.647818],[22.952523,37.6478827],[22.9530827,37.6475812],[22.953241,37.6476097],[22.9533555,37.6475296],[22.9536277,37.6475139],[22.9537422,37.6474338],[22.9539452,37.6475078],[22.9541501,37.6474465],[22.954153,37.6472392],[22.9538743,37.6469033],[22.9540019,37.6466971],[22.9536084,37.6464683],[22.9535762,37.6463418],[22.9538143,37.6463349],[22.9538961,37.6461554],[22.9540439,37.6461296],[22.9541931,37.6459958],[22.9542169,37.6459149],[22.9541267,37.645878],[22.9541391,37.645806],[22.9544615,37.6454483],[22.9545632,37.6454673],[22.9548263,37.6452984],[22.954882,37.645371],[22.955289,37.6454467],[22.9555391,37.6453948],[22.9556309,37.6453145],[22.9557841,37.6448922],[22.9560148,37.6446059],[22.9561737,37.6445892],[22.9563244,37.6443562],[22.9566441,37.6441878],[22.9569623,37.6441275],[22.9571008,37.6439485],[22.9578087,37.6435852],[22.9583068,37.6436257],[22.9598169,37.6434407],[22.9613075,37.6430302],[22.9614348,37.6428421],[22.961707,37.6428265],[22.9619553,37.6429008],[22.9623407,37.6429041],[22.9628403,37.6428364],[22.962756,37.6425878],[22.9628388,37.6423362],[22.9634004,37.6418905],[22.9636515,37.6417665],[22.964015,37.6417066],[22.9642524,37.6417538],[22.9644538,37.6418659],[22.9645681,37.6417948],[22.9647251,37.6419134],[22.9651461,37.6417999],[22.9652747,37.6415126],[22.9655613,37.6412808],[22.9666621,37.6411823],[22.967061,37.6410235],[22.96733,37.6412422],[22.9679999,37.6412616],[22.9683982,37.6411479],[22.9691352,37.6411273],[22.9693082,37.6409125]]},{"id":18621,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u0391\u03c1\u03c7\u03b1\u03af\u03bf\u03c2 \u03b4\u03c1\u03cc\u03bc\u03bf\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5","description_GR":"\u0391\u03c0\u03cc \u03c4\u03bf \u039b\u03b9\u03b3\u03bf\u03c5\u03c1\u03b9\u03cc \u03c3\u03c4\u03b7\u03bd \u039d\u03ad\u03b1 \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf","path":"PELOPONNESE\/Pelop_Epidavros_ancient_pathway","activity_type":31,"assistance":1,"difficulty":1,"scenic_value":4,"length":5360,"name_EN":"Epidavros: Ancient pathway of Epidavros","description_EN":"From Ligourio to Nea Epidavros","ascent_time":90,"descent_time":100,"marker":"Red_dots","level":10,"ascent":55,"descent":248,"maxelev":355,"minelev":125,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.04434 37.61099,23.08961 37.63179)","views":39,"millestones":"0,23.0445915,37.6119990#1,23.0551695,37.6116519#2,23.0646380,37.6130901#3,23.0712372,37.6199028#4,23.0791037,37.6257770#5,23.0865210,37.6301954#5.4,23.0893553,37.6321435","x":23.069776,"y":37.6191583,"coor":[[23.0445915,37.611999],[23.0452449,37.6120178],[23.0458218,37.6120044],[23.0461069,37.6118625],[23.0470106,37.6111848],[23.0478681,37.610856],[23.049668,37.6108885],[23.0501399,37.6108405],[23.0518129,37.6106962],[23.0529782,37.6108228],[23.053791,37.6110546],[23.0558195,37.6119181],[23.056598,37.6121767],[23.0582581,37.6126091],[23.0583437,37.6126368],[23.0584115,37.6126553],[23.0587045,37.6127816],[23.0593777,37.6131362],[23.05953,37.6129054],[23.0596212,37.612861],[23.0599362,37.6130438],[23.0601285,37.6130634],[23.0605612,37.6128956],[23.0611059,37.6128278],[23.0616075,37.6125794],[23.0622748,37.6126748],[23.0621361,37.6128901],[23.0621695,37.6129444],[23.0628144,37.6130126],[23.0629195,37.6127611],[23.0631857,37.6125965],[23.0633783,37.612598],[23.0636132,37.6128432],[23.0639395,37.6130261],[23.0648675,37.6131055],[23.0657574,37.6135272],[23.0661703,37.6140262],[23.0661408,37.6142107],[23.066327,37.6147169],[23.0665016,37.6149729],[23.0666439,37.6153706],[23.0668312,37.6154307],[23.0669977,37.6157024],[23.0682627,37.6169382],[23.0685926,37.6177429],[23.0692411,37.6184331],[23.069776,37.6191583],[23.0702144,37.6194412],[23.0713751,37.6199551],[23.0718136,37.6202289],[23.0725597,37.6212803],[23.0738519,37.6221647],[23.0741192,37.6225364],[23.074018,37.6225941],[23.0740266,37.6228105],[23.0742816,37.6232632],[23.0753823,37.624056],[23.0756627,37.6241731],[23.0767437,37.6247313],[23.0770357,37.6249409],[23.0776003,37.6251076],[23.0780278,37.6253543],[23.0789536,37.6256319],[23.079816,37.6264588],[23.080255,37.6266966],[23.0805376,37.6267529],[23.0806046,37.6268345],[23.0803438,37.6268505],[23.0801643,37.6269032],[23.0798026,37.6268283],[23.0799371,37.6269465],[23.0799577,37.6271134],[23.0800014,37.6272489],[23.0810984,37.6274287],[23.0816514,37.6276133],[23.0827868,37.6278136],[23.0831469,37.6280237],[23.0835499,37.628135],[23.0842026,37.6285096],[23.0842568,37.6287083],[23.084627,37.6290177],[23.0847706,37.6293252],[23.0851745,37.6296528],[23.0859184,37.6299831],[23.0863702,37.6301128],[23.0868609,37.6303802],[23.0881451,37.631012],[23.0883246,37.6311666],[23.0886532,37.6312571],[23.0888985,37.6315],[23.0890083,37.6317893],[23.0893553,37.6321435]]},{"id":18622,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7\u03c2 \u0397\u03bb\u03af\u03b1\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5, \u0392\u0394 \u03c1\u03ac\u03c7\u03b7","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7\u03c2 \u0397\u03bb\u03af\u03b1\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5","path":"PELOPONNESE\/Pelop_Epidavros_ProfitisIlias_Epidavros","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3948,"name_EN":"Epidavros: Profitis Ilias of Epidavros, NW side","description_EN":"Ascent to Profitis Ilias peak near Epidavros","ascent_time":110,"descent_time":80,"marker":"No_marks","level":10,"ascent":559,"descent":6,"maxelev":851,"minelev":295,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.07392 37.61251,23.09333 37.62075)","views":25,"millestones":"0,23.0740283,37.6123666#1,23.0808575,37.6152400#2,23.0809569,37.6208030#3,23.0854130,37.6164504#3.9,23.0933259,37.6129152","x":23.0814599,"y":37.6198064,"coor":[[23.0740283,37.6123666],[23.0743322,37.6125312],[23.0751794,37.6127361],[23.0762315,37.6128615],[23.0771445,37.6132472],[23.077901,37.6134604],[23.0783541,37.613473],[23.0790815,37.6132894],[23.0803981,37.6131014],[23.0811542,37.6133416],[23.0814606,37.6133079],[23.0816774,37.6131834],[23.0818244,37.6132026],[23.0818782,37.6134374],[23.0820686,37.6136191],[23.0820899,37.6137274],[23.0817916,37.6140316],[23.0815066,37.6141736],[23.0812293,37.614604],[23.0812266,37.6148293],[23.0802499,37.6159304],[23.0796924,37.6170346],[23.0796413,37.6175029],[23.0795485,37.6176824],[23.0793309,37.61787],[23.0791602,37.6179318],[23.0782209,37.6178343],[23.0777204,37.6179926],[23.0775033,37.6181352],[23.077365,37.6183234],[23.0773359,37.6188459],[23.0775896,37.6194067],[23.0781601,37.620006],[23.0791394,37.6205364],[23.0806432,37.6208005],[23.0811644,37.6208046],[23.0815169,37.6206992],[23.0824121,37.6197778],[23.0826404,37.6196443],[23.0829586,37.6195657],[23.0830498,37.6194357],[23.0826885,37.6194194],[23.0822915,37.6194524],[23.0818365,37.619593],[23.0814599,37.6198064],[23.0813678,37.6197539],[23.0812542,37.61978],[23.0811871,37.6197074],[23.0813599,37.6194744],[23.081308,37.6190864],[23.0816614,37.6189179],[23.0821106,37.6183266],[23.082213,37.6182913],[23.0821681,37.6182549],[23.0822607,37.6180934],[23.0827634,37.6177548],[23.0831532,37.6173883],[23.0838594,37.6170873],[23.084301,37.6171088],[23.0847904,37.6169323],[23.0853967,37.6164593],[23.0857504,37.6162638],[23.0857855,37.6161739],[23.0862083,37.6158798],[23.0869718,37.6155251],[23.0871216,37.615319],[23.0872579,37.615293],[23.0872814,37.6152211],[23.0874516,37.6152044],[23.0883741,37.6148149],[23.0890553,37.614703],[23.0893067,37.6145337],[23.0894196,37.6145616],[23.0895127,37.614364],[23.0898067,37.6144114],[23.0898304,37.6143214],[23.0900825,37.614089],[23.0903762,37.6141634],[23.0904128,37.6139474],[23.0909604,37.6136451],[23.0911521,37.6137187],[23.0915745,37.6134606],[23.0916873,37.6134975],[23.0917898,37.6134532],[23.0920299,37.6132748],[23.0925188,37.6131344],[23.092858,37.6131911],[23.0929389,37.6130655],[23.0933259,37.6129152]]},{"id":18623,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7\u03c2 \u0397\u03bb\u03af\u03b1\u03c2 \u0391\u03b4\u03b1\u03bc\u03af\u03bf\u03c5","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b7\u03bd \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf \u03c3\u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7\u03c2 \u0397\u03bb\u03af\u03b1\u03c2 \u0391\u03b4\u03b1\u03bc\u03af\u03bf\u03c5","path":"PELOPONNESE\/Pelop_Epidavros_ProfitisIlias_Adami","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6379,"name_EN":"Epidavros: Profitis Ilias of Adami","description_EN":"From Epidavros to Profitis Ilias of Adami","ascent_time":160,"descent_time":140,"marker":"No_marks","level":10,"ascent":431,"descent":76,"maxelev":686,"minelev":327,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.07534 37.57804,23.09604 37.60113)","views":14,"millestones":"0,23.0753903,37.5967529#1,23.0826952,37.5944780#2,23.0900069,37.6002279#3,23.0945440,37.5959956#4,23.0954670,37.5892981#5,23.0915332,37.5831164#6.4,23.0788011,37.5779060","x":23.0955476,"y":37.5937139,"coor":[[23.0753903,37.5967529],[23.0755208,37.5964836],[23.076391,37.5961839],[23.0764255,37.595569],[23.076449,37.595416],[23.0762355,37.5952791],[23.0763747,37.5950098],[23.0759899,37.5947319],[23.0760378,37.5942321],[23.0775879,37.5942036],[23.0783654,37.5940745],[23.0789942,37.5940614],[23.0794933,37.5938084],[23.0799028,37.5936674],[23.0803093,37.5937697],[23.0814208,37.5936522],[23.0817824,37.5937271],[23.0821491,37.5939305],[23.0830543,37.5948411],[23.0834111,37.5953035],[23.0839355,37.5957876],[23.0845383,37.5965133],[23.0855596,37.5982157],[23.0863227,37.5987984],[23.0868084,37.599005],[23.0876201,37.5993267],[23.088246,37.5990882],[23.0886888,37.5990105],[23.0888587,37.5990118],[23.0891519,37.5991222],[23.0895883,37.5995582],[23.0905861,37.6011748],[23.0907877,37.6012484],[23.0918565,37.6009232],[23.0925355,37.6009825],[23.0931425,37.6004374],[23.092992,37.5997692],[23.0931857,37.5996806],[23.0933007,37.5995373],[23.0939148,37.5993437],[23.0943026,37.5991213],[23.0944775,37.5987081],[23.0945034,37.5984469],[23.094516,37.5981631],[23.0946551,37.5980762],[23.0949611,37.5980606],[23.09494,37.5979342],[23.0950584,37.5977143],[23.0949356,37.5975692],[23.0947435,37.5975316],[23.0946327,37.5973235],[23.0946354,37.5971928],[23.0946021,37.596841],[23.0944148,37.596407],[23.0944524,37.5961098],[23.0946249,37.5958948],[23.0943579,37.5954962],[23.0945083,37.595236],[23.0943791,37.5946762],[23.094235,37.5944227],[23.0943911,37.5941535],[23.0947136,37.594005],[23.0954643,37.5940468],[23.0955914,37.5938405],[23.0955476,37.5937139],[23.0953901,37.5936226],[23.0948693,37.5936006],[23.0945326,37.5933456],[23.0942391,37.5932623],[23.0941847,37.5930816],[23.0938754,37.5926894],[23.0938545,37.592545],[23.0939483,37.5922844],[23.0942851,37.5916019],[23.0947302,37.5913259],[23.0950942,37.5911935],[23.0953352,37.590934],[23.0953835,37.590691],[23.0952739,37.5903837],[23.0953345,37.5900597],[23.0954498,37.5898893],[23.0954564,37.5893486],[23.0955523,37.5889077],[23.0956463,37.588629],[23.0959109,37.5882885],[23.0958794,37.588081],[23.0957455,37.5879177],[23.095805,37.5876838],[23.0955373,37.5873393],[23.0951543,37.5871696],[23.0950003,37.5867899],[23.0951514,37.5864666],[23.0956075,37.5860464],[23.0955982,37.5857872],[23.0949396,37.5860165],[23.0940126,37.5858742],[23.093629,37.5857451],[23.0932262,37.5853454],[23.0931356,37.5844073],[23.0929475,37.5840454],[23.0927238,37.5838093],[23.0917234,37.5831887],[23.0904607,37.5827103],[23.0894262,37.5821841],[23.0892382,37.5821038],[23.0889201,37.5822703],[23.088157,37.5816966],[23.0878975,37.5816134],[23.0876484,37.5816115],[23.0867123,37.5812888],[23.0861182,37.5807885],[23.0849651,37.5806173],[23.084549,37.5803798],[23.0840781,37.5799885],[23.0836943,37.5798864],[23.0833988,37.5799742],[23.0830365,37.5799624],[23.0826768,37.5797433],[23.0824505,37.5797235],[23.0822376,37.5795416],[23.0816406,37.5792756],[23.0811033,37.5787667],[23.0809485,37.578459],[23.0807004,37.578376],[23.0802179,37.5780117],[23.07956,37.5780967],[23.0791091,37.5779309],[23.0788011,37.577906]]},{"id":18628,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u039c\u03c5\u03ba\u03b7\u03bd\u03b1\u03ca\u03ba\u03cc\u03c2 \u03b4\u03c1\u03cc\u03bc\u03bf\u03c2","description_GR":"\u0388\u03bd\u03b1\u03c2 \u03b4\u03c1\u03cc\u03bc\u03bf\u03c2 \u03ba\u03b1\u03b9 \u03b4\u03cd\u03bf \u03b3\u03ad\u03c6\u03c5\u03c1\u03b5\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03ca\u03c3\u03c4\u03bf\u03c1\u03af\u03b1","path":"PELOPONNESE\/Pelop_Epidavros_Mycenean_road","activity_type":32,"assistance":2,"difficulty":1,"scenic_value":4,"length":2408,"name_EN":"Epidavros: Mycenean road","description_EN":"A road and 2 bridges from prehistory","ascent_time":45,"descent_time":45,"marker":"Red_dots","level":10,"ascent":77,"descent":77,"maxelev":239,"minelev":177,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(22.92595 37.58849,22.94053 37.5942)","views":17,"millestones":"0,22.9404667,37.5929284#1,22.9332099,37.5908657#2,22.9269318,37.5905141#2.4,22.9260359,37.5883590","x":22.932799,"y":37.5908224,"coor":[[22.9404667,37.5929284],[22.9400148,37.5929942],[22.9395698,37.5932245],[22.9390188,37.5937333],[22.9387617,37.5942898],[22.9385009,37.5943145],[22.9382638,37.5942583],[22.9381192,37.5939235],[22.9379516,37.5937598],[22.9375558,37.5937134],[22.9375155,37.593508],[22.9373356,37.5934162],[22.9367371,37.5932847],[22.9362041,37.5933339],[22.9357068,37.5932574],[22.935445,37.5933451],[22.9351641,37.5932592],[22.9347709,37.5930304],[22.9344664,37.5929375],[22.9339626,37.5929239],[22.9336617,37.5925787],[22.9337092,37.5924259],[22.9334053,37.592288],[22.9333564,37.5922424],[22.9334147,37.5921258],[22.9333828,37.5919813],[22.9335218,37.5917663],[22.9333896,37.5915037],[22.9334405,37.5911076],[22.9332937,37.5910792],[22.9331734,37.5907807],[22.932799,37.5908224],[22.932769,37.5905427],[22.9326473,37.5903433],[22.9324109,37.590242],[22.9320893,37.5897614],[22.9315261,37.58954],[22.930325,37.5895742],[22.9305879,37.5894053],[22.9309341,37.5889578],[22.9309936,37.58876],[22.931155,37.5885632],[22.9311529,37.5884618],[22.9296409,37.5888537],[22.928825,37.5888823],[22.9283398,37.5887518],[22.9282263,37.5887688],[22.9281114,37.5888849],[22.9280964,37.5891371],[22.927623,37.5897637],[22.9269723,37.5901183],[22.9269193,37.5906586],[22.9268256,37.5908741],[22.9265648,37.5908898],[22.9265705,37.5904932],[22.9263022,37.5902474],[22.926125,37.5899664],[22.9262754,37.5897515],[22.9263071,37.5894408],[22.9266167,37.5891732],[22.9265524,37.5889203],[22.92659,37.5886683],[22.9260359,37.588359]]},{"id":18629,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u0391\u03ba\u03c1\u03cc\u03c0\u03bf\u03bb\u03b7 \u039a\u03b1\u03b6\u03ac\u03c1\u03bc\u03b1\u03c2","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03b5 \u03bc\u03b9\u03b1 \u03b5\u03bd\u03c4\u03c5\u03c0\u03c9\u03c3\u03b9\u03b1\u03ba\u03ae \u03b1\u03ba\u03c1\u03cc\u03c0\u03bf\u03bb\u03b7","path":"PELOPONNESE\/Pelop_Epidavros_Kazarma_acropolis","activity_type":32,"assistance":2,"difficulty":1,"scenic_value":4,"length":2942,"name_EN":"Epidavros: Kazarma acropolis","description_EN":"Ascent to an impressive acropolis","ascent_time":55,"descent_time":55,"marker":"Red_dots","level":10,"ascent":88,"descent":88,"maxelev":287,"minelev":200,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(22.93812 37.59297,22.94488 37.60017)","views":5,"millestones":"0,22.9404667,37.5929284#1,22.9424327,37.5971943#2,22.9411257,37.5994146#2.9,22.9404677,37.5929284","x":22.9431939,"y":37.5967924,"coor":[[22.9404667,37.5929284],[22.9403172,37.5946846],[22.9402583,37.5953939],[22.940188,37.5955555],[22.9403343,37.5956199],[22.94031,37.5957368],[22.9406274,37.5957216],[22.9407833,37.5959123],[22.9412267,37.5957991],[22.9415347,37.5958222],[22.9419891,37.5957271],[22.9421582,37.5957827],[22.9421118,37.5958634],[22.9422019,37.5959003],[22.9425639,37.5959305],[22.9431991,37.5958731],[22.9433632,37.5958836],[22.9434322,37.5959563],[22.9435422,37.5961917],[22.9438322,37.5965097],[22.9438741,37.5967534],[22.9437799,37.597005],[22.9437,37.5970493],[22.9434307,37.5968666],[22.9431939,37.5967924],[22.9429584,37.5966934],[22.9427649,37.5967638],[22.9425955,37.5967262],[22.9424386,37.5966076],[22.9422005,37.5966235],[22.9422067,37.5969841],[22.9424103,37.597004],[22.9424407,37.5972566],[22.9424103,37.597004],[22.9422067,37.5969841],[22.9422005,37.5966235],[22.9424386,37.5966076],[22.9425955,37.5967262],[22.9427649,37.5967638],[22.9429584,37.5966934],[22.9431939,37.5967924],[22.9434307,37.5968666],[22.9437,37.5970493],[22.9436722,37.5972631],[22.9434174,37.5976574],[22.9436433,37.5977045],[22.9437847,37.5980145],[22.9436946,37.5987798],[22.9438575,37.599277],[22.9443509,37.5996329],[22.9447729,37.6002315],[22.9443687,37.5999755],[22.9441432,37.5999014],[22.9426723,37.5997801],[22.942023,37.5998081],[22.9416055,37.5996962],[22.9412789,37.599558],[22.9410217,37.5993214],[22.940889,37.5990949],[22.940801,37.5989071],[22.9408724,37.5986644],[22.9407168,37.5984557],[22.9404246,37.5982908],[22.9402887,37.5982896],[22.9399605,37.5980207],[22.939958,37.5979734],[22.9397577,37.5973948],[22.9397106,37.5971938],[22.939608,37.5969157],[22.9394655,37.596581],[22.9389179,37.5960533],[22.9387786,37.5954932],[22.9384332,37.5949403],[22.9381999,37.5946228],[22.9382649,37.5942583],[22.9385019,37.5943145],[22.9387628,37.5942898],[22.9390199,37.5937333],[22.9395708,37.5932245],[22.9400158,37.5929942],[22.9404677,37.5929284]]},{"id":18630,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u039a\u03b1\u03c3\u03c4\u03c1\u03ac\u03ba\u03b9 \u03a6\u03c9\u03bd\u03af\u03c3\u03ba\u03bf\u03c5","description_GR":"\u039c\u03b9\u03b1 \u03ba\u03c5\u03ba\u03bb\u03b9\u03ba\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03c3\u03c4\u03bf \u03bc\u03c5\u03ba\u03b7\u03bd\u03b1\u03ca\u03ba\u03cc \u03c4\u03bf\u03c0\u03af\u03bf","path":"PELOPONNESE\/Pelop_Epidavros_Kastraki_Foniskou","activity_type":32,"assistance":2,"difficulty":1,"scenic_value":4,"length":4188,"name_EN":"Epidavros: Kastraki Foniskou","description_EN":"A loop trail along the mycenean landscape","ascent_time":75,"descent_time":70,"marker":"Red_dots","level":10,"ascent":155,"descent":155,"maxelev":381,"minelev":241,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(22.95753 37.59713,22.96966 37.60696)","views":4,"millestones":"0,22.9582460,37.5970254#1,22.9628228,37.6032781#2,22.9686174,37.6050791#3,22.9599930,37.6001207#4.2,22.9582471,37.5970254","x":22.9672328,"y":37.6041932,"coor":[[22.958246,37.5970254],[22.9581288,37.5973128],[22.958077,37.597772],[22.9581631,37.5980972],[22.9583305,37.598279],[22.9585572,37.5990831],[22.9585324,37.5992361],[22.9576583,37.5996971],[22.9576301,37.6000934],[22.958024,37.6004349],[22.9581157,37.6006092],[22.9584477,37.6009929],[22.9587795,37.6015727],[22.9592112,37.6019911],[22.9601687,37.6023781],[22.9615699,37.6026338],[22.9621774,37.6029366],[22.9629713,37.6033626],[22.9636847,37.6041981],[22.9639659,37.6043448],[22.9641724,37.6043849],[22.9648178,37.6044086],[22.9655748,37.6045594],[22.9664395,37.6051078],[22.9670265,37.6052572],[22.9672724,37.6055027],[22.9677014,37.6064258],[22.9682746,37.6067643],[22.9690989,37.6070644],[22.9694613,37.6060693],[22.969543,37.6058988],[22.9692533,37.6055448],[22.9684681,37.6049791],[22.9682,37.6047064],[22.9677154,37.6045219],[22.9672328,37.6041932],[22.9672456,37.6040851],[22.9674511,37.6039698],[22.9674294,37.6038975],[22.9668673,37.6035861],[22.9664263,37.6035282],[22.966167,37.6034358],[22.9650594,37.6024346],[22.964243,37.6020759],[22.9616123,37.6006287],[22.9599611,37.6001005],[22.9607583,37.6006122],[22.96078,37.6006845],[22.9600461,37.6005068],[22.9595701,37.6005206],[22.9600461,37.6005068],[22.96078,37.6006845],[22.9607583,37.6006122],[22.9599611,37.6001005],[22.9590646,37.5999889],[22.9585764,37.6000657],[22.9583576,37.6003252],[22.9585075,37.6009484],[22.9584492,37.6009907],[22.9581168,37.600607],[22.958025,37.6004349],[22.9576312,37.6000934],[22.9576594,37.5996971],[22.9585335,37.5992361],[22.9585582,37.5990831],[22.9583316,37.598279],[22.9581642,37.5980972],[22.9580781,37.597772],[22.9581298,37.5973128],[22.9582471,37.5970254]]},{"id":18631,"author":"AnaDigit","name_GR":"\u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf: \u0394\u03b9\u03ac\u03c3\u03c7\u03b9\u03c3\u03b7 \u03b1\u03bd\u03b1\u03c4\u03bf\u03bb\u03b9\u03ba\u03ae\u03c2 \u03ba\u03bf\u03c1\u03c5\u03c6\u03bf\u03b3\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2 \u03c4\u03bf\u03c5 \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5","description_GR":"\u03a8\u03b7\u03bc\u03bf\u03c5\u03bb\u03ad\u0399\u03ba\u03b1-\u039a\u03b1\u03bb\u03bf\u03b2\u03bf\u03cd\u03bd\u03b9-\u0394\u03b9\u03ac\u03c3\u03b5\u03bb\u03bf \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5","path":"PELOPONNESE\/Pelop_Arachneo_WEcrossing_2","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":9453,"name_EN":"Arachneo: Mt Arachneo east ridge crossing","description_EN":"Psimouleika-Kalovouni-Arachneo Pass","ascent_time":240,"descent_time":220,"marker":"No_marks","level":10,"ascent":1020,"descent":559,"maxelev":1132,"minelev":228,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(22.99403 37.6338,23.06155 37.64751)","views":15,"millestones":"0,23.0578678,37.6337733#1,23.0610102,37.6419752#2,23.0569528,37.6471171#3,23.0474573,37.6460831#4,23.0378747,37.6425408#5,23.0298499,37.6408335#6,23.0234098,37.6416034#7,23.0124942,37.6414255#8,23.0034579,37.6396241#9,22.9979890,37.6351669#9.5,22.9942039,37.6342977","x":23.0298912,"y":37.6399886,"coor":[[23.0578678,37.6337733],[23.0578665,37.633958],[23.0585257,37.6347114],[23.0586659,37.6352713],[23.058895,37.6357305],[23.0594418,37.6364019],[23.0595613,37.6368174],[23.0602841,37.6379228],[23.0606153,37.6386194],[23.0609104,37.639487],[23.0613484,37.6398894],[23.0614522,37.6414652],[23.060624,37.642432],[23.0600946,37.6429506],[23.0596904,37.6435422],[23.0592765,37.6440076],[23.0586863,37.6447149],[23.0582754,37.644946],[23.0577903,37.6447619],[23.0572919,37.6447308],[23.0575127,37.6449219],[23.0579082,37.6450152],[23.0581776,37.6452246],[23.058763,37.6455448],[23.0593117,37.6460809],[23.0593667,37.6462075],[23.0592281,37.6464137],[23.0590795,37.6465117],[23.0585569,37.6466067],[23.0578845,37.6468897],[23.0570891,37.6470456],[23.0567011,37.6472498],[23.0564263,37.6474729],[23.0563865,37.6479232],[23.0561019,37.6480201],[23.0558639,37.6480182],[23.0538188,37.6474971],[23.0532854,37.6475469],[23.0521306,37.6474385],[23.0517672,37.6474896],[23.0512202,37.6477196],[23.0509248,37.6477713],[23.0498365,37.6477805],[23.0493584,37.6470466],[23.048661,37.6466264],[23.0471394,37.6459472],[23.0460532,37.6457942],[23.0457451,37.6459539],[23.0450852,37.6461469],[23.0447891,37.6460048],[23.0448015,37.6459237],[23.0447115,37.6458689],[23.0441448,37.6458643],[23.0432202,37.6454873],[23.0425644,37.6453558],[23.0412477,37.6446151],[23.0406829,37.6444663],[23.0403689,37.6442023],[23.0401655,37.6441556],[23.0398173,37.6439094],[23.0388528,37.6431084],[23.038492,37.6429613],[23.0376605,37.6423957],[23.0374349,37.6423127],[23.0372499,37.6425996],[23.0369013,37.6423805],[23.0369331,37.642552],[23.0368317,37.6425061],[23.0366189,37.6423061],[23.036202,37.6421134],[23.0357371,37.6421276],[23.0351722,37.6419878],[23.0345012,37.6421626],[23.0344112,37.6421077],[23.0344208,37.642243],[23.0343075,37.6422421],[23.0343745,37.6423147],[23.0341479,37.6423129],[23.0338436,37.6421752],[23.0334123,37.6422257],[23.0324681,37.6424884],[23.0322627,37.6425949],[23.0321472,37.6427562],[23.032031,37.6427913],[23.0318162,37.6427444],[23.0315351,37.6425709],[23.031234,37.6421899],[23.031031,37.6421161],[23.0309285,37.6421513],[23.0305226,37.6419857],[23.0302085,37.6417308],[23.0300643,37.6414953],[23.0301923,37.6412349],[23.0301276,37.640982],[23.0297765,37.6409611],[23.0298577,37.6408176],[23.0294758,37.6405531],[23.0294891,37.6403999],[23.0298912,37.6399886],[23.0299058,37.6397364],[23.0297707,37.6396632],[23.0295318,37.6397333],[23.0294749,37.6397509],[23.0293738,37.6396779],[23.0290675,37.6397025],[23.02908,37.6396124],[23.0289674,37.6395574],[23.0284991,37.639833],[23.0281468,37.6399022],[23.0277685,37.6402325],[23.027422,37.6407254],[23.0270819,37.6416059],[23.026783,37.6419279],[23.0268488,37.6420907],[23.0265865,37.6422147],[23.0260305,37.6422642],[23.0258225,37.6420552],[23.0257461,37.6418292],[23.0255427,37.6417825],[23.0254914,37.6413674],[23.0251408,37.6413105],[23.0245842,37.641405],[23.0237332,37.6414701],[23.0228215,37.6418501],[23.0224809,37.6418923],[23.0216654,37.6418495],[23.0209315,37.6416361],[23.0201166,37.6415392],[23.0193465,37.6414968],[23.0189942,37.641566],[23.0175469,37.6413015],[23.0154528,37.6410858],[23.0152592,37.6411563],[23.0151435,37.6413356],[23.0149278,37.6413608],[23.0143393,37.6412928],[23.0136684,37.6414585],[23.0131701,37.6414273],[23.0128181,37.6414784],[23.0121847,37.6413739],[23.0120457,37.6415981],[23.0115912,37.6416844],[23.0115224,37.6417469],[23.0112061,37.6416632],[23.0107411,37.6416863],[23.0107534,37.6416143],[23.0106633,37.6415685],[23.0104005,37.6417285],[23.0099918,37.6417792],[23.0097402,37.6419483],[23.0092536,37.6418901],[23.0091735,37.6419435],[23.0090605,37.6419246],[23.0088201,37.6421028],[23.0084026,37.6419551],[23.0076157,37.6414708],[23.0073436,37.6414775],[23.0071439,37.6411514],[23.0070193,37.6411413],[23.0066594,37.640931],[23.0066163,37.6407684],[23.0061483,37.6401606],[23.0061281,37.6399801],[23.005994,37.6398348],[23.0055556,37.6395607],[23.005058,37.6394754],[23.0043549,37.6395055],[23.0040246,37.6396289],[23.0036502,37.6396528],[23.0019761,37.6394043],[23.0017491,37.6392739],[23.0009564,37.6392222],[23.0000717,37.6392687],[22.9997279,37.638707],[22.9998224,37.6384194],[22.999763,37.637779],[22.999291,37.6374775],[22.9993172,37.6372164],[22.9999776,37.6369876],[23.0005327,37.6370014],[23.0006038,37.6367766],[23.0003809,37.6364953],[23.0001561,37.6363492],[22.999378,37.6360632],[22.9988396,37.6355359],[22.9982643,37.6353327],[22.9979945,37.6351682],[22.9974296,37.6350372],[22.9970934,37.634755],[22.9968323,37.6347888],[22.995974,37.6345652],[22.9957104,37.6347792],[22.9950949,37.6343819],[22.9948011,37.6343163],[22.9946193,37.6343508],[22.9943939,37.6342588],[22.9942039,37.6342977]]},{"id":18632,"author":"AnaDigit","name_GR":"\u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf: \u03a6\u03c1\u03ac\u03ba\u03b9\u03b1-\u0391\u03b3\u03b3\u03b5\u03bb\u03cc\u03ba\u03b1\u03c3\u03c4\u03c1\u03bf","description_GR":"\u0388\u03bd\u03b1\u03c2 \u03b5\u03bd\u03b4\u03b9\u03b1\u03c6\u03ad\u03c1\u03c9\u03bd \u03b4\u03b9\u03b1\u03c3\u03ba\u03b5\u03bb\u03b9\u03c3\u03bc\u03cc\u03c2","path":"PELOPONNESE\/Pelop_Arachneo_Arachneo_Agelokastro","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":6583,"name_EN":"Arachneo: Frakia -Agelokastro","description_EN":"A crossing along the landscape of old Argolis land","ascent_time":170,"descent_time":160,"marker":"No_marks","level":10,"ascent":323,"descent":291,"maxelev":959,"minelev":668,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(22.99134 37.69662,23.00814 37.74414)","views":20,"millestones":"0,22.9948067,37.6965062#1,22.9923023,37.7037697#2,22.9926897,37.7117634#3,22.9960605,37.7188754#4,22.9991452,37.7258582#5,22.9999662,37.7343950#6,23.0036542,37.7415849#6.6,23.0074349,37.7442781","x":22.9924368,"y":37.7157286,"coor":[[22.9948067,37.6965062],[22.9946333,37.6967481],[22.9942484,37.6966907],[22.994156,37.6968161],[22.9937478,37.6968036],[22.993428,37.6969721],[22.9930527,37.697041],[22.9927871,37.6973903],[22.9925995,37.6978393],[22.9923681,37.6981798],[22.992342,37.698432],[22.9921578,37.6986287],[22.9921882,37.6988993],[22.9920956,37.6990337],[22.9922145,37.6994674],[22.9924264,37.6997396],[22.9925236,37.7001009],[22.9926353,37.7002281],[22.992742,37.7007247],[22.9927039,37.7010218],[22.9925282,37.7014349],[22.9920247,37.701755],[22.9919086,37.7019523],[22.9919023,37.702421],[22.9921916,37.702838],[22.9921932,37.7035591],[22.9925247,37.7042108],[22.9924753,37.7045078],[22.9925749,37.704689],[22.9924217,37.7051113],[22.9927553,37.706448],[22.9926811,37.706898],[22.9923571,37.707373],[22.9925571,37.7076811],[22.9925884,37.7078797],[22.9926448,37.7079072],[22.9928845,37.7078011],[22.9930759,37.7079018],[22.9929248,37.7081709],[22.9928981,37.7084681],[22.9929972,37.7086943],[22.9928226,37.7090173],[22.9927489,37.7094313],[22.9927981,37.7099905],[22.9926542,37.7105661],[22.9926833,37.7109268],[22.9930085,37.711209],[22.9931408,37.7114896],[22.992546,37.711854],[22.9924294,37.7120873],[22.9924242,37.7124658],[22.9923302,37.7127084],[22.9923859,37.712781],[22.9923253,37.7130689],[22.9923682,37.7132495],[22.9920183,37.7139585],[22.9921367,37.7144282],[22.9919958,37.7147785],[22.9919778,37.7152741],[22.9921557,37.715537],[22.9924368,37.7157286],[22.9925586,37.715946],[22.9928505,37.7161738],[22.9929475,37.7165532],[22.9931464,37.7169514],[22.9939805,37.7173551],[22.994407,37.7177013],[22.9947413,37.7181457],[22.9948067,37.7183446],[22.9952982,37.7189166],[22.9956717,37.718753],[22.9961833,37.7189129],[22.9963525,37.7189864],[22.9962863,37.7196889],[22.9958573,37.7203702],[22.9964995,37.7208916],[22.9966329,37.7210911],[22.9966905,37.7218667],[22.9967043,37.722002],[22.9972838,37.722782],[22.9978444,37.7241297],[22.9980008,37.7251495],[22.9990867,37.7247441],[22.9991596,37.7260764],[22.9991882,37.7272416],[22.9991927,37.7284088],[22.999233,37.7295515],[22.9992444,37.7307346],[22.9992404,37.7318792],[22.9992541,37.733042],[22.9992573,37.734074],[22.9993373,37.7341873],[22.99978,37.7341775],[22.9999496,37.734224],[23.0000191,37.7349637],[23.0000344,37.7355136],[22.9999503,37.7358644],[23.0000507,37.7368386],[23.0000478,37.7370549],[22.9997851,37.7379427],[22.9999387,37.7385186],[23.0002371,37.738271],[23.0004708,37.7386155],[23.0006767,37.7393383],[23.0011246,37.7397927],[23.0014244,37.740282],[23.0025302,37.740769],[23.0035211,37.7413542],[23.0036548,37.7415356],[23.0036503,37.7418781],[23.0041326,37.7423057],[23.005,37.7427907],[23.0065078,37.7429206],[23.0067222,37.7432537],[23.0072874,37.7434207],[23.0074334,37.7435391],[23.0074337,37.7437824],[23.0075123,37.743925],[23.0072843,37.7441574],[23.0074349,37.7442781]]},{"id":18635,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u03a0\u03b1\u03bb\u03b1\u03b9\u03ac \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2-\u03bc\u03bf\u03bd\u03ae \u03a0\u03bf\u03bb\u03b5\u03bc\u03ac\u03c1\u03c7\u03b1\u03c2","description_GR":"\u039c\u03b9\u03b1 \u03b5\u03c5\u03c7\u03ac\u03c1\u03b9\u03c3\u03c4\u03b7 \u03ba\u03c5\u03ba\u03bb\u03b9\u03ba\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1","path":"PELOPONNESE\/Pelop_Epidavros_PaleaEpidavros_Polemarcha","activity_type":32,"assistance":2,"difficulty":1,"scenic_value":4,"length":7379,"name_EN":"Epidavros: Palea Epidavros-Polemarcha monastery","description_EN":"A nice, short escape","ascent_time":140,"descent_time":140,"marker":"Red_dots","level":10,"ascent":220,"descent":220,"maxelev":85,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.15667 37.63673,23.16982 37.65727)","views":30,"millestones":"0,23.1569060,37.6366429#1,23.1602538,37.6432899#2,23.1611456,37.6513928#3,23.1619600,37.6565585#4,23.1628157,37.6521667#5,23.1663300,37.6450655#6,23.1653497,37.6408690#7,23.1587121,37.6386295#7.4,23.1569071,37.6366429","x":23.1614489,"y":37.6530454,"coor":[[23.156906,37.6366429],[23.1575827,37.6369361],[23.1573499,37.6374843],[23.1575822,37.6379907],[23.1577961,37.6379314],[23.158194,37.6385088],[23.1583987,37.6386364],[23.1590304,37.6386229],[23.1591426,37.6387229],[23.1591525,37.6388491],[23.1589902,37.6391724],[23.1587568,37.6394502],[23.1587016,37.6396368],[23.1589246,37.6409723],[23.1589525,37.641288],[23.1591299,37.6416408],[23.1595885,37.6416778],[23.1597798,37.6418054],[23.1597102,37.6419491],[23.1598218,37.6421031],[23.1596697,37.6425257],[23.1597481,37.6426073],[23.1595655,37.6427142],[23.1594846,37.6428578],[23.1599587,37.6430325],[23.1601262,37.64325],[23.1603973,37.643333],[23.16063,37.6436231],[23.1607402,37.6439033],[23.1607135,37.6442636],[23.161018,37.644401],[23.1614704,37.6444853],[23.1615958,37.6452433],[23.1617294,37.6454606],[23.1616238,37.6457753],[23.1617122,37.6459832],[23.1616624,37.6463794],[23.161749,37.6467406],[23.1616542,37.6471094],[23.1620324,37.6477431],[23.1619852,37.647914],[23.1620833,37.6482572],[23.1619396,37.6489411],[23.1613701,37.6501899],[23.1611874,37.6503148],[23.1610713,37.6505573],[23.1610488,37.6510439],[23.1611586,37.6513601],[23.1610652,37.6516028],[23.1608941,37.6516917],[23.160807,37.6519705],[23.1608505,37.6521421],[23.1611365,37.6523131],[23.1610452,37.6523756],[23.161313,37.652747],[23.1611726,37.6531426],[23.1609557,37.6532762],[23.1600128,37.6534498],[23.1597489,37.6537273],[23.1600073,37.6549459],[23.1597558,37.6551334],[23.1596964,37.6551465],[23.1590967,37.6552729],[23.159004,37.6554435],[23.1591947,37.6556251],[23.1599292,37.6558377],[23.1605424,37.6557519],[23.1613733,37.6554514],[23.1617002,37.6556159],[23.1620159,37.6564654],[23.1618772,37.6566988],[23.1613416,37.6569473],[23.1613052,37.6571634],[23.1614113,37.6573038],[23.1614696,37.65716],[23.1616284,37.6571522],[23.1618451,37.6570365],[23.1622079,37.6570391],[23.1624364,37.6568785],[23.1631803,37.6567598],[23.1633972,37.6566262],[23.1638801,37.6560257],[23.1638616,37.655647],[23.1634267,37.6551933],[23.1632381,37.6547323],[23.1629307,37.6543448],[23.1626941,37.6542169],[23.1626498,37.6541265],[23.1625022,37.6541435],[23.1623447,37.6540342],[23.1622198,37.6540513],[23.162063,37.653879],[23.1618253,37.6538502],[23.1615118,37.6535055],[23.1613898,37.6532613],[23.1614489,37.6530454],[23.1616203,37.6529294],[23.1617257,37.6526237],[23.1618634,37.6524805],[23.1622162,37.6523568],[23.1626249,37.6523057],[23.1628306,37.6521539],[23.1630468,37.6520833],[23.1631153,37.6519419],[23.1631738,37.65178],[23.1631366,37.6516558],[23.1631728,37.6513677],[23.163186,37.6511965],[23.1633357,37.6509903],[23.1633601,37.6508372],[23.1630375,37.6502941],[23.1628906,37.650248],[23.1627448,37.6501118],[23.1628273,37.649833],[23.1629673,37.6494735],[23.1635264,37.6491529],[23.1636088,37.6488831],[23.1639306,37.6484888],[23.1639672,37.6482548],[23.1641407,37.6479495],[23.1645891,37.6473849],[23.1646363,37.647214],[23.1643119,37.6468331],[23.1647922,37.646449],[23.1648876,37.6464451],[23.1650222,37.6465723],[23.1651601,37.646589],[23.1654104,37.6465097],[23.1655694,37.6459768],[23.1658559,37.6456994],[23.1660763,37.6452503],[23.1664649,37.6449646],[23.166975,37.6439407],[23.1673399,37.643745],[23.1675718,37.6432779],[23.1678473,37.6429734],[23.1683281,37.6425442],[23.1686803,37.6424746],[23.1687266,37.6423848],[23.168886,37.6423228],[23.1691264,37.6421082],[23.1693762,37.6420739],[23.1697642,37.6418333],[23.1696453,37.6413187],[23.169715,37.6411659],[23.1696603,37.6409853],[23.1695595,37.6408764],[23.1691876,37.6407792],[23.1689125,37.6406736],[23.167261,37.6403735],[23.1668296,37.6404426],[23.1662376,37.6406727],[23.1658059,37.6407598],[23.1655549,37.6409113],[23.1652382,37.6408459],[23.1651234,37.6409803],[23.1649754,37.6410333],[23.1646126,37.6410488],[23.1644304,37.6411196],[23.1641593,37.6410366],[23.1637054,37.6410874],[23.1635021,37.6410229],[23.1630919,37.6412093],[23.1626847,37.6412289],[23.1624451,37.6413714],[23.1622715,37.6416947],[23.1618055,37.6418085],[23.161554,37.6417752],[23.1609232,37.6414282],[23.1601628,37.6415129],[23.1599355,37.6415654],[23.1598096,37.6416727],[23.1596352,37.6416849],[23.15959,37.6416779],[23.1591313,37.6416408],[23.158954,37.641288],[23.1589256,37.6409723],[23.1587027,37.6396368],[23.1587579,37.6394502],[23.1589913,37.6391724],[23.1591536,37.6388491],[23.1591437,37.6387229],[23.1590315,37.6386229],[23.1584001,37.6386364],[23.1581951,37.6385088],[23.1577971,37.6379291],[23.1575832,37.6379907],[23.1573509,37.6374843],[23.1575838,37.6369361],[23.1569071,37.6366429]]},{"id":18636,"author":"AnaDigit","name_GR":"\u0391\u03c1\u03b3\u03bf\u03bb\u03af\u03b4\u03b1: \u0391\u03c1\u03c7\u03b1\u03b9\u03bf\u03b3\u03bd\u03c9\u03c3\u03af\u03b1 \u03c3\u03c4\u03b7\u03bd \u03a0\u03b1\u03bb\u03b1\u03b9\u03ac \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf","description_GR":"\u0391\u03ba\u03c1\u03cc\u03c0\u03bf\u03bb\u03b7 \u03ba\u03b1\u03b9 \u039c\u03b9\u03ba\u03c1\u03cc \u0398\u03ad\u03b1\u03c4\u03c1\u03bf \u03b1\u03c1\u03c7\u03b1\u03af\u03b1\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5","path":"PELOPONNESE\/Pelop_Epidavros_PaleaEpidavros_Theater","activity_type":31,"assistance":2,"difficulty":1,"scenic_value":4,"length":1923,"name_EN":"Argolida: Palea Epidavros archaelogical sites","description_EN":"Acropolis and ancient theater","ascent_time":35,"descent_time":35,"marker":"No_marks","level":10,"ascent":48,"descent":48,"maxelev":53,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.15691 37.63274,23.16706 37.63664)","views":9,"millestones":"0,23.1569060,37.6366429#1,23.1612251,37.6340552#1.9,23.1670515,37.6327446","x":23.1617078,"y":37.6332543,"coor":[[23.156906,37.6366429],[23.1580978,37.6352634],[23.1596201,37.6359502],[23.160718,37.6360842],[23.1607277,37.6356922],[23.1611134,37.635224],[23.1604927,37.6349852],[23.1600985,37.6347661],[23.159762,37.6344573],[23.1596625,37.6342312],[23.1597491,37.6333666],[23.1598312,37.6336511],[23.1602364,37.6339063],[23.1604039,37.6341239],[23.1605286,37.6341247],[23.1607,37.6339998],[23.1610567,37.6340586],[23.1614372,37.6340501],[23.1611249,37.6336918],[23.1612502,37.6336387],[23.1614425,37.6336671],[23.1616021,37.6335871],[23.1616939,37.6334886],[23.1617078,37.6332543],[23.1616939,37.6334886],[23.1616021,37.6335871],[23.1614425,37.6336671],[23.1612502,37.6336387],[23.1611249,37.6336918],[23.1614372,37.6340501],[23.1623551,37.6340566],[23.1629705,37.6340722],[23.1631565,37.6341254],[23.1637423,37.634445],[23.1642966,37.6345391],[23.165132,37.6344143],[23.1654849,37.6342816],[23.1656093,37.6343005],[23.1657464,37.6342023],[23.1659293,37.634127],[23.1662235,37.6341651],[23.1664326,37.6340291],[23.1667548,37.6335898],[23.1667706,37.6331933],[23.1668862,37.6329868],[23.167062,37.6328168],[23.1670515,37.6327446]]},{"id":18637,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u0392\u03c5\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b1\u03af\u03b1 \u03ba\u03c4\u03af\u03c1\u03b9\u03b1 \u03c3\u03c4\u03b7\u03bd \u03a0\u03b1\u03bb\u03b1\u03b9\u03ac \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf","description_GR":"\u039c\u03b9\u03b1 \u03c9\u03c1\u03b1\u03af\u03b1 \u03ba\u03c5\u03ba\u03bb\u03b9\u03ba\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1","path":"PELOPONNESE\/Pelop_Epidavros_PaleaEpidavros_sunkbuildings","activity_type":31,"assistance":2,"difficulty":1,"scenic_value":4,"length":5477,"name_EN":"Epidavros: Ancient sunken buildings in Palea Epidavros","description_EN":"A nice loop hike","ascent_time":105,"descent_time":105,"marker":"No_marks","level":10,"ascent":43,"descent":43,"maxelev":16,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.14969 37.61873,23.1613 37.63659)","views":13,"millestones":"0,23.1569060,37.6366429#1,23.1587467,37.6322984#2,23.1561672,37.6248276#3,23.1553717,37.6198381#4,23.1511992,37.6264993#5,23.1534326,37.6348456#5.5,23.1569060,37.6366429","x":23.1560235,"y":37.6186891,"coor":[[23.156906,37.6366429],[23.1580978,37.6352634],[23.1596201,37.6359502],[23.160718,37.6360842],[23.1607277,37.6356922],[23.1611134,37.635224],[23.1604927,37.6349852],[23.1600985,37.6347661],[23.159762,37.6344573],[23.1596625,37.6342312],[23.1597491,37.6333666],[23.1594923,37.6330223],[23.1584677,37.6324291],[23.1597096,37.6318431],[23.1589479,37.6308868],[23.1587927,37.6305792],[23.1585755,37.6297485],[23.1585221,37.628982],[23.158586,37.6274321],[23.1583962,37.6272077],[23.158198,37.6271026],[23.1576551,37.6270086],[23.1574541,37.6268743],[23.1571694,37.6265275],[23.1570497,37.626085],[23.1569033,37.6259082],[23.15673,37.6252039],[23.1562464,37.624876],[23.15592,37.6246753],[23.1556858,37.6243492],[23.1555464,37.6236452],[23.1556006,37.6229222],[23.1558232,37.6222186],[23.1562922,37.6212598],[23.1568364,37.6201438],[23.156767,37.6200734],[23.1575606,37.6190335],[23.1575734,37.6189075],[23.1571222,37.618724],[23.1560235,37.6186891],[23.1557512,37.6189102],[23.1555049,37.619643],[23.1552283,37.6200556],[23.1542789,37.620842],[23.1533048,37.6218084],[23.1530197,37.6219686],[23.1524173,37.6221265],[23.1517299,37.6227886],[23.1510348,37.6231261],[23.1507264,37.6233402],[23.1499655,37.6235781],[23.1498395,37.6237033],[23.1506581,37.625077],[23.1510017,37.6257261],[23.151208,37.6265208],[23.1514247,37.6269595],[23.1518215,37.6278118],[23.1526403,37.6298705],[23.1529597,37.6306839],[23.1528856,37.6312242],[23.153073,37.6316852],[23.1534003,37.6319354],[23.1536231,37.6322705],[23.1539313,37.6327301],[23.154083,37.6329138],[23.1541496,37.6330314],[23.1539254,37.6335706],[23.1534774,37.6340991],[23.1533818,37.6345311],[23.1534108,37.6347183],[23.1534175,37.6347544],[23.153479,37.6351086],[23.1535996,37.63547],[23.1539293,37.636065],[23.1547368,37.6356337],[23.1552257,37.6354929],[23.1553385,37.6355388],[23.1559475,37.6362124],[23.156906,37.6366429]]},{"id":18835,"author":"AnaDigit","name_GR":"\u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf: \u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7 \u03a7\u03c1\u03c5\u03c3\u03bf\u03c3\u03c0\u03b7\u03bb\u03b9\u03ce\u03c4\u03b9\u03c3\u03b1","description_GR":"\u03a8\u03b7\u03bc\u03bf\u03c5\u03bb\u03ad\u0399\u03ba\u03b1-\u039a\u03b1\u03c4\u03c3\u03b1\u03b2\u03b1\u03af\u03b9\u03ba\u03b1-\u03a7\u03c1\u03c5\u03c3\u03bf\u03c3\u03c0\u03b7\u03bb\u03b9\u03ce\u03c4\u03b9\u03c3\u03b1","path":"PELOPONNESE\/Pelop_Arachneo_Chrysospiliotisa","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":4441,"name_EN":"Arachneo: Ascent to Chrysospiliotissa chapel","description_EN":"Psimouleika-Katsaveika-Chrysospiliotissa","ascent_time":110,"descent_time":95,"marker":"No_marks","level":10,"ascent":429,"descent":13,"maxelev":676,"minelev":227,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.05529 37.63386,23.0667 37.65491)","views":9,"millestones":"0,23.0578687,37.6337868#1,23.0635128,37.6407379#2,23.0636645,37.6468852#3,23.0652758,37.6504802#4,23.0561102,37.6535785#4.4,23.0591942,37.6549421","x":23.0649662,"y":37.6477437,"coor":[[23.0578687,37.6337868],[23.0578665,37.633958],[23.0585257,37.6347114],[23.0586659,37.6352713],[23.0588946,37.6357305],[23.0594415,37.6364019],[23.0595609,37.6368174],[23.0602837,37.6379228],[23.0606149,37.6386194],[23.06091,37.639487],[23.0613481,37.6398894],[23.0618982,37.6403083],[23.0624961,37.6405294],[23.0629441,37.6409566],[23.0632413,37.6407606],[23.0635023,37.6407357],[23.0640449,37.6408481],[23.0654148,37.6409762],[23.0665666,37.6413188],[23.0666083,37.6414363],[23.0663124,37.6419882],[23.0658293,37.6425522],[23.0651556,37.6429435],[23.0649283,37.6429958],[23.0647872,37.6430352],[23.0647171,37.6431969],[23.0643964,37.6434647],[23.0641428,37.6438052],[23.0640715,37.6438993],[23.0640491,37.6440411],[23.0639646,37.644455],[23.0640707,37.6450327],[23.0637996,37.6458597],[23.0639189,37.6462933],[23.06387,37.6465723],[23.0636504,37.6469131],[23.0632042,37.647243],[23.0631227,37.6474136],[23.063224,37.6474685],[23.0635664,37.6472819],[23.0639855,37.6473033],[23.0643736,37.6470901],[23.0644593,37.6474873],[23.064421,37.6478295],[23.0642598,37.6480265],[23.0643385,37.6480812],[23.0649662,37.6477437],[23.0651966,37.6474481],[23.0658484,37.6469936],[23.0660186,37.6469769],[23.0661298,37.647149],[23.065749,37.6476868],[23.0653413,37.6485669],[23.0658071,37.6484849],[23.0658849,37.6486027],[23.0658943,37.648756],[23.0657085,37.6491151],[23.065841,37.6493955],[23.0658011,37.6498639],[23.0656267,37.650214],[23.0653754,37.6503652],[23.0651799,37.650589],[23.0642295,37.6513476],[23.0637914,37.65193],[23.063419,37.6518008],[23.0631131,37.6517804],[23.0624093,37.6518649],[23.0621486,37.6517727],[23.0618532,37.6518244],[23.0614758,37.6520918],[23.0605667,37.6522649],[23.0603471,37.6525966],[23.060176,37.6526854],[23.0597853,37.6531059],[23.0589207,37.6533423],[23.0588282,37.6534858],[23.0584507,37.6537532],[23.058381,37.6538878],[23.0573345,37.6538028],[23.0568688,37.6538802],[23.0558761,37.6534938],[23.0553092,37.6534982],[23.0553196,37.6535704],[23.0556928,37.6536455],[23.0561638,37.6540459],[23.0564755,37.6542444],[23.0571796,37.6543987],[23.0575976,37.6545192],[23.0579449,37.6548465],[23.0583756,37.6548499],[23.0590257,37.6548236],[23.0589567,37.6548951],[23.0591942,37.6549421]]},{"id":18836,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u039b\u03b9\u03b3\u03bf\u03c5\u03c1\u03b9\u03cc-\u0386\u03b3\u03b9\u03bf\u03c2 \u0391\u03bd\u03b4\u03c1\u03ad\u03b1\u03c2","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 3","path":"PELOPONNESE\/Pelop_Epidavros_Ligourio_AgAndreas","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":4,"length":5485,"name_EN":"Epidavros: Ligourio-Agios Andreas","description_EN":"Trail 3","ascent_time":155,"descent_time":160,"marker":"Red_dots","level":10,"ascent":53,"descent":246,"maxelev":355,"minelev":125,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.04434 37.61099,23.08961 37.63179)","views":10,"millestones":"0,23.0445915,37.6119990#1,23.0551695,37.6116519#2,23.0646380,37.6130901#3,23.0698908,37.6197803#4,23.0772819,37.6253971#5.5,23.0893553,37.6321435","x":23.0701538,"y":37.6197584,"coor":[[23.0445915,37.611999],[23.0452449,37.6120178],[23.0458218,37.6120044],[23.0461069,37.6118625],[23.0470106,37.6111848],[23.0478681,37.610856],[23.049668,37.6108885],[23.0501399,37.6108405],[23.0518129,37.6106962],[23.0529782,37.6108228],[23.053791,37.6110546],[23.0558195,37.6119181],[23.056598,37.6121767],[23.0582581,37.6126091],[23.0583437,37.6126368],[23.0584115,37.6126553],[23.0587045,37.6127816],[23.0593777,37.6131362],[23.05953,37.6129054],[23.0596212,37.612861],[23.0599362,37.6130438],[23.0601285,37.6130634],[23.0605612,37.6128956],[23.0611059,37.6128278],[23.0616075,37.6125794],[23.0622748,37.6126748],[23.0621361,37.6128901],[23.0621695,37.6129444],[23.0628144,37.6130126],[23.0629195,37.6127611],[23.0631857,37.6125965],[23.0633783,37.612598],[23.0636132,37.6128432],[23.0639395,37.6130261],[23.0648675,37.6131055],[23.0657574,37.6135272],[23.0661703,37.6140262],[23.0661408,37.6142107],[23.0659227,37.6144365],[23.0658261,37.6149135],[23.0656804,37.6150363],[23.0658429,37.6156324],[23.0661126,37.6158148],[23.0664473,37.6162321],[23.0668075,37.6164152],[23.0672252,37.6165447],[23.0678069,37.6171441],[23.0678532,37.6179737],[23.067942,37.6181186],[23.0681892,37.6182828],[23.0686292,37.6184395],[23.0689211,37.6186581],[23.0691951,37.6193994],[23.0695422,37.6197356],[23.0697455,37.6197913],[23.0701538,37.6197584],[23.0706587,37.620159],[23.071347,37.6203897],[23.0715381,37.6205174],[23.071728,37.6207352],[23.0718755,37.6212884],[23.0719012,37.6213855],[23.0721683,37.6217752],[23.0722001,37.6219557],[23.0724031,37.6220294],[23.0728339,37.6220148],[23.0731718,37.6221797],[23.0734837,37.6226147],[23.073434,37.6229659],[23.0735329,37.623219],[23.0739812,37.6236191],[23.0744415,37.6239652],[23.0749708,37.6242307],[23.0752847,37.6245036],[23.0753951,37.6247388],[23.0756646,37.6249392],[23.0760279,37.624879],[23.0762968,37.6251334],[23.0769192,37.6252014],[23.0772347,37.6253481],[23.0776039,37.6257295],[23.0779313,37.6258312],[23.0781357,37.6257968],[23.0783721,37.6259248],[23.0790163,37.626065],[23.0794524,37.6265371],[23.0803438,37.6268505],[23.0801643,37.6269032],[23.0798026,37.6268283],[23.0799371,37.6269465],[23.0799577,37.6271134],[23.0800014,37.6272489],[23.0810984,37.6274287],[23.0816514,37.6276133],[23.0827868,37.6278136],[23.0831469,37.6280237],[23.0835499,37.628135],[23.0842026,37.6285096],[23.0842568,37.6287083],[23.084627,37.6290177],[23.0847706,37.6293252],[23.0851745,37.6296528],[23.0859184,37.6299831],[23.0863702,37.6301128],[23.0868609,37.6303802],[23.0881451,37.631012],[23.0883246,37.6311666],[23.0886532,37.6312571],[23.0888985,37.6315],[23.0890083,37.6317893],[23.0893553,37.6321435]]},{"id":18837,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u03a0\u03b1\u03bb\u03b1\u03b9\u03ac \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2-N\u03b1\u03cc\u03c2 \u0391\u03c1\u03c4\u03ad\u03bc\u03b9\u03b4\u03bf\u03c2","description_GR":"\u039c\u03b9\u03b1 \u03b5\u03c5\u03c7\u03ac\u03c1\u03b9\u03c3\u03c4\u03b7 \u03ba\u03c5\u03ba\u03bb\u03b9\u03ba\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1","path":"PELOPONNESE\/Pelop_Epidavros_PaleaEpidavros_Artenistemple","activity_type":32,"assistance":2,"difficulty":1,"scenic_value":4,"length":2282,"name_EN":"Epidavros: Palea Epidavros-Artemis temple","description_EN":"A nice loop trail","ascent_time":40,"descent_time":40,"marker":"Red_dots","level":10,"ascent":110,"descent":110,"maxelev":112,"minelev":4,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.14882 37.63369,23.1553 37.64066)","views":14,"millestones":"0,23.1533818,37.6345311#1,23.1488415,37.6396768#2,23.1543556,37.6367212#2.3,23.1533818,37.6345311","x":23.1489547,"y":37.6400198,"coor":[[23.1533818,37.6345311],[23.1532702,37.6343771],[23.1531956,37.6339619],[23.1530772,37.6338169],[23.1531184,37.6336775],[23.1527898,37.6336751],[23.152278,37.6338337],[23.1521198,37.6338843],[23.151962,37.6337097],[23.1516099,37.6337793],[23.1514047,37.633886],[23.1513771,37.6344108],[23.1510888,37.6348504],[23.1510841,37.6352649],[23.1509798,37.6354625],[23.1505783,37.6358922],[23.1505989,37.6360726],[23.1504158,37.6362245],[23.1504811,37.6364593],[23.1503434,37.6366093],[23.1503402,37.6368887],[23.1501886,37.6372662],[23.149971,37.6374629],[23.1497887,37.6374571],[23.149388,37.6378057],[23.1492951,37.6380033],[23.1491583,37.6380744],[23.1492667,37.6385078],[23.1488359,37.6395052],[23.148844,37.6397937],[23.1489547,37.6400198],[23.1491341,37.6401923],[23.1499003,37.6405944],[23.1500452,37.6404963],[23.1503948,37.6406521],[23.150644,37.6406674],[23.151031,37.6405215],[23.1511008,37.6403597],[23.1513172,37.6402712],[23.152222,37.6404399],[23.1522844,37.6400303],[23.1526993,37.6399273],[23.1529853,37.639695],[23.1532472,37.6395888],[23.154234,37.6395237],[23.154212,37.6393704],[23.1548139,37.6392665],[23.1552375,37.6389834],[23.1552256,37.6389427],[23.155135,37.6387483],[23.1548017,37.6383448],[23.1546781,37.6378392],[23.1545146,37.6370787],[23.1542649,37.6365181],[23.15393,37.636065],[23.1535999,37.63547],[23.1534794,37.6351086],[23.1534179,37.6347544],[23.1534115,37.6347183],[23.1533818,37.6345311]]},{"id":18838,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u039a\u03ac\u03c3\u03c4\u03c1\u03bf \u039d\u03ad\u03b1\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf \u03b2\u03c5\u03b6\u03b1\u03bd\u03c4\u03b9\u03bd\u03cc \u03bf\u03c7\u03c5\u03c1\u03cc","path":"PELOPONNESE\/Pelop_Epidavros_NeaEpidavros_castle","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":634,"name_EN":"Epidavros: Nea Epidavros castle","description_EN":"Ascent to the byzantine castle","ascent_time":10,"descent_time":10,"marker":"No_marks","level":10,"ascent":24,"descent":24,"maxelev":101,"minelev":76,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.12576 37.67686,23.1305 37.67793)","views":4,"millestones":"0,23.1257635,37.6779261#0.6,23.1288021,37.6775746","x":23.1299984,"y":37.6769164,"coor":[[23.1257635,37.6779261],[23.1263357,37.6778763],[23.1271164,37.677632],[23.1273021,37.6775702],[23.1276326,37.6774285],[23.1277017,37.6773389],[23.1290057,37.6770443],[23.129112,37.6770721],[23.1294983,37.6770119],[23.1298062,37.6768609],[23.1299984,37.6769164],[23.1304183,37.6768835],[23.1304969,37.6769562],[23.1303824,37.6770454],[23.1302271,37.677024],[23.1301586,37.6770596],[23.1301789,37.6771791],[23.1300417,37.6772683],[23.1290293,37.6775402],[23.1288021,37.6775746]]},{"id":19633,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7\u03c2 \u0397\u03bb\u03af\u03b1\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5, \u039d\u03cc\u03c4\u03b9\u03b1 \u03cc\u03c8\u03b7","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7\u03c2 \u0397\u03bb\u03af\u03b1\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5 \u03b1\u03c0\u03cc \u03c4\u03bf\u03bd \u03b1\u03c1\u03c7\u03b1\u03b9\u03bf\u03bb\u03bf\u03b3\u03b9\u03ba\u03cc \u03c7\u03ce\u03c1\u03bf","path":"PELOPONNESE\/Pelop_Epidavros_ProfitisIlias_Epidavros2","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":3,"length":1828,"name_EN":"Epidavros: Profitis Ilias of Epidavros, South face","description_EN":"Ascent to Profitis Ilias peak from the archaeological site","ascent_time":60,"descent_time":40,"marker":"Red_dots","level":10,"ascent":360,"descent":1,"maxelev":851,"minelev":484,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.09044 37.6009,23.09604 37.61289)","views":5,"millestones":"0,23.0905864,37.6011748#1,23.0950139,37.6071998#1.8,23.0933270,37.6129153","x":23.0950216,"y":37.6071531,"coor":[[23.0905864,37.6011748],[23.0907884,37.6012485],[23.0918572,37.6009232],[23.0925362,37.6009825],[23.0930338,37.6008782],[23.0926865,37.6016641],[23.0928234,37.6025215],[23.0932695,37.6031017],[23.0932787,37.603273],[23.0933909,37.603364],[23.093397,37.6037967],[23.0936303,37.6041771],[23.093888,37.6044134],[23.0938249,37.6049447],[23.0939556,37.6053783],[23.0943808,37.6058142],[23.0944357,37.6059588],[23.0946605,37.6061048],[23.0946231,37.6063839],[23.0947124,37.6064927],[23.0946645,37.6067087],[23.0949669,37.6069994],[23.0950216,37.6071531],[23.0949848,37.6073871],[23.0952896,37.6074796],[23.0955253,37.6076617],[23.0955802,37.6078063],[23.0954886,37.6078867],[23.0954756,37.6080218],[23.0955771,37.6080587],[23.095759,37.608006],[23.0959474,37.6083589],[23.095728,37.6086997],[23.0957596,37.6088983],[23.0954311,37.6098241],[23.0953512,37.6098776],[23.0951649,37.6102908],[23.0948215,37.6105765],[23.0947738,37.6107745],[23.0948346,37.6113698],[23.0946834,37.6116931],[23.0942238,37.6122214],[23.0935826,37.6127753],[23.093327,37.6129153]]},{"id":19654,"author":"AnaDigit","name_GR":"\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2: \u03a6\u03b1\u03c1\u03ac\u03b3\u03b3\u03b9 \u0392\u03cc\u03bb\u03b8\u03c5\u03bb\u03b1 (\u039d\u03ad\u03b1 \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2)","description_GR":"\u0388\u03bd\u03b1 \u03c3\u03cd\u03bd\u03c4\u03bf\u03bb\u03bf \u03b1\u03bb\u03bb\u03ac \u03ac\u03b3\u03c1\u03b9\u03bf \u03c6\u03b1\u03c1\u03ac\u03b3\u03b3\u03b9","path":"PELOPONNESE\/Pelop_Epidavros_NeaEpidavros_Vothylas","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":5,"length":1261,"name_EN":"Epidavros: Vothylas gorge (Nea Epidavros)","description_EN":"A short yet wild gorge","ascent_time":35,"descent_time":35,"marker":"No_marks","level":10,"ascent":19,"descent":62,"maxelev":82,"minelev":18,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.12423 37.6762,23.13465 37.67913)","views":3,"millestones":"0,23.1250447,37.6779366#1,23.1328743,37.6774248#1.3,23.1346492,37.6763287","x":23.1288448,"y":37.6783816,"coor":[[23.1250447,37.6779366],[23.1246789,37.6784837],[23.1244252,37.6788423],[23.1242312,37.678949],[23.1244451,37.6790768],[23.1245607,37.679134],[23.1247761,37.6791356],[23.1268196,37.6789434],[23.1275631,37.6783991],[23.1278471,37.6783562],[23.1280383,37.6784928],[23.128163,37.6784937],[23.1285404,37.6782261],[23.1286537,37.6782359],[23.1288448,37.6783816],[23.1294993,37.6785306],[23.1301788,37.6786077],[23.1307121,37.6785846],[23.1312474,37.6783903],[23.131625,37.6780956],[23.1328121,37.6775568],[23.1330445,37.6770718],[23.133154,37.676827],[23.1334625,37.676631],[23.1335074,37.6763339],[23.1338357,37.6762935],[23.1341179,37.6763113],[23.1345904,37.6762044],[23.1346492,37.6763287]]}],{"extent":[22.88414,37.57804,23.16982,37.74414],"advPath":"http:\/\/www.topoguide.gr\/adventure.php?l=el&ul=1&a=","style":{"default":{"color":"#ff612f","width":6,"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},"PELOPONNESE\/Pelop_Parrhasian_07_Lykosoura_IsomaKaryon":{"url":null,"color":"#2f32ff","width":5,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Parrhasian_01_Karytena_Kotylio":{"url":null,"color":"#2f32ff","width":5,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Parrhasian_03_Sklirou_Neda":{"url":null,"color":"#2f32ff","width":5,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Parrhasian_05_Vasta_Isari":{"url":null,"color":"#2f32ff","width":5,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Parrhasian_02_Kotylio_Sklirou":{"url":null,"color":"#50b52e","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Parrhasian_04_Neda_Vasta":{"url":null,"color":"#50b52e","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Parrhasian_06_Isari_Lykosoura":{"url":null,"color":"#50b52e","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Parrhasian_08_IsomaKaryon_Karytena":{"url":null,"color":"#50b52e","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Epidavros_ELLET_6":{"url":null,"color":"#e16740","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Epidavros_ELLET_1":{"url":"","color":"#e16740","width":6,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/Pelop_Epidavros_ELLET_4":{"url":null,"color":"#001489","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Epidavros_ELLET_2":{"url":null,"color":"#57854e","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Epidavros_ELLET_3":{"url":null,"color":"#f65058","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Epidavros_ELLET_7":{"url":null,"color":"#9e5f98","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Epidavros_ELLET_8":{"url":null,"color":"#c55265","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Epidavros_ELLET_5":{"url":null,"color":"#c55265","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_epidavros = new getPoiCollection("epidavros",[{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2","owner":"AnaDigit","x":23.074594855305,"y":37.598480727887,"photo":"Argolida_Epidavros_naos Asklipiou","type":10,"zoom_level":14,"id":386,"hlink_GR":"","hlink_EN":"","description":"\u0397 \u0398\u03cc\u03bb\u03bf\u03c2 \u03ba\u03b1\u03b9 \u03bf \u039d\u03b1\u03cc\u03c2 \u03c4\u03bf\u03c5 \u0391\u03c3\u03ba\u03bb\u03b7\u03c0\u03b9\u03bf\u03cd","height":166,"width":512},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2
\u03c4\u03bf \u03b1\u03c1\u03c7\u03b1\u03af\u03bf \u03b8\u03ad\u03b1\u03c4\u03c1\u03bf ","owner":"AnaDigit","x":23.079530119892,"y":37.595573493501,"photo":"Argolida_Epidavros_theatro2","type":10,"zoom_level":12,"id":387,"hlink_GR":"","hlink_EN":"","description":"","height":340,"width":512},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u03a0\u03b7\u03b3\u03ac\u03b4\u03b9 \u03c3\u03c4\u03b7 \u03bb\u03ac\u03ba\u03ba\u03b1 \u039b\u03bf\u03cd\u03c4\u03c3\u03b1","owner":"AnaDigit","x":23.013966202737,"y":37.641213309075,"photo":"Argolida_Anatoliko_Araxneo_laka_Loutsa_pigadi","type":0,"zoom_level":14,"id":393,"hlink_GR":"","hlink_EN":"","description":"\u03a4\u03bf \u03bd\u03b5\u03c1\u03cc \u03c3\u03c0\u03b1\u03bd\u03af\u03b6\u03b5\u03b9 \u03c3\u03c4\u03bf \u03b1\u03bd\u03b1\u03c4\u03bf\u03bb\u03b9\u03ba\u03cc \u03c4\u03bc\u03ae\u03bc\u03b1 \u03c4\u03bf\u03c5 \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5","height":338,"width":512},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u03a4\u03bf \u03bf\u03c7\u03c5\u03c1\u03cc \u039a\u03b1\u03c3\u03c4\u03c1\u03ac\u03ba\u03b9 \u03a6\u03c9\u03bd\u03af\u03c3\u03ba\u03bf\u03c5","owner":"AnaDigit","x":22.967832207679,"y":37.605404078692,"photo":"Argolida_Kastraki_Foniskou2","type":10,"zoom_level":13,"id":397,"hlink_GR":"","hlink_EN":"","description":"","height":340,"width":512},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u0395\u03c3\u03c9\u03c4\u03b5\u03c1\u03b9\u03ba\u03cc \u03ba\u03b1\u03b8\u03bf\u03bb\u03b9\u03ba\u03bf\u03cd
\u03bc\u03bf\u03bd\u03ae\u03c2 \u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03b1\u03c2 \u03a0\u03bf\u03bb\u03b5\u03bc\u03ac\u03c1\u03c7\u03b1\u03c2","owner":"AnaDigit","x":23.163169,"y":37.656767,"photo":"Argolida_Moni_Panagias_Polemarxas2","type":10,"zoom_level":13,"id":404,"hlink_GR":"","hlink_EN":"","description":"\u0397 \u03ad\u03c1\u03b7\u03bc\u03b7 \u03bc\u03bf\u03bd\u03ae \u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03b1\u03c2 \u03a0\u03bf\u03bb\u03b5\u03bc\u03ac\u03c1\u03c7\u03b1\u03c2 \u03b9\u03b4\u03c1\u03cd\u03b8\u03b7\u03ba\u03b5 \u03c3\u03c4\u03b7\u03bd \u03b1\u03c5\u03b3\u03ae \u03c4\u03bf\u03c5 15\u03bf\u03c5 \u03b1\u03b9. \u03c9\u03c2 \u03bc\u03b5\u03c4\u03cc\u03c7\u03b9-\u03b1\u03c3\u03ba\u03b7\u03c4\u03b1\u03c1\u03b9\u03cc \u03c4\u03b7\u03c2 \u03bc\u03bf\u03bd\u03ae\u03c2 \u0391\u03b3\u03bd\u03bf\u03cd\u03bd\u03c4\u03bf\u03c2. \u0397 \u03b8\u03ad\u03c3\u03b7 \u03ae\u03c4\u03b1\u03bd \u03b5\u03c5\u03ac\u03bb\u03c9\u03c4\u03b7 \u03c3\u03c4\u03b9\u03c2 \u03b5\u03c0\u03b9\u03b8\u03ad\u03c3\u03b5\u03b9\u03c2 \u03c0\u03b5\u03b9\u03c1\u03b1\u03c4\u03ce\u03bd \u03ba\u03b1\u03b9 \u03ad\u03c4\u03c3\u03b9 \u03bf\u03b9 \u03bc\u03bf\u03bd\u03b1\u03c7\u03bf\u03af \u03bc\u03b5\u03c4\u03b1\u03ba\u03b9\u03bd\u03ae\u03b8\u03b7\u03ba\u03b1\u03bd \u03c3\u03c4\u03b7 \u03c3\u03b7\u03bc\u03b5\u03c1\u03b9\u03bd\u03ae \u03bc\u03bf\u03bd\u03ae \u039a\u03b1\u03bb\u03b1\u03bc\u03af\u03bf\u03c5. \u039f \u03bd\u03b1\u03cc\u03c2, \u03bc\u03b5\u03b3\u03ac\u03bb\u03bf\u03c2 \u03ba\u03b1 \u03b9\u03c0\u03c1\u03c9\u03c4\u03cc\u03c4\u03c5\u03c0\u03bf\u03c2 \u03b1\u03c1\u03c7\u03b9\u03c4\u03b5\u03ba\u03c4\u03bf\u03bd\u03b9\u03ba\u03ac, \u03ad\u03bc\u03b5\u03b9\u03bd\u03b5 \u03b7\u03bc\u03b9\u03c4\u03b5\u03bb\u03ae\u03c2. \u03a3\u03ce\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 \u03b5\u03c1\u03b5\u03af\u03c0\u03b9\u03b1 \u03c4\u03c9\u03bd \u03ba\u03b5\u03bb\u03b9\u03ce\u03bd \u03ba\u03b1\u03b9 \u03c0\u03ad\u03c4\u03c1\u03b9\u03bd\u03b7 \u03c5\u03b4\u03b1\u03c4\u03bf\u03b4\u03b5\u03be\u03b1\u03bc\u03b5\u03bd\u03ae.","height":512,"width":340},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u03a4\u03bf \u03bf\u03c7\u03c5\u03c1\u03cc \u0393\u03ba\u03cd\u03ba\u03bb\u03bf\u03c2 \u03c3\u03c4\u03bf \u03b4\u03b9\u03ac\u03c3\u03b5\u03bb\u03bf \u03c4\u03bf\u03c5 \u0391\u03c1\u03b1\u03c7\u03bd\u03b1\u03af\u03bf\u03c5","owner":"AnaDigit","x":22.987535715104,"y":37.64471342815,"photo":"Argolida_Gyklos_Araxnaiou","type":10,"zoom_level":13,"id":474,"hlink_GR":"","hlink_EN":"","description":"","height":263,"width":512},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u0397 \u03a0\u03c5\u03c1\u03b1\u03bc\u03af\u03b4\u03b1 \u03c4\u03bf\u03c5 \u039b\u03b9\u03b3\u03bf\u03c5\u03c1\u03b9\u03bf\u03cd","owner":"AnaDigit","x":23.030880212788,"y":37.616554886189,"photo":"Argolida_Pyramida_Ligouriou1","type":10,"zoom_level":13,"id":480,"hlink_GR":"","hlink_EN":"","description":"","height":512,"width":340},{"name":"\u0395\u03a0\u0399\u0394\u0391\u03a1\u039f\u03a3
\u039c\u03b9\u03ba\u03c1\u03cc \u0398\u03ad\u03b1\u03c4\u03c1\u03bf \u0391\u03c1\u03c7\u03b1\u03af\u03b1\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5","owner":"\u0391. \u039a\u03b1\u03bb\u03bf\u03b3\u03ae\u03c1\u03bf\u03c5","x":23.159722805023,"y":37.633362927782,"photo":"Pelop_Argolida_PaleaEpidavros_mikro_theatro","type":10,"zoom_level":14,"id":1152,"hlink_GR":"","hlink_EN":"","description":"","height":279,"width":600},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u03a0\u03b1\u03bb\u03b9\u03b1\u03ac \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2
\u039c\u03c5\u03ba\u03b7\u03bd\u03b1\u03ca\u03ba\u03bf\u03af \u03c4\u03ac\u03c6\u03bf\u03b9","owner":"\u0391. \u039a\u03b1\u03bb\u03bf\u03b3\u03ae\u03c1\u03bf\u03c5","x":23.152848,"y":37.634363,"photo":"Pelop_Argolida_PaleaEpidavros_mikinaikoi_tafoi","type":10,"zoom_level":15,"id":1154,"hlink_GR":"","hlink_EN":"","description":"\u03a3\u03c5\u03b3\u03ba\u03c1\u03cc\u03c4\u03b7\u03bc\u03b1 \u03bc\u03c5\u03ba\u03b7\u03bd\u03b1\u03ca\u03ba\u03ce\u03bd \u03c4\u03ac\u03c6\u03c9\u03bd","height":512,"width":342},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u03a0\u03b1\u03bb\u03b9\u03ac \u0395\u03c0\u03af\u03b4\u03b1\u03c5\u03c1\u03bf\u03c2
\u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03b1","owner":"\u0391. \u039a\u03b1\u03bb\u03bf\u03b3\u03ae\u03c1\u03bf\u03c5","x":23.161708,"y":37.633254,"photo":"Pelop_Argolida_PaleaEpidavros_Panagia","type":9,"zoom_level":15,"id":1156,"hlink_GR":"","hlink_EN":"","description":"","height":323,"width":600},{"name":"\u0391\u03a1\u0393\u039f\u039b\u0399\u0394\u0391
\u0391\u03ba\u03c1\u03cc\u03c0\u03bf\u03bb\u03b7 \u03a0\u03b1\u03bb\u03b1\u03b9\u03ac\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5","owner":"\u0391. \u039a\u03b1\u03bb\u03bf\u03b3\u03ae\u03c1\u03bf\u03c5","x":23.161437,"y":37.63405,"photo":"Pelop_Argolida_PaleaEpidavros_acropolis","type":10,"zoom_level":14,"id":1157,"hlink_GR":"","hlink_EN":"","description":"","height":450,"width":600}],{});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="
Φράκια-Αγγελόκαστρο
Ανάβαση στην κορυφή του Αραχναίου
Ανάβαση στη Χρυσοσπηλιώτισα
Αμαριανός-μονή Ταλαντίου
Διάσχιση δυτικής κορυφογραμμής του Αραχναίου
Διάσχιση ανατολικής κορυφογραμμής του Αραχναίου
Αρχαίος δρόμος Επιδαύρου
Ιερό Ασκληπιού
Κύκλος στο Λυγουριό
Περίπατος στην Παλαιά Επίδαυρο
Καστράκι Φωνίσκου
Ακρόπολη Καζάρμας
Λιγουριό-Άγιος Ανδρέας
Μυκηναϊκός δρόμος
Κάστρο Νέας Επιδαύρου
Φαράγγι Βόλθυλα (Νέα Επίδαυρος)
Παλαιά Επίδαυρος-Nαός Αρτέμιδος
Παλαιά Επίδαυρος-μονή Πολεμάρχας
Βυθισμένα αρχαία κτίρια στην Παλαιά Επίδαυρο
Αρχαιογνωσία στην Παλαιά Επίδαυρο
Προφήτης Ηλίας Αδαμίου
Προφήτης Ηλίας Επιδαύρου, ΒΔ ράχη
Προφήτης Ηλίας Επιδαύρου, Νότια όψη
";}else{console.log('adventure list widget activated but div missing. Requested id: pathList');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["epidavros"],pc:["epidavros"],url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png',showLogo: 1,showZoomTool: 1}; var overrideAfterLoad = function(map){ adventureCollection_epidavros.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); }