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_methana = new getAdventureCollection("methana",[{"id":16134,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf \u03b7\u03c6\u03b1\u03af\u03c3\u03c4\u03b5\u03b9\u03bf","description_GR":"\u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1-\u03ba\u03b5\u03bd\u03c4\u03c1\u03b9\u03ba\u03cc\u03c2 \u03ba\u03c1\u03b1\u03c4\u03ae\u03c1\u03b1\u03c2","path":"Geology\/GEO_Methana_Volcano_ascent","activity_type":72,"assistance":1,"difficulty":1,"scenic_value":5,"length":1479,"name_EN":"Methana: Ascent to volcano","description_EN":"Kameni Chora-centrla crater","ascent_time":40,"descent_time":40,"marker":"Red_dots","level":12,"ascent":162,"descent":4,"maxelev":381,"minelev":220,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.33284 37.6143,23.33776 37.62015)","views":204,"millestones":"0,23.3334299,37.6147591#1.5,23.3329229,37.6187491","x":23.3360768,"y":37.6185686,"coor":[[23.3334299,37.6147591],[23.3337587,37.6147339],[23.3342333,37.6148718],[23.3346186,37.614874],[23.3355265,37.6147078],[23.3353575,37.6145987],[23.3357431,37.6145558],[23.335883,37.6145138],[23.3362902,37.6145972],[23.3364298,37.6145484],[23.3366813,37.6142907],[23.3371995,37.6146271],[23.337299,37.6149071],[23.3377135,37.6154412],[23.3377456,37.6156577],[23.3375615,37.6159721],[23.3375811,37.6163237],[23.3374875,37.6166477],[23.3371682,37.6168802],[23.3367371,37.6169409],[23.3366229,37.6170394],[23.3367317,37.6175448],[23.3366961,37.6177248],[23.3360768,37.6185686],[23.3358233,37.6188015],[23.3355277,37.618908],[23.3351598,37.6195008],[23.3342148,37.6200092],[23.3341585,37.6199639],[23.3340096,37.6201433],[23.333988,37.620026],[23.3339076,37.6201517],[23.3338972,37.6200435],[23.3340231,37.619909],[23.3339434,37.6199446],[23.3339446,37.6198094],[23.3338649,37.619854],[23.3338219,37.6195924],[23.3337205,37.6195288],[23.3336879,37.6193753],[23.3335419,37.6192303],[23.3330556,37.6191194],[23.3330225,37.6190201],[23.3328532,37.618947],[23.3329678,37.6188034],[23.3329229,37.6187491]]},{"id":16135,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u0397\u03c6\u03b1\u03b9\u03c3\u03c4\u03b5\u03b9\u03b1\u03ba\u03ae \u03b4\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae","description_GR":"\u0393\u03cd\u03c1\u03bf\u03c2 \u03c4\u03c9\u03bd \u03ba\u03c1\u03b1\u03c4\u03ae\u03c1\u03c9\u03bd \u03c4\u03c9\u03bd \u039c\u03b5\u03b8\u03ac\u03bd\u03c9\u03bd","path":"Geology\/GEO_Methana_Volcano_tour","activity_type":72,"assistance":2,"difficulty":1,"scenic_value":4,"length":24626,"name_EN":"Methana: Volcanic trip","description_EN":"Methana Volcano tour","ascent_time":915,"descent_time":915,"marker":"No_marks","level":11,"ascent":878,"descent":878,"maxelev":638,"minelev":9,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.32767 37.57941,23.39007 37.6204)","views":153,"millestones":"0,23.3900511,37.5815334#1,23.3867646,37.5890845#2,23.3797224,37.5844814#3,23.3751739,37.5858654#4,23.3748746,37.5900566#5,23.3785312,37.5957997#6,23.3766465,37.6021950#7,23.3716732,37.6084068#8,23.3655014,37.6095929#9,23.3589680,37.6064922#10,23.3505324,37.6085321#11,23.3447125,37.6088992#12,23.3403813,37.6136454#13,23.3369081,37.6202990#14,23.3347388,37.6139899#15,23.3283395,37.6126951#16,23.3312711,37.6052288#17,23.3365403,37.6000492#18,23.3410558,37.5931655#19,23.3494103,37.5929961#20,23.3561360,37.5898146#21,23.3641602,37.5852491#22,23.3700179,37.5796759#23,23.3796333,37.5828400#24.6,23.3900501,37.5815334","x":23.340202,"y":37.6137967,"coor":[[23.3900511,37.5815334],[23.3896185,37.5818106],[23.389241,37.5822774],[23.3887926,37.5830952],[23.3885901,37.584311],[23.3885367,37.5853022],[23.3888472,37.586106],[23.3886582,37.5870649],[23.3888018,37.5875073],[23.3884066,37.5887401],[23.3882132,37.5888473],[23.3865267,37.5891315],[23.3863882,37.5891443],[23.3853815,37.5891097],[23.3843067,37.5889509],[23.3830828,37.5890346],[23.3823834,37.5886885],[23.3815758,37.5877288],[23.3818295,37.5871803],[23.3818241,37.5864593],[23.3812986,37.5856363],[23.381062,37.5854818],[23.3808585,37.5854447],[23.3806276,37.5855899],[23.3804805,37.5855712],[23.3799307,37.5849463],[23.3796638,37.5843501],[23.3786502,37.5836597],[23.3779215,37.5827545],[23.3772927,37.582233],[23.3769533,37.5821951],[23.3763674,37.5827644],[23.3765221,37.5832159],[23.3764064,37.5835127],[23.3760644,37.5837813],[23.3755195,37.5839316],[23.375394,37.5840391],[23.3751386,37.5847859],[23.3756895,37.5852755],[23.3757001,37.5853657],[23.3745559,37.5853957],[23.3744534,37.5854582],[23.3755469,37.5860769],[23.3761833,37.5871799],[23.3761037,37.5872156],[23.3758334,37.5870339],[23.3749951,37.5867928],[23.3743492,37.5868255],[23.3742127,37.5868969],[23.3751037,37.5873522],[23.3751821,37.5874608],[23.3751134,37.5875506],[23.374082,37.5876262],[23.3734605,37.5874607],[23.3733695,37.5874963],[23.374204,37.5879424],[23.3752359,37.5891466],[23.3750833,37.5897948],[23.3743737,37.5906743],[23.3742073,37.5911759],[23.3741952,37.5915634],[23.3739863,37.5921662],[23.3743465,37.5924385],[23.375467,37.5925436],[23.377666,37.5923659],[23.3779486,37.5924305],[23.3780473,37.5928186],[23.3781404,37.5952527],[23.3786107,37.5959041],[23.3791063,37.5962493],[23.3791366,37.5965649],[23.3788217,37.5976448],[23.37911,37.5984035],[23.3788911,37.598844],[23.378549,37.5991126],[23.3769723,37.5993566],[23.376177,37.5996318],[23.3757194,37.6001702],[23.3754093,37.6006823],[23.3753851,37.6008625],[23.375574,37.6010077],[23.3757309,37.6012068],[23.3756591,37.6016616],[23.3757703,37.6019146],[23.3763808,37.602071],[23.3769112,37.6023172],[23.3772375,37.6025803],[23.377506,37.6029873],[23.3776146,37.6035467],[23.3775328,37.6038527],[23.3772346,37.6042838],[23.3766899,37.6045288],[23.3756238,37.6046584],[23.3752471,37.6049989],[23.3753439,37.6056213],[23.3752283,37.6058911],[23.3748964,37.6062949],[23.3738024,37.6070553],[23.3729385,37.6074022],[23.3723156,37.6077955],[23.3719966,37.6080011],[23.3714814,37.6086383],[23.3706717,37.6092649],[23.3703184,37.6096438],[23.3699599,37.6101286],[23.3694241,37.6105133],[23.3694425,37.6110182],[23.3693508,37.6111529],[23.3692904,37.6109205],[23.36911,37.6108114],[23.3690659,37.6106669],[23.369081,37.6102253],[23.3687521,37.6102596],[23.3685788,37.6106553],[23.3684283,37.6107469],[23.3679819,37.6102307],[23.3679718,37.6100865],[23.3681153,37.6098709],[23.3680257,37.6097442],[23.3673682,37.6097858],[23.3670614,37.6098923],[23.366582,37.6103133],[23.3660619,37.6101844],[23.3657684,37.6100566],[23.3652885,37.6092068],[23.3649742,37.6088626],[23.3646023,37.6086262],[23.3637079,37.6085493],[23.3639649,37.6089653],[23.3638932,37.6094066],[23.3637125,37.6093425],[23.3636701,37.6089998],[23.3633226,37.6085562],[23.3631643,37.6079853],[23.363329,37.6072651],[23.3632736,37.6071206],[23.3613588,37.6071373],[23.3594342,37.6069736],[23.3589175,37.6064481],[23.3578688,37.6058745],[23.3574993,37.6053678],[23.3574316,37.6053404],[23.3568306,37.6054092],[23.3567932,37.6058056],[23.3567017,37.6059042],[23.3562605,37.6058297],[23.3552279,37.6060134],[23.3547016,37.6066144],[23.3538843,37.6067992],[23.3525831,37.6079097],[23.35195,37.6087783],[23.3506153,37.6085185],[23.3499799,37.6086232],[23.3497347,37.6085678],[23.3485728,37.6079845],[23.3481678,37.6076578],[23.3476314,37.6068076],[23.3473582,37.6056614],[23.3472445,37.6057148],[23.3472638,37.6060935],[23.3469825,37.6071735],[23.346885,37.6079572],[23.3467253,37.6083191],[23.3456762,37.6090974],[23.3452307,37.6090206],[23.3437609,37.6086699],[23.3433416,37.6086856],[23.343386,37.608794],[23.3444928,37.6091968],[23.3450219,37.6095782],[23.3450636,37.6099931],[23.3449824,37.610209],[23.3448022,37.6103319],[23.3442749,37.6109058],[23.343792,37.6117053],[23.343223,37.6119906],[23.3428115,37.6124029],[23.3421395,37.6127957],[23.3413902,37.6129718],[23.3408699,37.6128608],[23.3407903,37.6128964],[23.3409587,37.6130776],[23.3408964,37.6131967],[23.340202,37.6137967],[23.3400508,37.6142375],[23.3400214,37.6150034],[23.3404142,37.6154383],[23.3406014,37.6160522],[23.3403563,37.6164993],[23.3400495,37.6168333],[23.3397649,37.6169849],[23.3395696,37.6172903],[23.3378987,37.6178758],[23.3367553,37.6190411],[23.3365024,37.6194453],[23.3365445,37.6198061],[23.3371637,37.6202602],[23.3372187,37.6204498],[23.336316,37.6200121],[23.3360247,37.6196409],[23.3359715,37.619253],[23.3361012,37.6185687],[23.3366979,37.6177248],[23.3367335,37.6175448],[23.3366247,37.6170394],[23.3367389,37.6169409],[23.33717,37.6168802],[23.3374893,37.6166477],[23.3375633,37.6159721],[23.3377474,37.6156577],[23.3377153,37.6154412],[23.3373008,37.6149071],[23.3372013,37.6146271],[23.3366831,37.6142907],[23.3362834,37.6141194],[23.3357168,37.6141343],[23.334892,37.6138683],[23.3347104,37.6139033],[23.3347545,37.6140387],[23.3357438,37.6145558],[23.3359852,37.6154405],[23.3359049,37.6155572],[23.3356324,37.6156188],[23.3343652,37.6154133],[23.3334306,37.6147591],[23.3332587,37.6146995],[23.3328286,37.614643],[23.3311643,37.6138675],[23.3305995,37.6137967],[23.3304739,37.6137869],[23.3298281,37.6137743],[23.3290831,37.6134636],[23.3278934,37.612213],[23.3277488,37.6119147],[23.3278779,37.6114107],[23.3285917,37.6101529],[23.3289122,37.6097942],[23.3289419,37.6090012],[23.3291415,37.6082272],[23.3293488,37.6078498],[23.3295544,37.6076617],[23.3302108,37.6075032],[23.330416,37.6073691],[23.3307029,37.6069562],[23.3307063,37.6065776],[23.3309585,37.6062456],[23.3310406,37.6059396],[23.3317362,37.6054298],[23.3316692,37.6053212],[23.3313755,37.6052294],[23.3303106,37.6052234],[23.3298179,37.6050876],[23.3297512,37.6049521],[23.3302601,37.6037922],[23.3309019,37.6029576],[23.3321288,37.602586],[23.3340732,37.6017768],[23.3354194,37.6007208],[23.3360024,37.6001292],[23.3365809,37.6000423],[23.3369448,37.5998821],[23.3371531,37.5993876],[23.3371785,37.5990813],[23.3368585,37.5981241],[23.3363109,37.5968771],[23.336486,37.5963013],[23.3369434,37.5958171],[23.3400038,37.59432],[23.3402437,37.594087],[23.3403823,37.5937904],[23.3410221,37.593163],[23.3415315,37.5932019],[23.341944,37.5939523],[23.3423861,37.5951986],[23.3426562,37.5954074],[23.3430853,37.595554],[23.3435342,37.5956377],[23.3439315,37.5955407],[23.3444434,37.5952912],[23.3449937,37.5948255],[23.3450757,37.5947584],[23.346749,37.5938303],[23.3468833,37.5937679],[23.3478336,37.5932639],[23.3493878,37.5929931],[23.3496027,37.5930213],[23.3494856,37.5933407],[23.3495644,37.5934042],[23.3515736,37.5929105],[23.3517426,37.5930106],[23.3515825,37.59319],[23.3516267,37.5933164],[23.3525225,37.5932041],[23.3529742,37.5933688],[23.3531219,37.5933156],[23.3533515,37.5929653],[23.3535884,37.5927954],[23.3545673,37.5922419],[23.3548734,37.5922075],[23.3551561,37.5922721],[23.3555796,37.592164],[23.3560608,37.5917768],[23.3563022,37.5913726],[23.3562615,37.5908406],[23.3561259,37.5901458],[23.3561417,37.5896231],[23.3563939,37.589273],[23.3567359,37.5890224],[23.3567735,37.588599],[23.356888,37.5884554],[23.3573084,37.5882955],[23.3579659,37.588236],[23.3577664,37.5877211],[23.3578245,37.5875502],[23.3580126,37.587416],[23.3590893,37.5873317],[23.3594188,37.5872163],[23.3604668,37.586519],[23.3609355,37.5860078],[23.3618458,37.5855169],[23.3621409,37.5854464],[23.3634885,37.5854717],[23.3646015,37.5851082],[23.364818,37.5849561],[23.3649694,37.5844702],[23.3653567,37.5842109],[23.3681486,37.5835319],[23.3697241,37.5833871],[23.3699186,37.5831537],[23.3695264,37.5826649],[23.3694054,37.5822407],[23.369975,37.5797042],[23.3702597,37.5795164],[23.3709363,37.5793082],[23.3711056,37.5793812],[23.3716,37.5798526],[23.3732615,37.580249],[23.3748562,37.5805098],[23.3757036,37.5807486],[23.3762454,37.5810917],[23.3769308,37.5817443],[23.3772647,37.5821968],[23.3777245,37.582064],[23.378637,37.5823933],[23.3794491,37.5827941],[23.3803534,37.5830152],[23.3814489,37.5835167],[23.3827158,37.5837036],[23.3831929,37.5839224],[23.383315,37.5842295],[23.3834275,37.5843112],[23.3836199,37.5843392],[23.3839853,37.584269],[23.3848598,37.5846657],[23.3855338,37.5853452],[23.3861654,37.585673],[23.3862545,37.5858627],[23.3865492,37.5858282],[23.3868996,37.5859201],[23.3875679,37.5859146],[23.3888462,37.586106],[23.3885356,37.5853022],[23.388589,37.584311],[23.3887915,37.5830952],[23.3892399,37.5822773],[23.3896175,37.5818106],[23.3900501,37.5815334]]},{"id":16977,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03ac\u03c3\u03c4\u03c1\u03bf \u03a6\u03b1\u03b2\u03b9\u03ad\u03c1\u03bf\u03c5","description_GR":"\u0394\u03b9\u03ac\u03c3\u03c7\u03b9\u03c3\u03b7 \u03c4\u03bf\u03c5 \u03b9\u03c3\u03b8\u03bc\u03bf\u03cd \u03c4\u03c9\u03bd \u039c\u03b5\u03b8\u03ac\u03bd\u03c9\u03bd","path":"PELOPONNESE\/Pelop_Methana_Favieros","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":1019,"name_EN":"Methana: Favieros castle","description_EN":"Crossing the methana isthmus","ascent_time":20,"descent_time":20,"marker":"Red_dots","level":10,"ascent":50,"descent":57,"maxelev":65,"minelev":4,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.36371 37.55473,23.36847 37.56092)","views":69,"millestones":"0,23.3684391,37.5550421#1,23.3642072,37.5608871","x":23.3651792,"y":37.5568431,"coor":[[23.3684391,37.5550421],[23.3684735,37.554862],[23.3682401,37.5547324],[23.367945,37.5548119],[23.3677059,37.5549729],[23.3673549,37.55498],[23.3673316,37.555052],[23.3671498,37.5551321],[23.366742,37.555157],[23.3664228,37.5554167],[23.3660212,37.5560454],[23.3657017,37.5563412],[23.3656778,37.5564943],[23.3654603,37.5567725],[23.365471,37.5568447],[23.3653228,37.5569701],[23.3652212,37.5569335],[23.3651792,37.5568431],[23.3646324,37.5572367],[23.3645292,37.5573804],[23.3644274,37.5573799],[23.3641765,37.5575858],[23.3638703,37.5576473],[23.363767,37.5578089],[23.3637768,37.5579893],[23.3639003,37.5581161],[23.3639209,37.5583596],[23.3640216,37.5584953],[23.3638612,37.5587198],[23.3638554,37.5593958],[23.3637148,37.5599539],[23.3639038,37.5603695],[23.3639227,37.5608022],[23.3640257,37.5609222],[23.3642072,37.5608871]]},{"id":16978,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1-\u0386\u03b3\u03b9\u03bf\u03c2 \u0391\u03bd\u03b4\u03c1\u03ad\u03b1\u03c2","description_GR":"","path":"PELOPONNESE\/Pelop_Methana_KameniChora_AgAndreas","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":2173,"name_EN":"Methana: Kameni Chora-Aghios Andreas","description_EN":"","ascent_time":40,"descent_time":40,"marker":"Red_dots","level":10,"ascent":32,"descent":234,"maxelev":229,"minelev":17,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.32236 37.61381,23.33339 37.6237)","views":69,"millestones":"0,23.3333769,37.6147385#1,23.3265426,37.6189980#2.2,23.3223577,37.6236214","x":23.3233718,"y":37.6209007,"coor":[[23.3333769,37.6147385],[23.3331972,37.6146902],[23.3328011,37.6146339],[23.3311367,37.6138696],[23.3305594,37.6138032],[23.330436,37.613789],[23.3303454,37.6139417],[23.3299927,37.6141019],[23.3297279,37.6145691],[23.3291352,37.6149533],[23.3277389,37.6165047],[23.3273175,37.6167546],[23.3265633,37.6174534],[23.3264354,37.6178132],[23.3266535,37.6187608],[23.3263992,37.6193182],[23.326361,37.6197867],[23.3262361,37.619813],[23.3252749,37.6195934],[23.3254222,37.6197137],[23.3249803,37.6197112],[23.3243551,37.6199329],[23.3243773,37.6199781],[23.3240811,37.6201567],[23.3244541,37.620258],[23.3239302,37.6205524],[23.3230662,37.6208629],[23.3233718,37.6209007],[23.3230642,37.6210792],[23.3226442,37.621167],[23.3227895,37.6213841],[23.3227214,37.6213927],[23.3227769,37.6215192],[23.3226637,37.6215096],[23.3227196,37.621591],[23.322685,37.6216629],[23.3227973,37.6217717],[23.322774,37.6218437],[23.3228965,37.6219616],[23.3231223,37.622053],[23.3230871,37.622188],[23.3233246,37.6222434],[23.3232553,37.6223782],[23.3231189,37.6224315],[23.3231284,37.6226299],[23.3235582,37.6225602],[23.3236823,37.6225114],[23.3239429,37.6225129],[23.3235883,37.6228804],[23.3236443,37.6229528],[23.3235522,37.6231055],[23.3227106,37.6234432],[23.3224137,37.6236939],[23.3223577,37.6236214]]},{"id":16979,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03b5\u03b3\u03b1\u03bb\u03bf\u03c7\u03ce\u03c1\u03b9-\u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03c4\u03c3\u03b1-\u039c\u03b1\u03ba\u03c1\u03cd\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u03a9\u03c1\u03b1\u03af\u03b1 \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03c0\u03ac\u03bd\u03c9 \u03b1\u03c0\u03cc \u03c4\u03bf \u039c\u03b5\u03b3\u03b1\u03bb\u03bf\u03c7\u03ce\u03c1\u03b9","path":"PELOPONNESE\/Pelop_Methana_Megalochori","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":3420,"name_EN":"Methana: Megalochori-Panagitsa-Makrylogos","description_EN":"A nice trail around Megalochori","ascent_time":90,"descent_time":75,"marker":"Red_dots","level":10,"ascent":541,"descent":119,"maxelev":671,"minelev":123,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.3559 37.59184,23.36628 37.6054)","views":61,"millestones":"0,23.3560161,37.5917879#1,23.3635601,37.5929873#2,23.3655092,37.5988812#3.4,23.3573891,37.6053401","x":23.3660201,"y":37.5970112,"coor":[[23.3560161,37.5917879],[23.3562149,37.5919692],[23.3562736,37.5920236],[23.3562269,37.5921766],[23.3562882,37.5922964],[23.3562433,37.5924944],[23.3563076,37.592515],[23.3567381,37.5923777],[23.3567702,37.5923553],[23.3568133,37.5923263],[23.3569725,37.5922505],[23.3571424,37.5922514],[23.3572985,37.5925407],[23.3574797,37.5925417],[23.357547,37.5926142],[23.3577265,37.5925723],[23.3578401,37.5925369],[23.3580194,37.5925153],[23.3582115,37.5925682],[23.3583687,37.5927313],[23.3585286,37.5925789],[23.358902,37.592617],[23.3588501,37.5920759],[23.3589741,37.5921397],[23.3589534,37.5919143],[23.3592581,37.5920421],[23.3597012,37.5918913],[23.3598933,37.5919464],[23.360256,37.5919123],[23.3604252,37.5919944],[23.3607542,37.591933],[23.3608323,37.5920777],[23.3611618,37.5919623],[23.3614097,37.5921078],[23.3617388,37.5920375],[23.361828,37.5922002],[23.3618264,37.5923895],[23.3619617,37.5924624],[23.362053,37.5923907],[23.3622452,37.5924278],[23.3624801,37.5927716],[23.3626609,37.5928267],[23.362775,37.5927281],[23.3630566,37.5929189],[23.3632493,37.5929019],[23.3633179,37.5928302],[23.3633962,37.5929388],[23.3639386,37.5930949],[23.3645947,37.5931976],[23.3650801,37.5933985],[23.3655307,37.5936894],[23.3656314,37.5938341],[23.3657156,37.593927],[23.365923,37.5940137],[23.3659787,37.5941222],[23.365898,37.594293],[23.3657157,37.5944182],[23.3657034,37.5945353],[23.366121,37.594871],[23.3661409,37.5949072],[23.3660893,37.5951052],[23.3661452,37.5951957],[23.3660901,37.5954342],[23.3662494,37.5953449],[23.3662464,37.5957055],[23.366176,37.5959935],[23.3660497,37.5961821],[23.3660711,37.5963354],[23.3658176,37.5968388],[23.3661584,37.5967325],[23.3660662,37.5969123],[23.3659295,37.5970017],[23.3660201,37.5970112],[23.3659738,37.5971191],[23.366054,37.5971443],[23.3658204,37.5973075],[23.3654343,37.5974136],[23.3653422,37.5975844],[23.3654779,37.5976212],[23.3654303,37.5978823],[23.3653086,37.5979628],[23.3654664,37.5980537],[23.3655213,37.5982613],[23.3653394,37.5983325],[23.3655754,37.5985591],[23.3655299,37.5985769],[23.3656755,37.5987759],[23.3655047,37.5988742],[23.3655383,37.5989284],[23.3654358,37.598991],[23.3654237,37.599081],[23.3655586,37.5991989],[23.3650593,37.5993044],[23.365081,37.5994127],[23.364911,37.5994298],[23.3648756,37.5995918],[23.3647959,37.5996365],[23.3648589,37.5999275],[23.3647893,37.6001254],[23.3650142,37.6003249],[23.3648895,37.6003333],[23.3647526,37.6004407],[23.3647519,37.6005308],[23.3646152,37.6006112],[23.3644409,37.601124],[23.3645639,37.601323],[23.3643379,37.6012497],[23.3644725,37.6014126],[23.3642229,37.6014473],[23.3643809,37.6015203],[23.3643916,37.6015925],[23.364051,37.6016808],[23.3640506,37.6017348],[23.36396,37.6017253],[23.3640046,37.6018157],[23.3638911,37.6018421],[23.3635176,37.601795],[23.3632002,37.6018204],[23.3630083,37.6017382],[23.3625767,37.6018711],[23.3620405,37.6023098],[23.361982,37.6025258],[23.3618236,37.602507],[23.3618118,37.602561],[23.361687,37.6025783],[23.361606,37.6027762],[23.3613661,37.6030092],[23.3610368,37.6030976],[23.3609,37.603205],[23.3608323,37.6031686],[23.360628,37.6032125],[23.3600824,37.6034259],[23.3599794,37.6035425],[23.3597976,37.6036136],[23.359774,37.6037217],[23.3594901,37.6037922],[23.3590452,37.6041594],[23.3589777,37.6040959],[23.3587507,37.6041488],[23.3583429,37.6041465],[23.3581145,37.6043526],[23.3579508,37.6049466],[23.3576089,37.6051791],[23.3574791,37.6054105],[23.3573891,37.6053401]]},{"id":16980,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03b5\u03b3\u03b1\u03bb\u03bf\u03c7\u03ce\u03c1\u03b9-\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf \u03ba\u03ad\u03bd\u03c4\u03c1\u03bf \u03c4\u03bf\u03c5 \u03bd\u03b7\u03c3\u03b9\u03bf\u03cd","path":"PELOPONNESE\/Pelop_Methana_Megalochori_Stavrologos","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":5003,"name_EN":"Methana: Megalochori-Stavrologos","description_EN":"To the center of the island","ascent_time":100,"descent_time":85,"marker":"Red_dots","level":10,"ascent":550,"descent":78,"maxelev":677,"minelev":123,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.35585 37.59189,23.37439 37.61105)","views":61,"millestones":"0,23.3560161,37.5917879#1,23.3635601,37.5929873#2,23.3670695,37.5979515#3,23.3735785,37.5997964#4,23.3687633,37.6068248#5,23.3693096,37.6111256","x":23.3664659,"y":37.5981222,"coor":[[23.3560161,37.5917879],[23.3561981,37.5919556],[23.3562736,37.5920236],[23.3562269,37.5921766],[23.3562882,37.5922964],[23.3562433,37.5924944],[23.3563076,37.592515],[23.3567381,37.5923777],[23.3567702,37.5923553],[23.3568133,37.5923263],[23.3569725,37.5922505],[23.3571424,37.5922514],[23.3572985,37.5925407],[23.3574797,37.5925417],[23.357547,37.5926142],[23.3577265,37.5925723],[23.3578401,37.5925369],[23.3580194,37.5925153],[23.3582115,37.5925682],[23.3583687,37.5927313],[23.3585286,37.5925789],[23.358902,37.592617],[23.3588501,37.5920759],[23.3589741,37.5921397],[23.3589534,37.5919143],[23.3592581,37.5920421],[23.3597012,37.5918913],[23.3598933,37.5919464],[23.360256,37.5919123],[23.3604252,37.5919944],[23.3607542,37.591933],[23.3608323,37.5920777],[23.3611618,37.5919623],[23.3614097,37.5921078],[23.3617388,37.5920375],[23.361828,37.5922002],[23.3618264,37.5923895],[23.3619617,37.5924624],[23.362053,37.5923907],[23.3622452,37.5924278],[23.3624801,37.5927716],[23.3626609,37.5928267],[23.362775,37.5927281],[23.3630566,37.5929189],[23.3632493,37.5929019],[23.3633179,37.5928302],[23.3633962,37.5929388],[23.3639386,37.5930949],[23.3645947,37.5931976],[23.3650801,37.5933985],[23.3655307,37.5936894],[23.3656314,37.5938341],[23.3657156,37.593927],[23.365923,37.5940137],[23.3659787,37.5941222],[23.365898,37.594293],[23.3657157,37.5944182],[23.3657034,37.5945353],[23.366121,37.594871],[23.3661409,37.5949072],[23.3660893,37.5951052],[23.3661452,37.5951957],[23.3660901,37.5954342],[23.3662494,37.5953449],[23.3662464,37.5957055],[23.366176,37.5959935],[23.3660497,37.5961821],[23.3660711,37.5963354],[23.3658176,37.5968388],[23.3661584,37.5967325],[23.3660662,37.5969123],[23.3659295,37.5970017],[23.3660201,37.5970112],[23.3659738,37.5971191],[23.366054,37.5971443],[23.3658204,37.5973075],[23.3654343,37.5974136],[23.3653422,37.5975844],[23.3654779,37.5976212],[23.3654303,37.5978823],[23.3655364,37.5979369],[23.3658657,37.5980919],[23.3664659,37.5981222],[23.3669881,37.5979898],[23.3677046,37.5976511],[23.3684582,37.5982861],[23.3686278,37.5983231],[23.3693557,37.5979845],[23.3700022,37.5978888],[23.3705246,37.5977293],[23.3709804,37.5974163],[23.3709636,37.5975604],[23.3711227,37.5975072],[23.3711328,37.5976514],[23.3718268,37.5972946],[23.3720018,37.5971986],[23.3725679,37.5972287],[23.3729521,37.5973389],[23.3731089,37.597556],[23.3736065,37.5979508],[23.3742167,37.5981343],[23.3743278,37.5983872],[23.3743338,37.5984751],[23.3742423,37.5985828],[23.3743177,37.5990519],[23.3742713,37.5991778],[23.3740882,37.5993932],[23.3736898,37.5996254],[23.3734947,37.5999218],[23.3727296,37.6006478],[23.3720349,37.6010858],[23.371455,37.6013441],[23.3712849,37.6013612],[23.3710798,37.6015043],[23.3708761,37.6014762],[23.370649,37.6015471],[23.3704212,37.6016901],[23.3703638,37.6017799],[23.3704075,37.6019695],[23.3705863,37.6022588],[23.3704028,37.6025283],[23.3703896,37.6027535],[23.3701473,37.603266],[23.3701901,37.6035637],[23.3700521,37.6038153],[23.3700274,37.6040495],[23.3697638,37.6044086],[23.3696684,37.604985],[23.3698447,37.6055718],[23.3696236,37.6062556],[23.3694862,37.6064351],[23.3689522,37.6066126],[23.3688039,37.606738],[23.3685616,37.6072504],[23.3684143,37.6072496],[23.3684246,37.6073759],[23.3678469,37.6073638],[23.3674482,37.607623],[23.3672308,37.6078652],[23.3667537,37.6080249],[23.3667757,37.6080971],[23.3670019,37.6081434],[23.3673762,37.6080913],[23.3676701,37.608174],[23.3678162,37.60831],[23.3676903,37.6084625],[23.367758,37.6086252],[23.3676426,37.6088679],[23.3677891,37.6089588],[23.3681523,37.6088886],[23.3683998,37.6090883],[23.3683982,37.6092866],[23.368556,37.6093775],[23.3682586,37.6097184],[23.3680878,37.6098167],[23.3679364,37.6100502],[23.367924,37.6101763],[23.3683838,37.6107286],[23.3685466,37.6106191],[23.3687277,37.6102572],[23.369034,37.6102138],[23.3690294,37.6107546],[23.369232,37.6109179],[23.3693096,37.6111256]]},{"id":17700,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1","description_GR":"\u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1-\u039c\u03b1\u03ba\u03c1\u03cd\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2-\u03a0\u03b1\u03bb\u03b9\u03ac \u039b\u03bf\u03c5\u03c4\u03c1\u03ac-\u03c0\u03b7\u03b3\u03ae \u039a\u03c1\u03bf","path":"PELOPONNESE\/Pelop_Methana_KameniChora_Makrylogos_Loop","activity_type":32,"assistance":2,"difficulty":2,"scenic_value":4,"length":9108,"name_EN":"Methana: Around Kameni Chora","description_EN":"Kameni Chora-Makrylogos-Palia Loutra-\u039a\u03c1\u03bf \u03c3\u03c0\u03c1\u03b9\u03bd\u03b3","ascent_time":215,"descent_time":210,"marker":"Red_dots","level":10,"ascent":668,"descent":668,"maxelev":573,"minelev":70,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.33322 37.61296,23.36099 37.63189)","views":39,"millestones":"0,23.3333769,37.6147385#1,23.3403217,37.6136410#2,23.3451823,37.6180308#3,23.3543954,37.6218219#4,23.3601722,37.6244474#5,23.3523535,37.6302309#6,23.3451358,37.6315876#7,23.3373607,37.6283070#8,23.3355050,37.6207388#9.1,23.3333791,37.6147385","x":23.3604793,"y":37.6241812,"coor":[[23.3333769,37.6147385],[23.3336831,37.6147132],[23.3342744,37.6148788],[23.3352953,37.6147493],[23.3354884,37.6146963],[23.3353645,37.6146055],[23.3356913,37.6145285],[23.3361286,37.6145309],[23.3362186,37.6146035],[23.3363765,37.6145594],[23.3366679,37.6142906],[23.3367144,37.6141557],[23.3369427,37.6139587],[23.3368761,37.6138051],[23.3371476,37.6138607],[23.3371034,37.6137342],[23.3372505,37.6137531],[23.3372514,37.6136449],[23.3374899,37.6135922],[23.3375479,37.6134303],[23.3377193,37.613269],[23.3376523,37.6131605],[23.337811,37.6131523],[23.3377328,37.6130257],[23.3378579,37.6129723],[23.3381412,37.6129739],[23.3381758,37.612902],[23.3387084,37.612896],[23.3387769,37.6128333],[23.3393763,37.6129628],[23.3396353,37.6131355],[23.3396345,37.6132257],[23.3397253,37.6132081],[23.3398056,37.6131004],[23.3397956,37.6129562],[23.3399643,37.6130923],[23.3402147,37.6129675],[23.3403046,37.6130491],[23.3405194,37.6131044],[23.3405752,37.6131949],[23.340655,37.6131412],[23.3408689,37.6131807],[23.3401144,37.6138142],[23.3399859,37.6142551],[23.340028,37.6146249],[23.3399799,37.6149311],[23.340294,37.6152934],[23.3405372,37.6159798],[23.3405011,37.6162229],[23.3402827,37.616447],[23.3404171,37.616628],[23.3403935,37.6167361],[23.3405745,37.6167641],[23.3405847,37.6168904],[23.3407999,37.6169096],[23.3408443,37.617009],[23.3409807,37.6169557],[23.3410371,37.616992],[23.3413564,37.6167595],[23.3420032,37.6166549],[23.3418324,37.6167441],[23.3417746,37.616879],[23.3418642,37.6169967],[23.3418298,37.6170415],[23.3419541,37.6170783],[23.3418743,37.6171409],[23.3418845,37.6172672],[23.3417697,37.6174288],[23.3419715,37.6176732],[23.3419538,37.6177543],[23.3423386,37.6178105],[23.3427923,37.6177589],[23.3433575,37.6179153],[23.3444235,37.6178131],[23.3447845,37.6179954],[23.345362,37.6180436],[23.3458137,37.6182174],[23.3464369,37.6182208],[23.3467853,37.6185472],[23.3475566,37.6184524],[23.3478161,37.61858],[23.3487791,37.6185943],[23.3493669,37.6187598],[23.3498399,37.6190959],[23.3501454,37.6191426],[23.3505519,37.6193071],[23.3507762,37.6195788],[23.3513525,37.6197622],[23.3517907,37.6201882],[23.3519376,37.6202341],[23.352049,37.62046],[23.3522624,37.6206775],[23.352376,37.6206421],[23.3524768,37.6207779],[23.352759,37.6209056],[23.353246,37.6209353],[23.3537547,37.6210733],[23.3540579,37.6213994],[23.3541234,37.6216882],[23.3543043,37.6217343],[23.3544166,37.621843],[23.3543674,37.6222934],[23.3544919,37.6223121],[23.3550246,37.6220176],[23.355205,37.6221177],[23.3552946,37.6222444],[23.3554833,37.6221666],[23.3554943,37.6222027],[23.3557772,37.6221231],[23.3560377,37.6220164],[23.3560613,37.6219084],[23.3562996,37.6218646],[23.3564806,37.6219106],[23.356549,37.6218569],[23.3567588,37.6218446],[23.3571,37.6216932],[23.3573586,37.6216856],[23.3574716,37.6217223],[23.3575669,37.6218399],[23.3574273,37.6219654],[23.357506,37.6220379],[23.3574828,37.6221099],[23.358094,37.6221853],[23.358218,37.6222581],[23.358161,37.6223029],[23.3587258,37.6225132],[23.3594398,37.6224991],[23.3601058,37.6228001],[23.3604966,37.6234783],[23.3606316,37.6235962],[23.3609028,37.6236878],[23.3607099,37.6237138],[23.3607322,37.6237589],[23.3606297,37.6238125],[23.3607766,37.6238673],[23.3604468,37.6240008],[23.3607295,37.6240744],[23.3607175,37.6241464],[23.3604793,37.6241812],[23.3605126,37.6242535],[23.3600571,37.6245124],[23.3599995,37.6246202],[23.3591391,37.6251902],[23.3591073,37.625217],[23.3585498,37.6254754],[23.3578412,37.6261813],[23.357749,37.6263521],[23.3572937,37.626593],[23.3570415,37.6269251],[23.3565163,37.6273729],[23.3561292,37.6275871],[23.3558644,37.6280634],[23.3557016,37.6285492],[23.3549564,37.6295366],[23.3542746,37.6297492],[23.3539093,37.6300536],[23.3534335,37.630033],[23.3528096,37.6301017],[23.3517757,37.6304024],[23.3512084,37.6304804],[23.3506319,37.630306],[23.3502145,37.6300874],[23.3492202,37.6297394],[23.3482814,37.6295359],[23.3478415,37.6292992],[23.3473658,37.6292605],[23.3469041,37.6289244],[23.3467458,37.6288875],[23.3466548,37.6289231],[23.3464296,37.6287596],[23.3462371,37.6287405],[23.3461198,37.6287939],[23.3460597,37.6291766],[23.3461964,37.6290963],[23.346298,37.6291419],[23.3461243,37.6295736],[23.3462598,37.6296194],[23.3461539,37.6300695],[23.3463104,37.6303137],[23.3460923,37.630637],[23.3459291,37.630911],[23.345526,37.6313572],[23.3449564,37.6316965],[23.3442421,37.6317286],[23.3437417,37.6319331],[23.3433562,37.631949],[23.3434151,37.631573],[23.3432371,37.6311935],[23.3430428,37.6309806],[23.3428615,37.6309796],[23.3425115,37.6308244],[23.3422991,37.6304987],[23.3422606,37.6303565],[23.3420792,37.6303736],[23.3417854,37.6302728],[23.3415382,37.6300371],[23.3412555,37.6299634],[23.341098,37.6298273],[23.3409844,37.6298627],[23.3409287,37.6297542],[23.34077,37.6297534],[23.3405103,37.6296437],[23.3401807,37.6297501],[23.3398108,37.6292973],[23.3394488,37.6292142],[23.3392699,37.6289428],[23.3390777,37.6288966],[23.3389541,37.6287698],[23.33875,37.6287866],[23.3384873,37.6290195],[23.3380003,37.6289807],[23.3376951,37.6288979],[23.3374815,37.6286984],[23.3372894,37.6286342],[23.3372459,37.6284357],[23.3373247,37.6284902],[23.3373935,37.6284005],[23.3373051,37.6281476],[23.3371813,37.6280478],[23.3367066,37.6279009],[23.3365289,37.6275033],[23.3363258,37.627403],[23.3357201,37.6266966],[23.3355659,37.626191],[23.3351632,37.6256028],[23.3350348,37.6247549],[23.3350365,37.6245656],[23.3351618,37.6244942],[23.3350872,37.623962],[23.334874,37.6237264],[23.3348535,37.623474],[23.3346853,37.6234347],[23.3348013,37.6232528],[23.3349392,37.6231657],[23.3350313,37.622995],[23.3349524,37.6229495],[23.3350321,37.6229139],[23.3349532,37.6228594],[23.3352297,37.6223562],[23.3351509,37.6222926],[23.3351753,37.6220945],[23.3353598,37.621735],[23.3352591,37.6215992],[23.335385,37.6214557],[23.3353187,37.6212661],[23.3354796,37.6210146],[23.3352992,37.6209054],[23.3354023,37.6207798],[23.3355271,37.6207625],[23.3353925,37.6206175],[23.3353937,37.6204733],[23.3351233,37.6203005],[23.3354456,37.6197435],[23.3355025,37.6197168],[23.3356376,37.6198077],[23.3356833,37.6197629],[23.3356757,37.6193482],[23.3358731,37.6188086],[23.3359835,37.6186222],[23.3358477,37.6186034],[23.3358376,37.6184591],[23.3359984,37.6182257],[23.3362951,37.617984],[23.3363304,37.61784],[23.3362636,37.6177044],[23.3363787,37.6175067],[23.3362468,37.6170463],[23.3362711,37.6168572],[23.3358569,37.616296],[23.3357215,37.6162322],[23.3357568,37.6160881],[23.3354537,37.615762],[23.3354109,37.6155995],[23.3343024,37.6153859],[23.3337399,37.6149321],[23.3333791,37.6147385]]},{"id":17814,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03b5\u03b3\u03b1\u03bb\u03bf\u03c0\u03bf\u03c4\u03ac\u03bc\u03b9-\u03a3\u03c4\u03ad\u03c1\u03bd\u03b1 \u0393\u03b1\u03bc\u03c0\u03c1\u03bf\u03cd","description_GR":"\u039c\u03b9\u03b1 \u03c3\u03b7\u03bc\u03b1\u03bd\u03c4\u03b9\u03ba\u03ae \u03c3\u03c5\u03bd\u03b4\u03b5\u03c4\u03b9\u03ba\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1","path":"PELOPONNESE\/Pelop_Methana_Megalopotami_SternaGabrou","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":2467,"name_EN":"Methana: Megalopotami-SternaGabrou","description_EN":"An importan connection trail","ascent_time":60,"descent_time":50,"marker":"Blue_dots","level":10,"ascent":355,"descent":25,"maxelev":456,"minelev":114,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.34479 37.59694,23.34941 37.61033)","views":22,"millestones":"0,23.3488139,37.5969400#1,23.3484935,37.6020313#2.5,23.3447873,37.6103318","x":23.3490235,"y":37.6008349,"coor":[[23.3488139,37.59694],[23.3491416,37.5972821],[23.3493414,37.5977519],[23.3493121,37.5978666],[23.3491129,37.5978475],[23.3491552,37.5979559],[23.3487481,37.5978725],[23.3485326,37.5979074],[23.34869,37.5980345],[23.3485758,37.598142],[23.3485228,37.5982566],[23.3485211,37.5984459],[23.3485992,37.5985815],[23.348496,37.5987342],[23.348722,37.5987985],[23.3484823,37.5990045],[23.348776,37.5990963],[23.3485594,37.5992483],[23.3487289,37.5993033],[23.3485805,37.5994287],[23.3488747,37.5994663],[23.3489083,37.5995206],[23.3486125,37.5996632],[23.3483974,37.599644],[23.3480569,37.5997142],[23.3479199,37.5998396],[23.3479647,37.599903],[23.3477825,37.6000101],[23.3477609,37.6001339],[23.3482019,37.6002265],[23.3482127,37.6002807],[23.3483148,37.6002632],[23.3482916,37.6003262],[23.3484275,37.6003359],[23.3484833,37.6004354],[23.348755,37.6004459],[23.3486174,37.6006434],[23.3487981,37.6007075],[23.3488198,37.6008158],[23.3490235,37.6008349],[23.3490003,37.6009069],[23.3492042,37.600908],[23.3491742,37.6009755],[23.3492874,37.6009851],[23.3493771,37.6010938],[23.3492392,37.6013116],[23.3491138,37.6015227],[23.3486696,37.6017997],[23.3485498,37.6020153],[23.3477435,37.6022452],[23.3473682,37.6024144],[23.3474813,37.602433],[23.3471971,37.6025396],[23.347412,37.6025859],[23.3472869,37.6026393],[23.3468789,37.6026551],[23.3464831,37.6025808],[23.3465077,37.6023556],[23.3462822,37.6022281],[23.3457023,37.6024773],[23.3453456,37.6031062],[23.3448779,37.6034732],[23.344853,37.6037254],[23.3450516,37.6043304],[23.3455751,37.6053608],[23.3462395,37.6058152],[23.3463853,37.6059872],[23.3462987,37.606816],[23.3465321,37.6073401],[23.346671,37.6082962],[23.3456503,37.6090612],[23.3454802,37.6090783],[23.3452294,37.6090093],[23.345255,37.6091965],[23.345401,37.6093505],[23.345308,37.6097353],[23.3451099,37.6102412],[23.3447873,37.6103318]]},{"id":17815,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u03a0\u03b1\u03bb\u03b9\u03ac \u039b\u03bf\u03c5\u03c4\u03c1\u03ac-\u039c\u03b1\u03ba\u03c1\u03cd\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2-\u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7\u03c2 \u0397\u03bb\u03af\u03b1\u03c2","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf \u03b2\u03c5\u03b6\u03b1\u03bd\u03b9\u03bd\u03cc \u03c0\u03b1\u03c1\u03b1\u03c4\u03b7\u03c1\u03b7\u03c4\u03ae\u03c1\u03b9\u03bf","path":"PELOPONNESE\/Pelop_Methana_Makrylogos_PrfIlias","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":3027,"name_EN":"Methana: Palia Loutra-Makrylogos-Profitis Ilias","description_EN":"Ascent to the byzantine watchtower","ascent_time":80,"descent_time":65,"marker":"Red_dots","level":10,"ascent":435,"descent":5,"maxelev":706,"minelev":268,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.3574 37.61269,23.3643 37.62518)","views":21,"millestones":"0,23.3591387,37.6251902#1,23.3602855,37.6213441#2,23.3637842,37.6138471#3,23.3575251,37.6140996","x":23.3640558,"y":37.6150948,"coor":[[23.3591387,37.6251902],[23.3599992,37.6246202],[23.3600568,37.6245124],[23.3605123,37.6242535],[23.3604789,37.6241812],[23.3607172,37.6241464],[23.3607291,37.6240744],[23.3604465,37.6240008],[23.3607762,37.6238673],[23.3606294,37.6238125],[23.3607318,37.6237589],[23.3607095,37.6237138],[23.3609024,37.6236878],[23.3606312,37.6235962],[23.3604963,37.6234783],[23.3601055,37.6228001],[23.3594395,37.6224991],[23.3587254,37.6225132],[23.3581607,37.6223029],[23.3582177,37.6222581],[23.3580937,37.6221853],[23.3574824,37.6221099],[23.3575057,37.6220379],[23.357427,37.6219654],[23.3575662,37.6218399],[23.3578578,37.6215261],[23.3586503,37.6216115],[23.3591579,37.6213934],[23.3596897,37.6214864],[23.3597688,37.6215027],[23.3599809,37.6214655],[23.360645,37.6212032],[23.3609194,37.6209163],[23.3614189,37.6208108],[23.361863,37.6205518],[23.3630755,37.6192244],[23.3632688,37.6183624],[23.3633376,37.6182637],[23.3637591,37.6180045],[23.3640931,37.6173664],[23.3640856,37.6169157],[23.3642021,37.6165378],[23.3642766,37.615781],[23.3640558,37.6150948],[23.3639738,37.6149953],[23.3639758,37.6147609],[23.3637104,37.6142345],[23.3638598,37.6139919],[23.3637018,37.613919],[23.3638045,37.6138294],[23.3640767,37.6138038],[23.3637161,37.6135675],[23.363559,37.6133864],[23.3635836,37.6131612],[23.3636521,37.6131052],[23.3635734,37.6130327],[23.3628378,37.6129296],[23.3626232,37.6128473],[23.3620005,37.6127899],[23.3619319,37.6128706],[23.361627,37.6127518],[23.3612756,37.6127679],[23.3609365,37.6126759],[23.3608568,37.6127206],[23.3609234,37.6128832],[23.3605276,37.6127909],[23.3596434,37.6128402],[23.3596091,37.6128761],[23.3597673,37.612931],[23.3595169,37.6130558],[23.3601036,37.6133474],[23.3599672,37.6134008],[23.3600349,37.6134372],[23.3594336,37.6135241],[23.3594557,37.6135873],[23.3590821,37.6135492],[23.358775,37.6136917],[23.358762,37.61389],[23.3585574,37.613961],[23.3583311,37.6139237],[23.3579894,37.6141381],[23.3578655,37.6140473],[23.3576491,37.6141813],[23.3576824,37.6142626],[23.3575355,37.6142168],[23.3575251,37.6140996]]},{"id":17816,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03b5\u03b3\u03b1\u03bb\u03bf\u03c7\u03ce\u03c1\u03b9-\u039c\u03b1\u03ba\u03c1\u03cd\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c4\u03bf \u039c\u03b5\u03b3\u03b1\u03bb\u03bf\u03c7\u03ce\u03c1\u03b9 \u03c3\u03c4\u03bf \u03bf\u03c1\u03bf\u03c0\u03ad\u03b4\u03b9\u03bf \u039c\u03b1\u03ba\u03c1\u03cd\u03bb\u03bf\u03b3\u03b3\u03bf","path":"PELOPONNESE\/Pelop_Methana_Megalochori_Makrylogos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":3701,"name_EN":"Methana: Megalochori-Makrylogos","description_EN":"From Megalochori to Makrylogos plateau","ascent_time":95,"descent_time":80,"marker":"No_marks","level":10,"ascent":455,"descent":58,"maxelev":555,"minelev":123,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.35183 37.5918,23.35847 37.60924)","views":23,"millestones":"0,23.3560161,37.5917879#1,23.3528563,37.5977739#2,23.3549641,37.6027669#3.7,23.3518318,37.6087618","x":23.3550537,"y":37.5993358,"coor":[[23.3560161,37.5917879],[23.3561689,37.5919262],[23.3562746,37.5920236],[23.356228,37.5921766],[23.3562893,37.5922964],[23.3562444,37.5924944],[23.3560714,37.592854],[23.355572,37.5929684],[23.3554351,37.5930759],[23.3551922,37.5931331],[23.3547541,37.5932344],[23.3546839,37.5934954],[23.354828,37.5938567],[23.3549194,37.5938978],[23.3550193,37.5941327],[23.3551806,37.595134],[23.3548168,37.5952853],[23.3546288,37.5960594],[23.3545027,37.5962389],[23.3543323,37.5962921],[23.3543252,37.5964656],[23.354563,37.5964669],[23.3546304,37.5965393],[23.3544698,37.5967728],[23.3543563,37.5967992],[23.3540178,37.5966351],[23.3537342,37.5966877],[23.3534154,37.5968752],[23.3531859,37.5972164],[23.3527542,37.5973583],[23.3528015,37.5974171],[23.3524895,37.5975957],[23.3529197,37.5977378],[23.3527614,37.5978293],[23.3528515,37.5978951],[23.3527786,37.5979668],[23.3529343,37.5981367],[23.3530649,37.5981081],[23.3531545,37.5982258],[23.3532854,37.5981454],[23.353829,37.5981664],[23.3541583,37.598078],[23.3545472,37.5981793],[23.3545388,37.5982424],[23.3543917,37.5982325],[23.3545941,37.5984049],[23.3549061,37.5985914],[23.3545101,37.5985351],[23.3546854,37.5986938],[23.3543454,37.59871],[23.3543108,37.5987819],[23.3545353,37.5990265],[23.3546831,37.5989552],[23.3547844,37.5990369],[23.3547492,37.5991809],[23.3548947,37.59938],[23.3550537,37.5993358],[23.3553185,37.6001484],[23.3552462,37.6006528],[23.3553575,37.6008877],[23.3549678,37.6014084],[23.3550239,37.6014718],[23.354921,37.6015794],[23.354795,37.6020316],[23.354852,37.6021063],[23.3547476,37.6023941],[23.3549641,37.6022511],[23.3548821,37.6025571],[23.3551101,37.6023961],[23.3549478,37.6028189],[23.3547536,37.6030071],[23.3547756,37.6030883],[23.35449,37.6033571],[23.3545917,37.6033938],[23.354454,37.6035913],[23.3547376,37.6035478],[23.3546337,37.6037725],[23.3549408,37.603639],[23.3548706,37.603891],[23.3549482,37.6040897],[23.3551086,37.6038833],[23.3550961,37.6040184],[23.3552102,37.6039199],[23.3552079,37.6041903],[23.3557846,37.6043106],[23.356159,37.6042586],[23.3563737,37.6043116],[23.3566686,37.6040315],[23.3570082,37.6040604],[23.3574818,37.6043154],[23.357579,37.6048747],[23.3573937,37.6053424],[23.3572532,37.6053416],[23.3574196,37.6057481],[23.3572488,37.6058464],[23.3572592,37.6059546],[23.3574276,37.6061358],[23.3578565,37.6063274],[23.3582503,37.606636],[23.3583383,37.6069429],[23.3581858,37.607555],[23.3576046,37.6079484],[23.3573726,37.6082829],[23.3567633,37.6082863],[23.3561844,37.6084094],[23.3555485,37.6084532],[23.3553663,37.6085604],[23.3549463,37.6086572],[23.3542408,37.6090049],[23.353929,37.6091654],[23.3530739,37.6092464],[23.3520685,37.6089073],[23.3518318,37.6087618]]},{"id":18368,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1-\u039a\u03c1\u03b1\u03c3\u03bf\u03c0\u03b1\u03bd\u03b1\u03b3\u03b9\u03ac","description_GR":"\u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1-\u039a\u03c1\u03b1\u03c3\u03bf\u03c0\u03b1\u03bd\u03b1\u03b3\u03b9\u03ac","path":"PELOPONNESE\/Pelop_Methana_KameniChora_Krasopanagia","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":3708,"name_EN":"Methana: Kameni Chora-Krasopanagia","description_EN":"Kameni Chora-Krasopanagia","ascent_time":80,"descent_time":85,"marker":"Red_dots","level":10,"ascent":130,"descent":349,"maxelev":229,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.30415 37.61095,23.33341 37.62)","views":10,"millestones":"0,23.3333769,37.6147385#1,23.3265426,37.6189980#2,23.3172087,37.6178872#3.7,23.3042386,37.6107847","x":23.3120496,"y":37.6173088,"coor":[[23.3333769,37.6147385],[23.3331972,37.6146902],[23.3328011,37.6146339],[23.3311367,37.6138696],[23.3305594,37.6138032],[23.330436,37.613789],[23.3303454,37.6139417],[23.3299927,37.6141019],[23.3297279,37.6145691],[23.3291352,37.6149533],[23.3277389,37.6165047],[23.3273175,37.6167546],[23.3265633,37.6174534],[23.3264354,37.6178132],[23.3266535,37.6187608],[23.3263992,37.6193182],[23.326361,37.6197867],[23.3262361,37.619813],[23.3252749,37.6195934],[23.3250145,37.6195739],[23.3244926,37.619643],[23.32356,37.6200163],[23.3229264,37.6199135],[23.3224733,37.6199019],[23.321259,37.6201022],[23.3209203,37.619965],[23.319379,37.6187484],[23.3183305,37.6181655],[23.3173585,37.6178985],[23.316362,37.6178206],[23.3159444,37.6176469],[23.314971,37.6175241],[23.3143607,37.6173583],[23.3133674,37.6169379],[23.3131293,37.6169546],[23.3120496,37.6173088],[23.3114321,37.6175418],[23.310844,37.6174212],[23.3102664,37.6173908],[23.3097015,37.6172072],[23.309308,37.6168714],[23.3092041,37.6164742],[23.3089914,37.6161936],[23.3089237,37.6161661],[23.3089241,37.6162292],[23.3085528,37.6159477],[23.3081432,37.6149087],[23.3077612,37.614564],[23.3076616,37.614302],[23.3073574,37.61412],[23.3071779,37.6139206],[23.3069666,37.6134958],[23.3068088,37.6134047],[23.3068334,37.6131975],[23.3067762,37.6132603],[23.3067199,37.6132239],[23.3065748,37.6129887],[23.3062255,37.6127793],[23.306193,37.6126169],[23.3057763,37.6123441],[23.305608,37.6121628],[23.3051906,37.6119711],[23.3050232,37.6116997],[23.3051036,37.611574],[23.3050135,37.6115194],[23.3050256,37.6114383],[23.3043482,37.611182],[23.3042369,37.610965],[23.3042836,37.610812],[23.3042386,37.6107847]]},{"id":18369,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1:\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2-\u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1","description_GR":"\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2-\u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1","path":"PELOPONNESE\/Pelop_Methana_Stavrologos_KameniChora","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":536,"name_EN":"Methana: Stavrologos-Kameni Chora","description_EN":"Stavrologos-Kameni Chora","ascent_time":80,"descent_time":90,"marker":"Red_dots","level":10,"ascent":85,"descent":480,"maxelev":620,"minelev":199,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.33055 37.6086,23.36934 37.61486)","views":21,"millestones":"0,23.3693191,37.6111257#1,23.3638288,37.6128467#2,23.3560177,37.6088820#3,23.3455906,37.6097502#4,23.3377600,37.6130700#0.5,23.3305587,37.6138054","x":23.3492928,"y":37.6087005,"coor":[[23.3693191,37.6111257],[23.3692514,37.6110893],[23.3692302,37.6109179],[23.3690277,37.6107546],[23.3690322,37.6102138],[23.368726,37.6102572],[23.3685473,37.6106191],[23.3683856,37.6107286],[23.3682558,37.6111741],[23.3679597,37.6113528],[23.3674269,37.611386],[23.3671086,37.6115104],[23.3670018,37.6117082],[23.3671672,37.6122408],[23.3662281,37.6124656],[23.3658642,37.6126169],[23.3656931,37.6127602],[23.3656252,37.6127418],[23.3656281,37.6124083],[23.3655252,37.6125159],[23.3654239,37.6124343],[23.3652872,37.6125237],[23.3652428,37.6124153],[23.3650378,37.6125404],[23.3650499,37.6124413],[23.3648588,37.612269],[23.3647431,37.6125478],[23.3646065,37.6126282],[23.3645729,37.6125739],[23.364413,37.6127263],[23.3644139,37.6126271],[23.3643108,37.6127528],[23.3642545,37.6127164],[23.3640485,37.6129586],[23.363872,37.6132281],[23.3637242,37.6131191],[23.3635847,37.6131612],[23.3636531,37.6131052],[23.3638826,37.612773],[23.3640104,37.6123951],[23.364039,37.6117012],[23.3639307,37.6113694],[23.3638091,37.6110082],[23.3633696,37.6107264],[23.3632351,37.6105635],[23.3620514,37.6098631],[23.3615234,37.6093374],[23.3612304,37.6091556],[23.3606308,37.6090532],[23.359486,37.6091101],[23.3590987,37.6089773],[23.3589853,37.6089947],[23.3582395,37.6087653],[23.357199,37.6085523],[23.3570052,37.6086865],[23.3564269,37.6087464],[23.3554156,37.6090834],[23.3551774,37.6091182],[23.3544526,37.6090872],[23.3539272,37.6091654],[23.3530721,37.6092463],[23.3520667,37.6089073],[23.3518301,37.6087618],[23.3514055,37.6087234],[23.3505238,37.6085023],[23.3502972,37.608501],[23.3499335,37.6086252],[23.3497244,37.6085767],[23.3492928,37.6087005],[23.3490102,37.6086269],[23.3484776,37.608633],[23.3477974,37.6086833],[23.3474114,37.6087713],[23.3463775,37.6091081],[23.3461036,37.6093319],[23.3459875,37.6096467],[23.3458517,37.6096369],[23.3454877,37.6097972],[23.345307,37.6097331],[23.3451089,37.610239],[23.3447862,37.6103296],[23.3441045,37.6110806],[23.3437363,37.6117185],[23.3432358,37.6119411],[23.3427216,37.6124339],[23.3419021,37.612853],[23.341414,37.6129584],[23.3408142,37.612883],[23.3407909,37.612955],[23.340903,37.6130818],[23.3408682,37.6131807],[23.3406543,37.6131412],[23.3405745,37.6131949],[23.3405187,37.6131044],[23.3403039,37.6130491],[23.340214,37.6129675],[23.3399636,37.6130923],[23.3397948,37.6129562],[23.3398049,37.6131004],[23.3397246,37.6132081],[23.3396338,37.6132256],[23.3396346,37.6131355],[23.3393756,37.6129628],[23.3387762,37.6128333],[23.3387077,37.612896],[23.3381751,37.612902],[23.3381405,37.6129739],[23.3378572,37.6129723],[23.3377321,37.6130257],[23.3378103,37.6131523],[23.3376516,37.6131605],[23.3377186,37.613269],[23.3375472,37.6134303],[23.3374891,37.6135922],[23.3372507,37.6136449],[23.3372498,37.6137531],[23.3371027,37.6137342],[23.3371469,37.6138607],[23.3368754,37.6138051],[23.336942,37.6139587],[23.3367137,37.6141557],[23.3366672,37.6142906],[23.3363758,37.6145594],[23.3362179,37.6146035],[23.3361279,37.6145309],[23.3356906,37.6145285],[23.3353638,37.6146078],[23.3354876,37.6146986],[23.3352945,37.6147516],[23.3342736,37.614881],[23.3336824,37.6147154],[23.3333762,37.6147408],[23.3331964,37.6146924],[23.3328004,37.6146361],[23.3311359,37.6138718],[23.3305587,37.6138054]]},{"id":18370,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03ad\u03b8\u03b1\u03bd\u03b1-\u039c\u03ac\u03bb\u03b9 \u039c\u03c0\u03ac\u03c1\u03b4\u03b9","description_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1-\u039c\u03ac\u03bb\u03b9 \u039c\u03c0\u03ac\u03c1\u03b4","path":"PELOPONNESE\/Pelop_Methana_Methana_MaliBardi1","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":3485,"name_EN":"Methana: Methana-Mali Bardi","description_EN":"Methana-Mali Bardi","ascent_time":70,"descent_time":60,"marker":"Red_dots","level":10,"ascent":343,"descent":3,"maxelev":341,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.37044 37.5674,23.39155 37.58058)","views":20,"millestones":"0,23.3914457,37.5806911#1,23.3856766,37.5760660#2,23.3819910,37.5700359#3.5,23.3705528,37.5676113","x":23.3824589,"y":37.5712255,"coor":[[23.3914457,37.5806911],[23.3913503,37.580596],[23.3905001,37.5797308],[23.3900912,37.5793141],[23.3898443,37.5790424],[23.3896184,37.5789579],[23.3890155,37.5787204],[23.3879609,37.5783296],[23.3877585,37.5781573],[23.3878514,37.5762312],[23.3877624,37.5760324],[23.3874695,37.5758507],[23.3874253,37.5757085],[23.3873332,37.575895],[23.3873788,37.5761183],[23.3874008,37.5761906],[23.3871615,37.5763786],[23.3867303,37.5764845],[23.386799,37.5763857],[23.3865829,37.5765018],[23.3865955,37.5763486],[23.3859389,37.5763182],[23.385422,37.5758287],[23.385185,37.5757284],[23.3851859,37.5756202],[23.3853444,37.575621],[23.3850304,37.5752498],[23.3847376,37.57505],[23.3852133,37.5750345],[23.3851459,37.574971],[23.3852592,37.5749626],[23.3851691,37.5749081],[23.3854184,37.5748913],[23.3852945,37.5748096],[23.3853628,37.5747649],[23.3852612,37.5747283],[23.3853305,37.5745574],[23.3851946,37.5745567],[23.3851194,37.5740605],[23.3849266,37.5741046],[23.38494,37.5738433],[23.3848735,37.5736717],[23.3849544,37.5734738],[23.3848189,37.573428],[23.3846396,37.5731928],[23.3842491,37.5724877],[23.3839216,37.5723688],[23.3836859,37.5721152],[23.3835952,37.5721327],[23.3834611,37.5719157],[23.3831904,37.5717881],[23.3831458,37.5716978],[23.3825923,37.5715326],[23.3824589,37.5712255],[23.3822895,37.5711795],[23.3822795,37.5710172],[23.382348,37.5709455],[23.3820208,37.5708086],[23.3820102,37.5707184],[23.38183,37.5705912],[23.3818664,37.570303],[23.3819929,37.5700693],[23.3819629,37.5695824],[23.3820433,37.5694477],[23.3819207,37.5692127],[23.3815931,37.5691118],[23.3812551,37.5689117],[23.3805422,37.5688449],[23.3800087,37.5690089],[23.3798379,37.5691251],[23.3798598,37.5692154],[23.3796556,37.5692594],[23.3796436,37.5693314],[23.3793154,37.5693117],[23.3793837,37.569276],[23.3793179,37.5690142],[23.3792389,37.5689868],[23.3791024,37.5690492],[23.3790124,37.5689856],[23.3788553,37.5688135],[23.3788113,37.568651],[23.378609,37.5684697],[23.3785764,37.5683073],[23.3783971,37.568081],[23.3781702,37.5681339],[23.3779675,37.5679976],[23.377854,37.5680331],[23.377844,37.5678708],[23.3777254,37.5677057],[23.3771573,37.567937],[23.3768966,37.5679717],[23.3764785,37.5678613],[23.3759709,37.5676243],[23.3758924,37.5675338],[23.3753279,37.5673325],[23.3751356,37.5673134],[23.3748746,37.5673842],[23.3743797,37.5676655],[23.374197,37.5678448],[23.3739781,37.5682943],[23.3734882,37.5686522],[23.3732496,37.5687411],[23.3723211,37.5687361],[23.3719034,37.5685807],[23.370683,37.5682858],[23.3705528,37.5676113]]},{"id":18371,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03ad\u03b8\u03b1\u03bd\u03b1-\u0398\u03c1\u03bf\u03bd\u03af-\u039c\u03ac\u03bb\u03b9 \u039c\u03c0\u03ac\u03c1\u03b4\u03b9","description_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1-\u0394\u03c1\u03b9\u03c4\u03c3\u03b1\u03af\u03b9\u03ba\u03b1-\u0398\u03c1\u03bf\u03bd\u03af-\u039c\u03ac\u03bb\u03b9 \u039c\u03c0\u03ac\u03c1\u03b4","path":"PELOPONNESE\/Pelop_Methana_Methana_MaliBardi2","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3951,"name_EN":"Methana: Methana-Throni-Mali Bardi","description_EN":"Methana-Dritseika-Throni-Mali Bardi","ascent_time":100,"descent_time":80,"marker":"Red_dots","level":10,"ascent":334,"descent":0,"maxelev":341,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.37041 37.5674,23.39155 37.58427)","views":17,"millestones":"0,23.3914457,37.5806911#1,23.3830152,37.5838376#2,23.3765568,37.5780425#3,23.3753120,37.5697382#4.0,23.3705493,37.5676091","x":23.3769986,"y":37.5753069,"coor":[[23.3914457,37.5806911],[23.3907287,37.5811313],[23.3900504,37.5815334],[23.3893767,37.5808269],[23.3889243,37.5811333],[23.3886152,37.5815463],[23.3878631,37.5821012],[23.3873041,37.5826031],[23.3855656,37.5832881],[23.3853378,37.5834491],[23.3849947,37.5838439],[23.384303,37.5839485],[23.3839833,37.5842623],[23.3836192,37.584337],[23.3834269,37.5843089],[23.3833143,37.5842272],[23.3831922,37.5839201],[23.3827151,37.5837013],[23.3814482,37.5835144],[23.3803523,37.5830129],[23.3799337,37.5829567],[23.3794481,37.5827919],[23.378636,37.582391],[23.3777237,37.5820797],[23.3778496,37.5819182],[23.377828,37.5817919],[23.3779317,37.5815761],[23.3773499,37.5807258],[23.3769907,37.5803363],[23.3765895,37.57955],[23.3764579,37.5790356],[23.3764967,37.5784589],[23.3765535,37.5784412],[23.3765516,37.5773055],[23.3766962,37.5762607],[23.3769986,37.5753069],[23.3773423,37.574831],[23.37739,37.5745428],[23.3772909,37.5742088],[23.3769771,37.5738106],[23.3768998,37.5735758],[23.3765296,37.5731592],[23.3766347,37.5727722],[23.3764781,37.572537],[23.3763129,37.5719773],[23.3759879,37.57157],[23.375673,37.571307],[23.3753379,37.5707644],[23.3752963,37.5703135],[23.3751159,37.5702224],[23.3753223,37.569917],[23.3752925,37.5694121],[23.3755895,37.5691072],[23.3754675,37.5688001],[23.3752091,37.5685554],[23.3752825,37.5678978],[23.3754195,37.5677634],[23.3759674,37.567622],[23.3758889,37.5675315],[23.3753244,37.5673302],[23.3751321,37.5673112],[23.3748711,37.5673819],[23.3743761,37.5676632],[23.3741935,37.5678425],[23.3739745,37.568292],[23.3734846,37.5686499],[23.3732461,37.5687388],[23.3723176,37.5687339],[23.3718999,37.5685784],[23.3706795,37.5682835],[23.3705493,37.5676091]]},{"id":18372,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03ad\u03b8\u03b1\u03bd\u03b1-\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1-\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","path":"PELOPONNESE\/Pelop_Methana_Methana_Stavrologos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":1371,"name_EN":"Methana: Methana-Stavrologos","description_EN":"Methana-Stavrologos","ascent_time":120,"descent_time":100,"marker":"Red_dots","level":10,"ascent":606,"descent":9,"maxelev":600,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.36932 37.5807,23.39277 37.61113)","views":15,"millestones":"0,23.3914457,37.5806911#1,23.3890697,37.5880210#2,23.3874940,37.5946646#3,23.3808901,37.6002662#4,23.3750757,37.6065752#1.4,23.3693195,37.6111257","x":23.3841781,"y":37.5972222,"coor":[[23.3914457,37.5806911],[23.3919291,37.5811443],[23.3927664,37.5816669],[23.3922696,37.5823088],[23.3918232,37.5828833],[23.3920249,37.5830241],[23.3918555,37.5832305],[23.391807,37.5836178],[23.3917043,37.5837164],[23.3914698,37.5837333],[23.3913545,37.583985],[23.3914181,37.5845262],[23.3909723,37.5850286],[23.3905967,37.585243],[23.3904326,37.5859272],[23.3904759,37.5861707],[23.3903722,37.5863955],[23.3899967,37.5866009],[23.3894718,37.5870759],[23.3891501,37.5876331],[23.3890277,37.5881935],[23.3893191,37.5885736],[23.3893017,37.5890084],[23.3887814,37.589355],[23.3887561,37.5896793],[23.388562,37.5898676],[23.3882667,37.5899652],[23.3881347,37.5899217],[23.3880426,37.5900925],[23.3879595,37.5905608],[23.3879757,37.5906645],[23.3881157,37.590859],[23.3880565,37.5911651],[23.3883296,37.5911395],[23.3881803,37.5913911],[23.3883168,37.5914549],[23.3885617,37.5914179],[23.3885723,37.591632],[23.3887071,37.5916372],[23.3884934,37.5918885],[23.3880558,37.5926298],[23.3884163,37.5925776],[23.3876508,37.593813],[23.3877659,37.5938496],[23.3876295,37.5940314],[23.3874194,37.5943976],[23.3875097,37.5944342],[23.3873375,37.5947217],[23.3876432,37.5946106],[23.3875407,37.5948039],[23.3873239,37.594992],[23.3870174,37.5950806],[23.3868328,37.5954852],[23.3863448,37.5955998],[23.3859487,37.5955437],[23.386016,37.5956252],[23.3858424,37.5956446],[23.3855715,37.5959564],[23.3853333,37.5960002],[23.3850373,37.5961789],[23.384603,37.5965124],[23.3844104,37.5969057],[23.3841781,37.5972222],[23.3839743,37.5973338],[23.383833,37.5975539],[23.383391,37.5978761],[23.382998,37.5984036],[23.3827975,37.5984228],[23.3826948,37.5985079],[23.3829207,37.5985857],[23.3822092,37.5990146],[23.3822042,37.5990574],[23.3823479,37.5990627],[23.3817359,37.5993929],[23.3812933,37.5997512],[23.3813246,37.5998167],[23.3810152,37.6002364],[23.3806407,37.6003246],[23.3807306,37.6004062],[23.3801058,37.6006192],[23.3799105,37.6009427],[23.3797867,37.6009758],[23.3795293,37.6012832],[23.3789844,37.6020893],[23.3789713,37.6023055],[23.3788797,37.6024222],[23.378992,37.602549],[23.3789447,37.6027831],[23.3790331,37.6030539],[23.3790314,37.6032522],[23.378883,37.6033957],[23.3789839,37.6035134],[23.3789564,37.6040991],[23.3785796,37.6044576],[23.3785222,37.6045475],[23.378567,37.6046018],[23.3783059,37.6046725],[23.3782416,37.6047826],[23.3780666,37.6048335],[23.377952,37.6049951],[23.3764067,37.6055368],[23.3759396,37.6058498],[23.3759955,37.6059402],[23.3758702,37.6060207],[23.3758923,37.6060839],[23.3756423,37.6061727],[23.3750802,37.6065866],[23.3750049,37.6064014],[23.3751906,37.6058796],[23.375007,37.606149],[23.374733,37.6064],[23.373776,37.6070439],[23.3733098,37.6072397],[23.3727299,37.6074935],[23.3722513,37.6078154],[23.3719584,37.6079941],[23.3714544,37.6086494],[23.3709866,37.6090435],[23.3705994,37.6092758],[23.3702743,37.6096706],[23.3699126,37.6101104],[23.3693768,37.6105041],[23.3693299,37.6106841],[23.3693835,37.6110449],[23.3693195,37.6111257]]},{"id":19659,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03b5\u03b3\u03b1\u03bb\u03bf\u03c0\u03bf\u03c4\u03ac\u03bc\u03b9-\u039c\u03b1\u03ba\u03c1\u03cd\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c4\u03bf \u039c\u03b5\u03b3\u03b1\u03bb\u03bf\u03c0\u03c4\u03ac\u03bc\u03b9 \u03c3\u03c4\u03bf \u03bf\u03c1\u03bf\u03c0\u03ad\u03b4\u03b9\u03bf \u039c\u03b1\u03ba\u03c1\u03cd\u03bb\u03bf\u03b3\u03b3\u03bf","path":"PELOPONNESE\/Pelop_Methana_Megalopotami_Makrylogos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":2154,"name_EN":"Methana: Megalopotami-Makrylogos","description_EN":"From Megalopotami to Makrylogos plateau","ascent_time":55,"descent_time":50,"marker":"No_marks","level":10,"ascent":427,"descent":4,"maxelev":550,"minelev":114,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.34772 37.59699,23.35765 37.60529)","views":3,"millestones":"0,23.3488139,37.5969400#1,23.3500052,37.6019051#2.2,23.3573926,37.6053447","x":23.3491742,"y":37.6009755,"coor":[[23.3488139,37.59694],[23.3491416,37.5972821],[23.3493414,37.5977519],[23.3493121,37.5978666],[23.3491129,37.5978475],[23.3491552,37.5979559],[23.3487481,37.5978725],[23.3485326,37.5979074],[23.34869,37.5980345],[23.3485758,37.598142],[23.3485228,37.5982566],[23.3485211,37.5984459],[23.3485992,37.5985815],[23.348496,37.5987342],[23.348722,37.5987985],[23.3484823,37.5990045],[23.348776,37.5990963],[23.3485594,37.5992483],[23.3487289,37.5993033],[23.3485805,37.5994287],[23.3488747,37.5994663],[23.3489083,37.5995206],[23.3486125,37.5996632],[23.3483974,37.599644],[23.3480569,37.5997142],[23.3479199,37.5998396],[23.3479647,37.599903],[23.3477825,37.6000101],[23.3477609,37.6001339],[23.3482019,37.6002265],[23.3482127,37.6002807],[23.3483148,37.6002632],[23.3482916,37.6003262],[23.3484275,37.6003359],[23.3484833,37.6004354],[23.348755,37.6004459],[23.3486174,37.6006434],[23.3487981,37.6007075],[23.3488198,37.6008158],[23.3490235,37.6008349],[23.3490003,37.6009069],[23.3492042,37.600908],[23.3491742,37.6009755],[23.3492874,37.6009851],[23.3493771,37.6010938],[23.3492392,37.6013116],[23.3494774,37.6012859],[23.3496463,37.6013949],[23.3497016,37.6015575],[23.3500158,37.6018927],[23.3499243,37.6020004],[23.3502045,37.6023444],[23.3501921,37.6024705],[23.350452,37.6025441],[23.3505753,37.602698],[23.3505632,37.602788],[23.3508911,37.602862],[23.3511839,37.6030619],[23.3511823,37.6032421],[23.3517116,37.6036056],[23.3518361,37.6036153],[23.3519922,37.6039136],[23.3519461,37.6039944],[23.3522613,37.6042305],[23.3525773,37.6043764],[23.352509,37.6044121],[23.3525765,37.6044666],[23.3524971,37.6044752],[23.3532885,37.6046598],[23.353924,37.6045371],[23.3544322,37.6047291],[23.3546587,37.6047304],[23.354862,37.6048036],[23.3555885,37.6046453],[23.3560081,37.6045935],[23.3562004,37.6046216],[23.3564956,37.6045511],[23.3565983,37.6044615],[23.356373,37.6043138],[23.3566675,37.6040338],[23.3570071,37.6040627],[23.3574808,37.6043176],[23.3575779,37.604877],[23.3573926,37.6053447]]},{"id":19660,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03cd\u03ba\u03bb\u03bf\u03c2 \u03c3\u03c4\u03b7\u03bd \u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03c4\u03c3\u03b1","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b7\u03bd \u0386\u03b3\u03b9\u03bf \u03a0\u03b1\u03bd\u03c4\u03b5\u03bb\u03b5\u03ae\u03bc\u03bf\u03bd\u03b1 \u03c3\u03c4\u03b7\u03bd \u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03c4\u03c3\u03b1","path":"PELOPONNESE\/Pelop_Methana_Panagitsa_loop","activity_type":32,"assistance":2,"difficulty":2,"scenic_value":3,"length":2900,"name_EN":"Methana: Panagitsa loop","description_EN":"From Agios Pandeleimon to Panagitsa","ascent_time":65,"descent_time":65,"marker":"Red_dots","level":10,"ascent":188,"descent":188,"maxelev":531,"minelev":372,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.36534 37.59049,23.37246 37.5983)","views":4,"millestones":"0,23.3721732,37.5904869#1,23.3662522,37.5953482#2,23.3712419,37.5971767#2.9,23.3721732,37.5904869","x":23.3660526,"y":37.5961821,"coor":[[23.3721732,37.5904869],[23.3721495,37.5906129],[23.372407,37.5909658],[23.3724489,37.5913806],[23.3714711,37.5919388],[23.3706024,37.5921933],[23.3698805,37.5922615],[23.3697624,37.5922812],[23.3694444,37.5923876],[23.3692148,37.592747],[23.3689766,37.5927817],[23.3687846,37.5927176],[23.3686701,37.5928612],[23.3685535,37.5932572],[23.3683852,37.593067],[23.368395,37.5932473],[23.3682683,37.59349],[23.3682123,37.5934176],[23.3682,37.5935347],[23.3681095,37.5935162],[23.368041,37.5935879],[23.3679506,37.5935604],[23.3679177,37.593434],[23.3677343,37.5936854],[23.3675639,37.5937476],[23.3671977,37.5941783],[23.3668109,37.5943835],[23.3666929,37.5945158],[23.3665327,37.5947133],[23.3661235,37.5948733],[23.3661437,37.5949095],[23.3660922,37.5951052],[23.366148,37.5951957],[23.3660929,37.5954342],[23.3662523,37.595345],[23.3662492,37.5957055],[23.3661788,37.5959935],[23.3660526,37.5961821],[23.3660739,37.5963355],[23.3658205,37.5968388],[23.3661612,37.5967325],[23.366069,37.5969123],[23.3659323,37.5970017],[23.3660229,37.5970112],[23.3659767,37.5971191],[23.3660568,37.5971466],[23.3658232,37.5973076],[23.3654371,37.5974136],[23.3653451,37.5975844],[23.3654807,37.5976212],[23.3654332,37.5978823],[23.3655392,37.5979392],[23.3658686,37.598092],[23.3664687,37.5981222],[23.3669909,37.5979898],[23.3677075,37.5976512],[23.3684611,37.5982861],[23.3686307,37.5983231],[23.3693585,37.5979845],[23.370005,37.5978888],[23.3705275,37.5977293],[23.3709832,37.5974163],[23.3712342,37.5972103],[23.3712695,37.5970573],[23.3703937,37.5961332],[23.3702273,37.5957087],[23.3701971,37.5939149],[23.3703398,37.5931135],[23.3704783,37.5928078],[23.3709926,37.5922697],[23.3714711,37.5919388],[23.3724489,37.5913806],[23.372407,37.5909658],[23.3721495,37.5906129],[23.3721732,37.5904869]]},{"id":19661,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03b1\u03bc\u03ad\u03bd\u03b7 \u03a7\u03ce\u03c1\u03b1-\u0397\u03c6\u03b1\u03af\u03c3\u03c4\u03b5\u03b9\u03bf-\u039a\u03b1\u03c3\u03c4\u03ad\u03bb\u03b9","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf\u03bd \u03ba\u03cd\u03c1\u03b9\u03bf \u03b7\u03c6\u03b1\u03b9\u03c3\u03c4\u03b5\u03b9\u03b1\u03ba\u03cc \u03ba\u03ce\u03bd\u03bf \u03c4\u03c9\u03bd \u039c\u03b5\u03b8\u03ac\u03bd\u03c9\u03bd","path":"PELOPONNESE\/Pelop_Methana_KameniChora_Volcano","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":1138,"name_EN":"Methana: Kameni Chora-Kasteli volcano","description_EN":"Ascent to major volcano of Methana","ascent_time":30,"descent_time":25,"marker":"Red_dots","level":10,"ascent":163,"descent":0,"maxelev":381,"minelev":217,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.33283 37.61476,23.3364 37.62016)","views":11,"millestones":"0,23.3333769,37.6147385#1.1,23.3329461,37.6186929","x":23.3356074,"y":37.6188611,"coor":[[23.3333769,37.6147385],[23.3337378,37.6149321],[23.3343003,37.6153859],[23.3354088,37.6155995],[23.3354516,37.6157619],[23.3357546,37.6160881],[23.3357194,37.6162321],[23.3358548,37.616296],[23.336269,37.6168572],[23.3362447,37.6170463],[23.3363766,37.6175067],[23.3362615,37.6177044],[23.3363283,37.6178399],[23.336293,37.617984],[23.3359962,37.6182256],[23.3358355,37.6184591],[23.3358456,37.6186034],[23.3359814,37.6186221],[23.335871,37.6188085],[23.3356074,37.6188611],[23.3354817,37.6189866],[23.335148,37.6195616],[23.3340887,37.6201685],[23.3339991,37.6200599],[23.3339414,37.6201677],[23.3339197,37.6200594],[23.3340454,37.6199429],[23.3340118,37.6199067],[23.333932,37.6199513],[23.3337977,37.6197703],[23.3336428,37.6193458],[23.3334627,37.6192096],[23.333067,37.6191172],[23.3330338,37.6190269],[23.332842,37.6189357],[23.3329226,37.6187919],[23.3328776,37.6187466],[23.3329461,37.6186929]]},{"id":20096,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03c5\u03c8\u03ad\u03bb\u03b7-\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b7\u03bd \u039a\u03c5\u03c8\u03ad\u03bb\u03b7 \u03c3\u03c4\u03b7\u03bd \u03ba\u03b1\u03c1\u03b4\u03b9\u03ac \u03c4\u03bf\u03c5 \u03b7\u03c6\u03b1\u03b9\u03c3\u03c4\u03b5\u03b9\u03b1\u03ba\u03bf\u03cd \u03c4\u03bf\u03c0\u03af\u03bf\u03c5","path":"PELOPONNESE\/Pelop_Methana_Kypseli_Stavrologos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3812,"name_EN":"Methana: Kypseli-Stavrologos","description_EN":"From Kypseli to the heart of volcaniv landscape","ascent_time":95,"descent_time":80,"marker":"Red_dots","level":10,"ascent":410,"descent":27,"maxelev":602,"minelev":218,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.36931 37.60983,23.3983 37.6117)","views":0,"millestones":"0,23.3982948,37.6101999#1,23.3899677,37.6111918#2,23.3869072,37.6105197#3,23.3765859,37.6102825#3.8,23.3693117,37.6111256","x":23.3874629,"y":37.6103763,"coor":[[23.3982948,37.6101999],[23.3980193,37.6106401],[23.3979588,37.6105429],[23.3975862,37.6103878],[23.3976024,37.6103563],[23.3973191,37.610231],[23.397024,37.6102925],[23.3970132,37.6102204],[23.3964373,37.6103774],[23.3959254,37.6106362],[23.3957097,37.6106892],[23.3954017,37.610949],[23.3948443,37.6112165],[23.3948337,37.6111353],[23.3941183,37.61133],[23.3939485,37.6113111],[23.3940178,37.6111492],[23.3933944,37.611182],[23.3929062,37.6112967],[23.3924079,37.6112761],[23.3923543,37.6111992],[23.3929882,37.6109726],[23.3930226,37.6109187],[23.3914683,37.6111811],[23.3902217,37.6112108],[23.3896103,37.6111625],[23.3895427,37.6111081],[23.3903143,37.6109679],[23.3909731,37.610773],[23.3923254,37.6102752],[23.3926554,37.6100966],[23.3926672,37.6100336],[23.3920997,37.6101569],[23.3905914,37.6103384],[23.3900137,37.6103264],[23.3881871,37.6101096],[23.3880766,37.6101564],[23.3879838,37.6104173],[23.3878927,37.6104709],[23.3877624,37.6097762],[23.3875885,37.6102597],[23.3874629,37.6103763],[23.3874221,37.6103918],[23.386918,37.6105154],[23.3867965,37.6105643],[23.386457,37.6105085],[23.3862641,37.6105435],[23.3860596,37.6106191],[23.3858556,37.610618],[23.3856602,37.6105336],[23.3848095,37.6106464],[23.3846963,37.6106368],[23.3846628,37.6105735],[23.3839359,37.610795],[23.3831537,37.610845],[23.3824635,37.6107243],[23.3820236,37.6104966],[23.3817181,37.6104409],[23.3815136,37.610512],[23.3813298,37.6108175],[23.3807895,37.610382],[23.3801563,37.6102345],[23.3799181,37.6102693],[23.3799515,37.6103415],[23.3792382,37.6102837],[23.3783771,37.6102792],[23.3782181,37.6103324],[23.3770287,37.6101707],[23.3761622,37.6103959],[23.3741978,37.6109083],[23.3738548,37.611285],[23.3731714,37.611705],[23.3729787,37.611722],[23.3722548,37.611574],[23.3719839,37.6114463],[23.3718271,37.6112405],[23.3717834,37.6110419],[23.3713018,37.6113481],[23.3709043,37.6114541],[23.370383,37.6114694],[23.3701119,37.6113688],[23.3693766,37.6112387],[23.3693117,37.6111256]]},{"id":20097,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03c5\u03c8\u03ad\u03bb\u03b7-\u039f\u03b3\u03ac\u03c2","description_GR":"\u039a\u03b1\u03c4\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf \u03ba\u03ac\u03c3\u03c4\u03c1\u03bf \u03c4\u03bf\u03c5 \u039f\u03b3\u03ac","path":"PELOPONNESE\/Pelop_Methana_Kypseli_Ogas","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":2310,"name_EN":"Methana: Kypseli-Ogas","description_EN":"From Kypseli to the Ogas mycenean acropolis","ascent_time":55,"descent_time":60,"marker":"Red_dots","level":10,"ascent":39,"descent":232,"maxelev":234,"minelev":21,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.39824 37.61028,23.41385 37.61702)","views":1,"millestones":"0,23.3982948,37.6101999#1,23.4077658,37.6138732#2.3,23.4138098,37.6149739","x":23.4102738,"y":37.6153889,"coor":[[23.3982948,37.6101999],[23.3985147,37.6103204],[23.3985085,37.6105187],[23.3987559,37.6106146],[23.3989923,37.6106766],[23.3992183,37.6107499],[23.3998414,37.6107531],[23.4001864,37.6108337],[23.4003656,37.6109608],[23.4004566,37.6109162],[23.4006489,37.6109532],[23.4010655,37.6112798],[23.4020929,37.6117267],[23.4026241,37.6118916],[23.4029301,37.6118841],[23.4032455,37.6121201],[23.4040697,37.6124758],[23.404727,37.612461],[23.4052128,37.6126348],[23.40583,37.6126739],[23.4062137,37.6128741],[23.4064288,37.6128932],[23.406404,37.6131635],[23.4065509,37.6132093],[23.4065843,37.6132816],[23.406901,37.6133553],[23.4070468,37.6135363],[23.4076902,37.613846],[23.4081196,37.6140014],[23.4082896,37.6139842],[23.4088769,37.6142305],[23.4089565,37.6143278],[23.4089896,37.6144361],[23.409339,37.6146722],[23.4094071,37.6146545],[23.4096654,37.6149442],[23.4097332,37.6149716],[23.4097566,37.6148816],[23.4098474,37.614855],[23.4100393,37.6149461],[23.4102738,37.6153889],[23.4103775,37.6154435],[23.4104776,37.615408],[23.4105814,37.6151742],[23.4107642,37.6149858],[23.4110229,37.6150862],[23.4109193,37.615293],[23.4109835,37.6157801],[23.411356,37.6159532],[23.411445,37.6161699],[23.4113969,37.6165122],[23.411486,37.6167109],[23.4113609,37.6167734],[23.4114401,37.6167918],[23.4114057,37.6168457],[23.4117001,37.6168652],[23.4118355,37.616938],[23.4117558,37.6169827],[23.4119137,37.6170736],[23.4118683,37.6170914],[23.4119137,37.6170736],[23.4117558,37.6169827],[23.4118355,37.616938],[23.4117001,37.6168652],[23.4114057,37.6168457],[23.4114401,37.6167918],[23.4113609,37.6167734],[23.411486,37.6167109],[23.4113969,37.6165122],[23.411445,37.6161699],[23.411356,37.6159532],[23.4109835,37.6157801],[23.4109193,37.615293],[23.4110229,37.6150862],[23.4115579,37.6149199],[23.4118385,37.6149371],[23.4126554,37.6148059],[23.4129834,37.6148797],[23.4134819,37.6148822],[23.4138098,37.6149739]]},{"id":20098,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039a\u03bf\u03c5\u03bd\u03bf\u03c5\u03c0\u03af\u03c4\u03c3\u03b1-\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b7\u03bd \u039a\u03bf\u03c5\u03bd\u03bf\u03c5\u03c0\u03af\u03c4\u03c3\u03b1 \u03c3\u03c4\u03b7\u03bd \u03ba\u03b1\u03c1\u03b4\u03b9\u03ac \u03c4\u03bf\u03c5 \u03b7\u03c6\u03b1\u03b9\u03c3\u03c4\u03b5\u03b9\u03b1\u03ba\u03bf\u03cd \u03c4\u03bf\u03c0\u03af\u03bf\u03c5","path":"PELOPONNESE\/Pelop_Methana_Kounoupitsa_Stavrologos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":5597,"name_EN":"Methana: Kounoupitsa-Stavrologos","description_EN":"From Kounoupitsa to the heart of volcaniv landscape","ascent_time":140,"descent_time":120,"marker":"Red_dots","level":10,"ascent":607,"descent":138,"maxelev":662,"minelev":132,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.36741 37.61117,23.37722 37.63207)","views":1,"millestones":"0,23.3750982,37.6315986#1,23.3678830,37.6297870#2,23.3749162,37.6288288#3,23.3747856,37.6239315#4,23.3739139,37.6196128#5.6,23.3693110,37.6111256","x":23.3739474,"y":37.6243503,"coor":[[23.3750982,37.6315986],[23.3746642,37.6318735],[23.3745892,37.6319046],[23.3743604,37.6320273],[23.3740321,37.6321067],[23.3739874,37.6320344],[23.3735806,37.631897],[23.3735679,37.6316401],[23.373477,37.6316576],[23.3728872,37.6315936],[23.3727187,37.6314125],[23.3724818,37.631285],[23.3720063,37.6312284],[23.3715336,37.6308383],[23.3713629,37.6309185],[23.3712898,37.631522],[23.3709604,37.6316104],[23.3708929,37.631556],[23.3710184,37.6314575],[23.3709968,37.6313312],[23.3707479,37.6312758],[23.3704123,37.6307602],[23.3701072,37.6306504],[23.3697239,37.630405],[23.3693619,37.630331],[23.3691148,37.6300683],[23.3681973,37.6300093],[23.36772,37.630169],[23.3674263,37.6301877],[23.3675758,37.6299316],[23.3701566,37.6287038],[23.3714404,37.6283141],[23.3721814,37.6278043],[23.3724072,37.6278956],[23.3725189,37.6280945],[23.3721472,37.6291651],[23.3722453,37.6296343],[23.3722083,37.6299947],[23.3723091,37.6301304],[23.3725133,37.6301135],[23.3740483,37.6294997],[23.3743104,37.6293388],[23.3745965,37.6289979],[23.3749266,37.6288238],[23.3750682,37.6285384],[23.3749093,37.6285736],[23.3748872,37.6285014],[23.3747053,37.6285726],[23.374786,37.6284107],[23.3747434,37.628086],[23.3746757,37.6280496],[23.3747329,37.6279778],[23.374563,37.6279679],[23.3745523,37.6278957],[23.3743819,37.6279399],[23.3743712,37.6278677],[23.3742466,37.6278581],[23.3741936,37.6274252],[23.3740812,37.6273164],[23.3741394,37.6271274],[23.3739609,37.626793],[23.3740308,37.626568],[23.373569,37.6262321],[23.3732664,37.6258339],[23.3727477,37.6255157],[23.372344,37.6250178],[23.3721178,37.6249625],[23.3720509,37.624836],[23.3726873,37.624614],[23.3737078,37.6245383],[23.3740146,37.6244498],[23.3739474,37.6243503],[23.3734388,37.6241854],[23.3740629,37.6240895],[23.374516,37.62411],[23.374471,37.6240737],[23.3747324,37.6239849],[23.3751781,37.6235366],[23.3757001,37.6234493],[23.3760982,37.6232711],[23.377012,37.6224016],[23.3771288,37.6219786],[23.3770398,37.6217889],[23.3765796,37.6212637],[23.3764217,37.6211637],[23.3763875,37.6211996],[23.3757126,37.6206011],[23.3754662,37.6202483],[23.3754297,37.6205546],[23.3753831,37.6206985],[23.375338,37.6206803],[23.3751822,37.6203369],[23.3750917,37.6203184],[23.3748792,37.6199838],[23.3745794,37.6192521],[23.3744186,37.6195127],[23.3743411,37.6192869],[23.3742836,37.6193948],[23.3741384,37.6191416],[23.3740571,37.6193756],[23.3740535,37.6198082],[23.3738743,37.6195549],[23.3737942,37.6196536],[23.3732928,37.6186324],[23.3732534,37.6179292],[23.3731965,37.6179559],[23.3731864,37.6178116],[23.3731294,37.6178564],[23.3730734,37.617775],[23.3731195,37.6176761],[23.3728683,37.6179091],[23.3726723,37.6183046],[23.3726363,37.6172048],[23.3725688,37.6171414],[23.3724774,37.617231],[23.3724328,37.6171497],[23.3723641,37.6172304],[23.3721417,37.6167245],[23.3720503,37.6168231],[23.3718856,37.6161913],[23.37154,37.6155225],[23.3717797,37.6153165],[23.3718264,37.6151455],[23.3719177,37.6150739],[23.3719887,37.6147137],[23.372125,37.6146694],[23.3722487,37.6147782],[23.3721937,37.6145886],[23.371925,37.6142086],[23.372417,37.6136344],[23.3725593,37.6131755],[23.372604,37.6129504],[23.3722209,37.612705],[23.37108,37.6122843],[23.3701854,37.6122254],[23.3697456,37.6119887],[23.3698026,37.611944],[23.369771,37.6116554],[23.3695452,37.611564],[23.3695236,37.6114377],[23.3693759,37.6112387],[23.369311,37.6111256]]},{"id":20099,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u039c\u03ad\u03b8\u03b1\u03bd\u03b1-\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1-\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","path":"PELOPONNESE\/Pelop_Methana_Methana_Stavrologos2","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":6639,"name_EN":"Methana: Methana-Stavrologos","description_EN":"Methana-Stavrologos","ascent_time":165,"descent_time":145,"marker":"Red_dots","level":10,"ascent":680,"descent":79,"maxelev":602,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.3693 37.5807,23.39383 37.6117)","views":1,"millestones":"0,23.3914457,37.5806911#1,23.3890697,37.5880210#2,23.3928785,37.5919889#3,23.3911569,37.5972684#4,23.3878369,37.6044564#5,23.3846640,37.6105778#6.6,23.3693103,37.6111256","x":23.3908811,"y":37.5966013,"coor":[[23.3914457,37.5806911],[23.3919291,37.5811443],[23.3927664,37.5816669],[23.3922696,37.5823088],[23.3918232,37.5828833],[23.3920249,37.5830241],[23.3918555,37.5832305],[23.391807,37.5836178],[23.3917043,37.5837164],[23.3914698,37.5837333],[23.3913545,37.583985],[23.3914181,37.5845262],[23.3909723,37.5850286],[23.3905967,37.585243],[23.3904326,37.5859272],[23.3904759,37.5861707],[23.3903722,37.5863955],[23.3899967,37.5866009],[23.3894718,37.5870759],[23.3891501,37.5876331],[23.3890277,37.5881935],[23.3893191,37.5885736],[23.3893017,37.5890084],[23.3887814,37.589355],[23.3887561,37.5896793],[23.388562,37.5898676],[23.3882667,37.5899652],[23.3881379,37.589915],[23.3880459,37.5900857],[23.3879627,37.590563],[23.3879643,37.5906644],[23.3880125,37.5907097],[23.3880907,37.5908363],[23.3881167,37.590859],[23.3889799,37.5905751],[23.3893447,37.5905454],[23.3894349,37.5905999],[23.3897861,37.5905927],[23.3897625,37.5907008],[23.389853,37.5907193],[23.3900465,37.5906031],[23.3903984,37.5905148],[23.3905794,37.5905428],[23.3908069,37.5904268],[23.3910102,37.5904909],[23.3911579,37.5904376],[23.3916221,37.590467],[23.3915645,37.5905839],[23.39187,37.5906215],[23.3920501,37.5907577],[23.3917889,37.5908464],[23.3919801,37.5910097],[23.3920444,37.5914607],[23.3921445,37.5916865],[23.3932509,37.5921429],[23.3933516,37.5922876],[23.3937353,37.5924698],[23.3934149,37.5928648],[23.3929719,37.5930247],[23.3930157,37.5932052],[23.3929474,37.59325],[23.3930828,37.5933137],[23.3929577,37.5933762],[23.3932623,37.593522],[23.3932374,37.5938013],[23.3928622,37.5939796],[23.3922381,37.5941026],[23.3922942,37.594175],[23.3922255,37.5942647],[23.3923833,37.5943647],[23.392134,37.5943724],[23.3920652,37.5944802],[23.3916681,37.5945503],[23.391848,37.5947135],[23.3914517,37.5947024],[23.3916322,37.5947845],[23.3914167,37.5948194],[23.3911409,37.5953047],[23.3911973,37.5953411],[23.3913905,37.5952609],[23.3913672,37.5953419],[23.391515,37.5952706],[23.391479,37.5955138],[23.3911933,37.5958278],[23.3910989,37.5962869],[23.3909392,37.5964303],[23.3910632,37.5965031],[23.3908811,37.5966013],[23.3911304,37.5965936],[23.390959,37.5967729],[23.3912589,37.5975046],[23.3911671,37.5976483],[23.3912802,37.5976759],[23.3912454,37.5977749],[23.3913566,37.5980279],[23.3913688,37.5979198],[23.3914936,37.5978934],[23.3915256,37.5981459],[23.3913191,37.5984603],[23.3912948,37.5986585],[23.3909549,37.5989767],[23.3907012,37.5995252],[23.390462,37.5996772],[23.3903132,37.5998657],[23.3901751,37.5999641],[23.3898461,37.6000165],[23.3892771,37.600338],[23.3891161,37.6006347],[23.3889114,37.6007237],[23.3886239,37.601245],[23.3881631,37.6016685],[23.3876986,37.6030541],[23.3874686,37.6034676],[23.3874674,37.6036118],[23.3876023,37.6037477],[23.3877676,37.6038747],[23.3877999,37.6040822],[23.3879685,37.6042453],[23.3878192,37.6044879],[23.387169,37.6050343],[23.3868364,37.6055283],[23.386674,37.6059872],[23.386622,37.6068071],[23.3864511,37.6069144],[23.3864742,37.607426],[23.3866735,37.6079859],[23.3868301,37.6082391],[23.3873031,37.608584],[23.3876171,37.6089822],[23.3877732,37.6092895],[23.3877138,37.6096137],[23.387761,37.6097762],[23.3875871,37.6102597],[23.3874615,37.6103762],[23.3874207,37.6103918],[23.3869165,37.6105154],[23.3867951,37.6105643],[23.3864556,37.6105085],[23.3862627,37.6105435],[23.3860582,37.6106191],[23.3858542,37.610618],[23.3856588,37.6105336],[23.3848081,37.6106464],[23.3846949,37.6106368],[23.3846614,37.6105735],[23.3839345,37.610795],[23.3831523,37.610845],[23.3824621,37.6107242],[23.3820221,37.6104966],[23.3817167,37.6104409],[23.3815122,37.610512],[23.3813284,37.6108175],[23.3807881,37.610382],[23.3801549,37.6102344],[23.3799167,37.6102692],[23.37995,37.6103415],[23.3792367,37.6102837],[23.3783757,37.6102792],[23.3782166,37.6103324],[23.3770273,37.6101707],[23.3761611,37.6103959],[23.3741968,37.6109083],[23.3738537,37.611285],[23.3731704,37.611705],[23.3729776,37.611722],[23.3722537,37.611574],[23.3719829,37.6114463],[23.371826,37.6112405],[23.3717823,37.6110419],[23.3713004,37.6113481],[23.3709029,37.6114541],[23.3703816,37.6114694],[23.3701105,37.6113688],[23.3693752,37.6112387],[23.3693103,37.6111256]]},{"id":20100,"author":"AnaDigit","name_GR":"\u039c\u03ad\u03b8\u03b1\u03bd\u03b1: \u0386\u03b3\u03b9\u03bf\u03c2 \u039d\u03b9\u03ba\u03cc\u03bb\u03b1\u03bf\u03c2-\u039c\u03b1\u03ba\u03c1\u03cd\u03bb\u03bf\u03b3\u03b3\u03bf\u03c2","description_GR":"\u0391\u03c0\u03cc \u03c4\u03b7 \u03b8\u03ac\u03bb\u03b1\u03c3\u03c3\u03b1 \u03c3\u03c4\u03b1 \u03bf\u03c1\u03b5\u03b9\u03bd\u03ac \u03c7\u03c9\u03c1\u03b9\u03ac","path":"PELOPONNESE\/Pelop_Methana_AgNikolaos_Makrylogos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":2522,"name_EN":"Methana: Agios Nikolaos-Makrylogos","description_EN":"From the sea level to the mountain villages","ascent_time":65,"descent_time":50,"marker":"Red_dots","level":10,"ascent":382,"descent":5,"maxelev":392,"minelev":11,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(23.35226 37.62186,23.36092 37.63663)","views":0,"millestones":"0,23.3522571,37.6366310#1,23.3571407,37.6300128#2.5,23.3575662,37.6218399","x":23.3583904,"y":37.6282844,"coor":[[23.3522571,37.636631],[23.3523872,37.6365371],[23.352898,37.6364498],[23.353082,37.6361443],[23.3532129,37.6359535],[23.3531576,37.6358],[23.3532375,37.6357283],[23.3532163,37.6355659],[23.3533082,37.6354222],[23.3536941,37.6353522],[23.3541515,37.6348951],[23.3542213,37.6346791],[23.3543586,37.6345357],[23.3543827,37.6343646],[23.3545085,37.63423],[23.354374,37.6340671],[23.3547942,37.6339612],[23.354798,37.6335196],[23.3546771,37.6330863],[23.3548494,37.6328168],[23.355001,37.6323309],[23.3551722,37.6321877],[23.3550601,37.6320428],[23.3552081,37.6319715],[23.3554567,37.632054],[23.3554919,37.631919],[23.3554242,37.6318826],[23.3557098,37.6316137],[23.355949,37.6314799],[23.3565281,37.6313478],[23.3565193,37.6310503],[23.3567604,37.6306911],[23.3568308,37.6304121],[23.3570946,37.630053],[23.3573344,37.629847],[23.3575435,37.6292533],[23.3577841,37.6289481],[23.3578199,37.628732],[23.3579792,37.6286607],[23.3581604,37.6286798],[23.3583904,37.6282844],[23.3586306,37.6280334],[23.3589081,37.6273859],[23.358818,37.6273223],[23.3588981,37.6272326],[23.3588077,37.6271961],[23.3588889,37.6269802],[23.3591636,37.6266662],[23.3592348,37.6262881],[23.3594079,37.6259285],[23.359238,37.6259185],[23.3591008,37.626062],[23.359067,37.6260348],[23.3595826,37.6253796],[23.3590424,37.6254398],[23.3590087,37.6254035],[23.3591387,37.6251902],[23.3599992,37.6246202],[23.3600568,37.6245124],[23.3605123,37.6242535],[23.3604789,37.6241812],[23.3607172,37.6241464],[23.3607291,37.6240744],[23.3604465,37.6240008],[23.3607762,37.6238673],[23.3606294,37.6238125],[23.3607318,37.6237589],[23.3607095,37.6237138],[23.3609024,37.6236878],[23.3606312,37.6235962],[23.3604963,37.6234783],[23.3601055,37.6228001],[23.3594395,37.6224991],[23.3587254,37.6225132],[23.3581607,37.6223029],[23.3582177,37.6222581],[23.3580937,37.6221853],[23.3574824,37.6221099],[23.3575057,37.6220379],[23.357427,37.6219654],[23.3575662,37.6218399]]}],{"extent":[23.30415,37.55473,23.41385,37.63663],"advPath":"http:\/\/www.topoguide.gr\/adventure.php?l=el&ul=1&a=","style":{"default":{"color":"#ff612f","width":3,"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},"Geology\/GEO_Methana_Volcano_ascent":{"url":null,"color":"#57ac33","width":3,"exclude":false,"useStyle":true},"Geology\/GEO_Methana_Volcano_tour":{"url":null,"color":"#57ac33","width":3,"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_methana = new getPoiCollection("methana",[],{});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="
Ανάβαση στο ηφαίστειο
Ηφαιστειακή διαδρομή
Άγιος Νικόλαος-Μακρύλογγος
Κάστρο Φαβιέρου
Καμένη Χώρα-Άγιος Ανδρέας
Καμένη Χώρα-Κρασοπαναγιά
Καμένη Χώρα
Καμένη Χώρα-Ηφαίστειο-Καστέλι
Κουνουπίτσα-Σταυρόλογγος
Κυψέλη-Ογάς
Κυψέλη-Σταυρόλογγος
Παλιά Λουτρά-Μακρύλογγος-Προφήτης Ηλίας
Μεγαλοχώρι-Παναγίτσα-Μακρύλογγος
Μεγαλοχώρι-Μακρύλογγος
Μεγαλοχώρι-Σταυρόλογγος
Μεγαλοποτάμι-Μακρύλογγος
Μεγαλοποτάμι-Στέρνα Γαμπρού
Μέθανα-Μάλι Μπάρδι
Μέθανα-Θρονί-Μάλι Μπάρδι
Μέθανα-Σταυρόλογγος
Μέθανα-Σταυρόλογγος
Κύκλος στην Παναγίτσα
Σταυρόλογγος-Καμένη Χώρα
";}else{console.log('adventure list widget activated but div missing. Requested id: pathList');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["methana"],pc:["methana"],url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo/{z}/{x}/{-y}.png',showLogo: 1,showZoomTool: 1}; var overrideAfterLoad = function(map){ adventureCollection_methana.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); }