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 = "en";(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_amorgos = new getAdventureCollection("amorgos",[{"id":18732,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 3\u03b5 \u0391\u03c1\u03ba\u03b5\u03c3\u03af\u03bd\u03b7-\u039a\u03ac\u03c4\u03c9 \u039a\u03ac\u03bc\u03c0\u03bf\u03c2","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 3","path":"ISLANDS\/Islands_Amorgos_Arkesini_KatoKambos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":3428,"name_EN":"Amorgos: 3e Arkesini-Kato Kambos","description_EN":"Trail 3","ascent_time":75,"descent_time":85,"marker":"Red_dots","level":13,"ascent":30,"descent":229,"maxelev":202,"minelev":1,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.78153 36.78754,25.80134 36.80607)","views":4,"millestones":"0,25.8013408,36.7875443#1,25.7946039,36.7933871#2,25.7850952,36.7966485#3,25.7820971,36.8035098#3.4,25.7841060,36.8059797","x":25.7856434,"y":36.7964024,"coor":[[25.8013408,36.7875443],[25.8004309,36.78802],[25.8002223,36.7882034],[25.8001308,36.7886014],[25.7997786,36.7893548],[25.7996452,36.7898796],[25.7994842,36.7901525],[25.798496,36.790546],[25.7966847,36.7907266],[25.7967724,36.7910024],[25.7967271,36.7914628],[25.7964322,36.7922695],[25.7960462,36.7926584],[25.7953556,36.79284],[25.7949797,36.793062],[25.7942658,36.7936857],[25.7937686,36.7939907],[25.7931016,36.7947038],[25.7927247,36.7948807],[25.7924467,36.794975],[25.791661,36.7949238],[25.7911245,36.794986],[25.7894283,36.7952999],[25.7884741,36.7952332],[25.7880289,36.795366],[25.7871084,36.7957855],[25.7865059,36.7959027],[25.7856434,36.7964024],[25.7855491,36.7962055],[25.7854827,36.7962426],[25.7853965,36.7963881],[25.7849791,36.7967549],[25.7838111,36.7976197],[25.7833571,36.7983385],[25.7832898,36.7983395],[25.7823948,36.7998582],[25.7823097,36.7995711],[25.7821234,36.7997541],[25.7818266,36.8004887],[25.7817457,36.8008684],[25.7817832,36.8015168],[25.781486,36.8012689],[25.78142,36.801324],[25.7817418,36.8026351],[25.7816869,36.8027757],[25.7820141,36.803262],[25.7821103,36.80354],[25.7818275,36.8039138],[25.7817823,36.8043831],[25.7825506,36.8051287],[25.7830036,36.8053293],[25.7835113,36.8059526],[25.7838159,36.8060382],[25.784106,36.8059797]]},{"id":18733,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u03a7\u03ce\u03c1\u03b1-\u039c. \u03a7\u03bf\u03b6\u03bf\u03b2\u03b9\u03cc\u03c4\u03b9\u03c3\u03b1\u03c2","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 1","path":"ISLANDS\/Islands_Amorgos_Chora_Chozoviotissa","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":1572,"name_EN":"Amorgos: Chora-Chozoviotissa mon.","description_EN":"Trail 1","ascent_time":30,"descent_time":40,"marker":"Red_dots","level":12,"ascent":9,"descent":198,"maxelev":327,"minelev":122,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.89856 36.83025,25.90909 36.83245)","views":15,"millestones":"0,25.8985432,36.8316303#1,25.9049889,36.8309501#1.6,25.9091418,36.8322222","x":25.9047647,"y":36.8314294,"coor":[[25.8985432,36.8316303],[25.8986577,36.8316713],[25.8989302,36.831721],[25.8992132,36.8317458],[25.9001609,36.8320101],[25.9004188,36.8321524],[25.9012595,36.8322291],[25.9024206,36.832393],[25.9028624,36.8321246],[25.9033008,36.8322235],[25.9034587,36.8322052],[25.9033268,36.831858],[25.9033077,36.8315406],[25.9039895,36.8319082],[25.9040178,36.8316915],[25.9038981,36.8312991],[25.9049,36.8319139],[25.9047647,36.8314294],[25.9048776,36.8314636],[25.9045067,36.8309738],[25.9047674,36.8310868],[25.9047288,36.8308892],[25.9048274,36.8308808],[25.9049886,36.8309661],[25.904995,36.8303171],[25.9053125,36.8309159],[25.9055899,36.831335],[25.9058048,36.8314916],[25.9060899,36.8316853],[25.9064629,36.8318055],[25.9069648,36.8316983],[25.9075702,36.8316976],[25.9082528,36.8320922],[25.9090055,36.8321523],[25.9091418,36.8322222]]},{"id":18734,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u03a7\u03ce\u03c1\u03b1-\u03a0\u03c1\u03bf\u03c6\u03ae\u03c4\u03b7\u03c2 \u0397\u03bb\u03af\u03b1\u03c2","description_GR":"\u0391\u03bd\u03ac\u03b2\u03b1\u03c3\u03b7 \u03c3\u03c4\u03b7 2\u03b7 \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03c4\u03b7\u03c2 \u0391\u03bc\u03bf\u03c1\u03b3\u03bf\u03cd","path":"ISLANDS\/Islands_Amorgos_Chora_ProfitisIlias","activity_type":31,"assistance":1,"difficulty":2,"scenic_value":5,"length":3448,"name_EN":"Amorgos: Chora-Profitis Ilias","description_EN":"Ascent to the 2nd summit of Amorgos","ascent_time":90,"descent_time":70,"marker":"Red_dots","level":13,"ascent":406,"descent":11,"maxelev":695,"minelev":295,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.8957 36.83148,25.91187 36.84601)","views":15,"millestones":"0,25.8953492,36.8319224#1,25.9021556,36.8348960#2,25.9061006,36.8392020#3,25.9083003,36.8457018#3.4,25.9122145,36.8451879","x":25.9062049,"y":36.8345699,"coor":[[25.8953492,36.8319224],[25.895462,36.8319476],[25.8957533,36.8317988],[25.8961988,36.8317331],[25.8963025,36.8317585],[25.8965767,36.8318262],[25.8966317,36.8318659],[25.8968241,36.8318808],[25.8969583,36.8318697],[25.8969842,36.8319256],[25.8971633,36.8319137],[25.897248,36.8319079],[25.8973322,36.8319133],[25.8974145,36.8319525],[25.8974943,36.8320053],[25.8975481,36.8319707],[25.8976472,36.831897],[25.8977593,36.8318389],[25.8979973,36.8318306],[25.8981773,36.8319404],[25.8982878,36.8320152],[25.8983705,36.8321851],[25.898471,36.8321678],[25.8986303,36.8322644],[25.8989989,36.8322044],[25.8990132,36.8322718],[25.8992844,36.8323576],[25.8993765,36.8323696],[25.8994616,36.8324381],[25.8997803,36.8324623],[25.8999368,36.8324981],[25.9003062,36.8329248],[25.9003799,36.833185],[25.9006184,36.8333074],[25.9011588,36.8333979],[25.901485,36.8332395],[25.9017658,36.833262],[25.9020225,36.8332129],[25.9023045,36.8332804],[25.9020617,36.8335209],[25.9020679,36.8337732],[25.9017182,36.8341393],[25.9014812,36.8345307],[25.9014998,36.8348278],[25.901671,36.8349513],[25.9019181,36.8349653],[25.9021519,36.8348985],[25.9026594,36.8345659],[25.9031923,36.8343501],[25.9044097,36.83461],[25.9049702,36.8345176],[25.9051823,36.8344782],[25.9055777,36.834598],[25.9058691,36.8345934],[25.9059045,36.8346649],[25.9062049,36.8345699],[25.9064481,36.8348815],[25.906544,36.8351323],[25.906449,36.8353682],[25.9062362,36.8353806],[25.9061257,36.8354455],[25.9061864,36.8354896],[25.9058797,36.8357829],[25.9060384,36.8358525],[25.9060418,36.8359876],[25.9058817,36.8363147],[25.905929,36.8364131],[25.9056357,36.8367963],[25.9059644,36.8369353],[25.9059146,36.8371884],[25.9060399,36.8372675],[25.9062293,36.8381208],[25.9061806,36.838419],[25.9060521,36.8386644],[25.9061447,36.8396814],[25.9059806,36.8398463],[25.9061048,36.8398803],[25.905342,36.8403252],[25.9053008,36.8404701],[25.9049042,36.8407558],[25.9048205,36.8410005],[25.905007,36.841286],[25.9049824,36.8416469],[25.9050996,36.8418523],[25.9051397,36.8421131],[25.9055634,36.8429175],[25.9056174,36.8432861],[25.9062872,36.8440686],[25.906393,36.8442652],[25.9064246,36.8446342],[25.906712,36.844918],[25.9065152,36.8457143],[25.9065979,36.8457107],[25.9067454,36.8457805],[25.9071584,36.8457017],[25.9075426,36.8458218],[25.9083135,36.8457012],[25.9084711,36.8457257],[25.9087708,36.8456038],[25.9089396,36.8456281],[25.9090607,36.845536],[25.9092544,36.8456591],[25.9094903,36.8456733],[25.909751,36.8457863],[25.9097912,36.8455964],[25.9101055,36.8456093],[25.9107409,36.8454549],[25.9114489,36.8455156],[25.9118717,36.8453827],[25.9120793,36.845163],[25.9122145,36.8451879]]},{"id":18735,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 1\u03b1 \u03a7\u03ce\u03c1\u03b1-\u039e\u03b5\u03bd\u03bf\u03b4\u03bf\u03c7\u03b5\u03af\u03bf","description_GR":"\u03a4\u03bf \u03bc\u03b1\u03b8\u03b7\u03c4\u03b9\u03ba\u03cc \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9","path":"ISLANDS\/Islands_Amorgos_Chora_Xenodoxeio","activity_type":31,"assistance":1,"difficulty":2,"scenic_value":4,"length":5389,"name_EN":"Amorgos: 1a Chora-Xenodoxeio","description_EN":"The scholars pathway","ascent_time":130,"descent_time":115,"marker":"Red_dots","level":13,"ascent":303,"descent":217,"maxelev":584,"minelev":295,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.89591 36.83127,25.92498 36.8545)","views":7,"millestones":"0,25.8953492,36.8319224#1,25.9021556,36.8348960#2,25.9061006,36.8392020#3,25.9075752,36.8468957#4,25.9154629,36.8508006#5,25.9238600,36.8529494#5.4,25.9244133,36.8539478","x":25.9059644,"y":36.8369353,"coor":[[25.8953492,36.8319224],[25.895462,36.8319476],[25.8957533,36.8317988],[25.8961988,36.8317331],[25.8963025,36.8317585],[25.8965767,36.8318262],[25.8966317,36.8318659],[25.8968241,36.8318808],[25.8969583,36.8318697],[25.8969842,36.8319256],[25.8971633,36.8319137],[25.897248,36.8319079],[25.8973322,36.8319133],[25.8974145,36.8319525],[25.8974943,36.8320053],[25.8975481,36.8319707],[25.8976472,36.831897],[25.8977593,36.8318389],[25.8979973,36.8318306],[25.8981773,36.8319404],[25.8982878,36.8320152],[25.8983705,36.8321851],[25.898471,36.8321678],[25.8986303,36.8322644],[25.8989989,36.8322044],[25.8990132,36.8322718],[25.8992844,36.8323576],[25.8993765,36.8323696],[25.8994616,36.8324381],[25.8997803,36.8324623],[25.8999368,36.8324981],[25.9003062,36.8329248],[25.9003799,36.833185],[25.9006184,36.8333074],[25.9011588,36.8333979],[25.901485,36.8332395],[25.9017658,36.833262],[25.9020225,36.8332129],[25.9023045,36.8332804],[25.9020617,36.8335209],[25.9020679,36.8337732],[25.9017182,36.8341393],[25.9014812,36.8345307],[25.9014998,36.8348278],[25.901671,36.8349513],[25.9019181,36.8349653],[25.9021519,36.8348985],[25.9026594,36.8345659],[25.9031923,36.8343501],[25.9044097,36.83461],[25.9049702,36.8345176],[25.9051823,36.8344782],[25.9055777,36.834598],[25.9058691,36.8345934],[25.9059045,36.8346649],[25.9062049,36.8345699],[25.9064481,36.8348815],[25.906544,36.8351323],[25.906449,36.8353682],[25.9062362,36.8353806],[25.9061257,36.8354455],[25.9061864,36.8354896],[25.9058797,36.8357829],[25.9060384,36.8358525],[25.9060418,36.8359876],[25.9058817,36.8363147],[25.905929,36.8364131],[25.9056357,36.8367963],[25.9059644,36.8369353],[25.9059146,36.8371884],[25.9060399,36.8372675],[25.9062293,36.8381208],[25.9061806,36.838419],[25.9060521,36.8386644],[25.9061447,36.8396814],[25.9059806,36.8398463],[25.9061048,36.8398803],[25.905342,36.8403252],[25.9053008,36.8404701],[25.9049042,36.8407558],[25.9048205,36.8410005],[25.905007,36.841286],[25.9049824,36.8416469],[25.9050996,36.8418523],[25.9051397,36.8421131],[25.9055634,36.8429175],[25.9056174,36.8432861],[25.9062872,36.8440686],[25.906393,36.8442652],[25.9064246,36.8446342],[25.906712,36.844918],[25.9065152,36.8457143],[25.9067385,36.8461253],[25.9071073,36.846525],[25.9072553,36.8466128],[25.9073495,36.8467915],[25.9082458,36.8472098],[25.9088835,36.8475961],[25.909087,36.847665],[25.9093899,36.8476691],[25.9102419,36.8481061],[25.9106374,36.8482259],[25.910853,36.8485244],[25.9106192,36.8485912],[25.9107035,36.8488242],[25.9106338,36.8491768],[25.9107477,36.8492471],[25.9113508,36.8500486],[25.9119963,36.8507503],[25.9127004,36.8510995],[25.9136159,36.8513822],[25.9142881,36.8513533],[25.9150002,36.8511255],[25.9157719,36.8505903],[25.916186,36.8501059],[25.9165494,36.8498387],[25.9168714,36.8497073],[25.9180592,36.8496701],[25.9181395,36.8497409],[25.9180301,36.8498509],[25.919072,36.849807],[25.9194578,36.8498729],[25.919682,36.8498693],[25.9204983,36.8511179],[25.920995,36.8516957],[25.9217043,36.8522521],[25.9226396,36.8528769],[25.9229217,36.8529445],[25.9235058,36.8529801],[25.9236619,36.8529415],[25.9246049,36.8529803],[25.9253304,36.8529505],[25.9255269,36.8529023],[25.9253304,36.8529505],[25.9248407,36.853995],[25.9246958,36.8540334],[25.9244133,36.8539478]]},{"id":18736,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 1 \u039c. \u03a7\u03bf\u03b6\u03bf\u03b2\u03b9\u03cc\u03c4\u03b9\u03c3\u03b1\u03c2-\u0391\u03b9\u03b3\u03b9\u03ac\u03bb\u03b7","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 1","path":"ISLANDS\/Islands_Amorgos_Chozoviotissa_Aigiali","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":11390,"name_EN":"Amorgos: 1 Chozoviotissa mon.-Aegiali","description_EN":"Trail 1","ascent_time":265,"descent_time":270,"marker":"Red_dots","level":12,"ascent":493,"descent":621,"maxelev":431,"minelev":3,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.91075 36.83112,25.97651 36.90263)","views":49,"millestones":"0,25.9091418,36.8322222#1,25.9135695,36.8393437#2,25.9202895,36.8462186#3,25.9254489,36.8533695#4,25.9289894,36.8606768#5,25.9365519,36.8648324#6,25.9460442,36.8689629#7,25.9536550,36.8747475#8,25.9607784,36.8811766#9,25.9660169,36.8875938#10,25.9737912,36.8933542#11,25.9771490,36.8995334#11.4,25.9774432,36.9015337","x":25.9377463,"y":36.8659259,"coor":[[25.9091418,36.8322222],[25.9091525,36.832569],[25.9090035,36.8324362],[25.90925,36.8333336],[25.9090918,36.833282],[25.9093081,36.8334138],[25.9094896,36.8339516],[25.9093785,36.8339895],[25.9093403,36.8342605],[25.9100274,36.8348353],[25.9107492,36.8359053],[25.910751,36.836428],[25.9108483,36.8367329],[25.9112604,36.8370688],[25.9115747,36.8375324],[25.9131803,36.8389667],[25.9133089,36.839181],[25.9140266,36.8396291],[25.9152293,36.8401956],[25.9157443,36.8406109],[25.9160439,36.8409305],[25.9163777,36.8417273],[25.9166824,36.8420852],[25.9176336,36.8432934],[25.9180381,36.8437736],[25.9182175,36.8442214],[25.918469,36.8444156],[25.9188957,36.8448571],[25.9195995,36.8451973],[25.9198852,36.8458596],[25.920632,36.8465168],[25.9209847,36.847],[25.9214211,36.8474076],[25.9232739,36.8488468],[25.9238406,36.849081],[25.9244456,36.8495038],[25.925352,36.8503183],[25.9255153,36.850568],[25.9255595,36.8509909],[25.9257011,36.8512681],[25.9255455,36.8517753],[25.9257551,36.852529],[25.925529,36.8529022],[25.9254407,36.8534084],[25.9254705,36.854147],[25.9257753,36.8555661],[25.9255532,36.8565522],[25.9257068,36.8573068],[25.9256684,36.8584611],[25.9256842,36.8586411],[25.9259971,36.8590416],[25.9266019,36.8594554],[25.9272231,36.8596256],[25.9276606,36.8596276],[25.9277313,36.8597616],[25.9278784,36.8598133],[25.9282095,36.8604929],[25.9284722,36.8606779],[25.9290442,36.8606777],[25.9301774,36.8602447],[25.9305058,36.8603655],[25.9312392,36.8609845],[25.9325376,36.8617656],[25.9334046,36.8618957],[25.9344668,36.8617612],[25.934804,36.8617918],[25.9350896,36.8619944],[25.9358061,36.86283],[25.936161,36.8631126],[25.9365799,36.8637097],[25.9362145,36.8643466],[25.9366334,36.8649436],[25.9377463,36.8659259],[25.9384481,36.8661759],[25.9406531,36.8664283],[25.9420863,36.8667654],[25.9427018,36.8671519],[25.9444304,36.8685207],[25.9461698,36.8689879],[25.9465274,36.8688807],[25.9470114,36.8689448],[25.9478167,36.8692922],[25.9485623,36.8694963],[25.9492243,36.8699451],[25.9498005,36.8703232],[25.9505925,36.8708104],[25.9512409,36.8711603],[25.9516267,36.8717759],[25.9525751,36.8728959],[25.9528612,36.8735582],[25.9533792,36.8740724],[25.9543138,36.8764095],[25.9547109,36.8770249],[25.9558256,36.8779777],[25.9563572,36.8785863],[25.9579867,36.8800106],[25.9586036,36.8804421],[25.9599213,36.8810783],[25.9606755,36.881174],[25.962146,36.8812038],[25.962399,36.8818846],[25.9620684,36.882557],[25.9619404,36.8832532],[25.9624369,36.8838038],[25.962432,36.8844888],[25.9625356,36.8850279],[25.962885,36.8855269],[25.9640555,36.886544],[25.9653103,36.8873435],[25.9660123,36.8875932],[25.9667441,36.8876893],[25.9674563,36.8878938],[25.9684143,36.8882227],[25.96901,36.8886995],[25.9698075,36.8904799],[25.9703365,36.8909758],[25.9709519,36.8913442],[25.9714813,36.8918582],[25.9723164,36.8920426],[25.9733528,36.8930709],[25.9739691,36.8934752],[25.9742294,36.8939937],[25.9742961,36.8944072],[25.9746493,36.8950502],[25.9752113,36.8955186],[25.9759114,36.8956872],[25.9769254,36.8967158],[25.9774895,36.8968326],[25.9768571,36.8971135],[25.9773095,36.8972502],[25.9775451,36.8972463],[25.9776486,36.8973437],[25.9779856,36.8973561],[25.9782143,36.8975236],[25.9780935,36.8976247],[25.9782212,36.8977082],[25.9779782,36.8978565],[25.9772435,36.8993108],[25.9769897,36.8999121],[25.9773,36.9002247],[25.9770913,36.9003994],[25.9770413,36.9006346],[25.9770192,36.9010856],[25.977116,36.9013544],[25.9774432,36.9015337]]},{"id":18737,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 4\u03b1 \u039a\u03c1\u03c5\u03c6\u03ad\u03c2 \u03c0\u03b1\u03c1\u03b1\u03bb\u03af\u03b5\u03c2 \u03c4\u03b7\u03c2 \u0391\u03b9\u03b3\u03b9\u03ac\u03bb\u03b7\u03c2","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 4\u03b1","path":"ISLANDS\/Islands_Amorgos_Egiali_beaches","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":2277,"name_EN":"Amorgos: 4a Hidden beaches of Aegiali","description_EN":"Trail 4a","ascent_time":45,"descent_time":40,"marker":"Red_dots","level":13,"ascent":99,"descent":102,"maxelev":51,"minelev":0,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.96251 36.90153,25.97793 36.90948)","views":8,"millestones":"0,25.9774432,36.9015337#1,25.9728945,36.9078539#2,25.9652902,36.9081207#2.3,25.9624666,36.9078839","x":25.9690531,"y":36.9087731,"coor":[[25.9774432,36.9015337],[25.9777316,36.9017001],[25.9778853,36.902004],[25.9779717,36.9031743],[25.9778321,36.9040441],[25.9773587,36.9052687],[25.9768897,36.9062319],[25.9760375,36.9071294],[25.9751684,36.9078108],[25.9745568,36.9076227],[25.9736918,36.907592],[25.9729892,36.9077659],[25.9727589,36.907977],[25.9728845,36.9084977],[25.9726021,36.9088629],[25.972697,36.9090596],[25.9726778,36.9091861],[25.9722517,36.9092022],[25.9720895,36.9091959],[25.9715927,36.9093258],[25.9707561,36.9086547],[25.9703494,36.9085533],[25.9694056,36.9089475],[25.9690531,36.9087731],[25.9688266,36.9082541],[25.9685835,36.9079697],[25.9681634,36.9077784],[25.9677959,36.9078926],[25.967092,36.9084541],[25.9668738,36.9082594],[25.9666814,36.9081995],[25.9658776,36.908366],[25.9655939,36.9082446],[25.9655852,36.9083438],[25.9653329,36.9081317],[25.9648019,36.9079963],[25.9645901,36.9080539],[25.9644251,36.9081828],[25.9643159,36.9083018],[25.9642575,36.9082126],[25.9640581,36.908288],[25.9639805,36.9083253],[25.9638575,36.908235],[25.9631946,36.9081806],[25.9627642,36.9080255],[25.9626379,36.9079171],[25.9624687,36.9078839]]},{"id":18738,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 4 \u039a\u03cd\u03ba\u03bb\u03bf\u03c2 \u03c3\u03c4\u03b7\u03bd \u0391\u03b9\u03b3\u03b9\u03ac\u03bb\u03b7","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 4","path":"ISLANDS\/Islands_Amorgos_Egiali_loop","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":8451,"name_EN":"Amorgos: 4 Aegiali loop","description_EN":"Trail 4i","ascent_time":160,"descent_time":155,"marker":"Red_dots","level":13,"ascent":422,"descent":426,"maxelev":261,"minelev":1,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.97785 36.90086,26.00611 36.91727)","views":11,"millestones":"0,25.9774432,36.9015337#1,25.9867553,36.9028303#2,25.9966625,36.9058459#3,26.0052920,36.9103955#4,26.0010102,36.9112416#5,25.9961547,36.9169523#6,25.9862064,36.9167696#7,25.9800393,36.9120332#8,25.9783862,36.9043818#8.5,25.9774454,36.9015359","x":26.0015648,"y":36.9117357,"coor":[[25.9774432,36.9015337],[25.9777529,36.9013573],[25.9780441,36.9013344],[25.9791915,36.9018741],[25.9793521,36.9020066],[25.9796236,36.9025249],[25.9800824,36.9029611],[25.9802641,36.903073],[25.980696,36.9032821],[25.980948,36.9026673],[25.9815244,36.9023873],[25.9819937,36.9023073],[25.9827581,36.9023577],[25.9832061,36.9023231],[25.9835903,36.9024249],[25.9843538,36.9024392],[25.9850204,36.9026083],[25.9857383,36.9025963],[25.9863469,36.9026424],[25.9872826,36.9030729],[25.9876848,36.9030031],[25.9880559,36.903033],[25.9882345,36.9029939],[25.9885853,36.90297],[25.9893385,36.9030205],[25.990206,36.9031502],[25.9904003,36.9032325],[25.9905286,36.9033363],[25.9920286,36.9036176],[25.9926998,36.9039668],[25.9928933,36.9041529],[25.993177,36.9042743],[25.9934122,36.9042523],[25.9944559,36.9046854],[25.9946901,36.905166],[25.9949951,36.9053479],[25.9956801,36.9054197],[25.9959767,36.9055499],[25.9962191,36.9057779],[25.9968439,36.9058778],[25.9970558,36.9058292],[25.9972109,36.9058582],[25.9975591,36.9058703],[25.9981255,36.9060681],[25.9985359,36.9063136],[25.9994541,36.9070912],[25.9998581,36.9073346],[26.0001329,36.9075147],[26.000434,36.9078701],[26.001031,36.9083828],[26.0010932,36.9086161],[26.0011816,36.9085606],[26.0011795,36.9084795],[26.0012267,36.9085688],[26.0014389,36.9085292],[26.0014999,36.9087174],[26.0016771,36.9086243],[26.0021745,36.9087601],[26.0032515,36.9091746],[26.0041283,36.9096533],[26.0048255,36.9101597],[26.0052918,36.9103952],[26.0055729,36.9108411],[26.0055881,36.9109941],[26.0058334,36.9113595],[26.0059782,36.9117446],[26.0063973,36.9118907],[26.0061518,36.9123726],[26.0061161,36.9127247],[26.0061624,36.912778],[26.0060783,36.9129957],[26.0059147,36.9131787],[26.0056812,36.9132638],[26.0054503,36.9135246],[26.0051852,36.9136913],[26.0050481,36.9140271],[26.0047796,36.9140586],[26.0044977,36.9140093],[26.0044091,36.9140559],[26.0042041,36.9139444],[26.003939,36.9136785],[26.003777,36.913492],[26.0037274,36.9133125],[26.0033169,36.9130671],[26.0027841,36.9124362],[26.0018177,36.9119658],[26.0015648,36.9117357],[26.0016426,36.9116803],[26.0011858,36.9113816],[26.0010649,36.9112619],[26.0007816,36.9111585],[26.0006128,36.9111433],[26.0003676,36.9112106],[25.9999483,36.9110554],[25.9998025,36.9110849],[25.9996522,36.9113488],[25.9996055,36.9117101],[25.9992409,36.9119326],[25.9991433,36.9120604],[25.9988747,36.9120919],[25.9984863,36.9122607],[25.9984012,36.9124424],[25.9983975,36.9127309],[25.9985015,36.9129792],[25.9985743,36.9136179],[25.9990253,36.9141241],[25.9991342,36.9144287],[25.9991553,36.9148857],[25.9989765,36.9153462],[25.9988243,36.915511],[25.9983784,36.9156266],[25.9972121,36.9160969],[25.9968258,36.9167794],[25.9964731,36.9169475],[25.9962962,36.916946],[25.9957245,36.9169736],[25.9946066,36.9162894],[25.9935531,36.9159195],[25.9926503,36.9153038],[25.9919496,36.9151172],[25.9914989,36.9150527],[25.9900609,36.9154373],[25.9893641,36.9154039],[25.9888686,36.9155294],[25.9886101,36.915759],[25.9882118,36.915982],[25.9871751,36.9162608],[25.9861935,36.9167684],[25.9854574,36.9170331],[25.9844882,36.9170988],[25.9836437,36.9171355],[25.9836026,36.9168477],[25.9837692,36.9166422],[25.9836983,36.91656],[25.9836847,36.9164701],[25.9834547,36.9162576],[25.9834574,36.9161449],[25.9827871,36.915399],[25.9824236,36.9148012],[25.9821719,36.9146161],[25.9818576,36.9141797],[25.9817454,36.9141816],[25.9815543,36.9141983],[25.9811209,36.9143678],[25.9810527,36.9143329],[25.9807367,36.9138334],[25.980589,36.9137638],[25.9804539,36.9133154],[25.9803041,36.9131646],[25.9800549,36.9130787],[25.9800005,36.91271],[25.9802142,36.9122919],[25.9802104,36.9121477],[25.9796392,36.9117607],[25.9793768,36.9107286],[25.9791761,36.9103444],[25.9784581,36.9099237],[25.978156,36.9095231],[25.9779256,36.90886],[25.9779298,36.9085895],[25.9781809,36.9084231],[25.9784185,36.9071934],[25.9790884,36.9061908],[25.9792154,36.9058913],[25.979445,36.904869],[25.9781727,36.9042773],[25.9780044,36.9042801],[25.977835,36.9040463],[25.9779738,36.9031765],[25.9778875,36.9020062],[25.9777338,36.9017024],[25.9774454,36.9015359]]},{"id":18739,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u039c\u03b9\u03ba\u03c1\u03cc\u03c2 \u03ba\u03cd\u03ba\u03bb\u03bf\u03c2 \u03c3\u03c4\u03b7 \u039b\u03b1\u03b3\u03ba\u03ac\u03b4\u03b1","description_GR":"\u039c\u03ad\u03c3\u03c9 \u03a3\u03c4\u03c1\u03bf\u03cd\u03bc\u03c0\u03bf\u03c5","path":"ISLANDS\/Islands_Amorgos_Egiali_loop2","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":2150,"name_EN":"Amorgos: Short loop in Lagada","description_EN":"Via Stroubos","ascent_time":40,"descent_time":40,"marker":"Red_square","level":13,"ascent":123,"descent":123,"maxelev":231,"minelev":137,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.99585 36.90532,26.00196 36.9118)","views":1,"millestones":"0,25.9956808,36.9054197#1,26.0016669,36.9116825#2.2,25.9956794,36.9054197","x":26.0016433,"y":36.9116803,"coor":[[25.9956808,36.9054197],[25.9959774,36.9055499],[25.9962198,36.9057779],[25.9961965,36.9061749],[25.9962918,36.9063896],[25.9967041,36.9067071],[25.996998,36.9069455],[25.9973295,36.9076069],[25.9974905,36.9077574],[25.9975894,36.9081073],[25.9981084,36.9086393],[25.9983189,36.9090459],[25.9986529,36.9091304],[25.9989822,36.9092781],[25.9990776,36.9094928],[25.9989472,36.9096572],[25.9989498,36.9097563],[25.9991625,36.9097347],[25.9993472,36.9099299],[25.9994365,36.9099104],[25.9996415,36.9100241],[25.9998444,36.9104893],[25.9997491,36.9107072],[25.9998032,36.9110849],[25.999949,36.9110554],[26.0003683,36.9112106],[26.0006135,36.9111433],[26.0007823,36.9111585],[26.0010656,36.9112619],[26.0011865,36.9113815],[26.0016433,36.9116803],[26.0018114,36.9116955],[26.0021234,36.9116091],[26.0019032,36.9113424],[26.0019914,36.9108542],[26.0019089,36.9107024],[26.0015449,36.9105193],[26.0010622,36.9100858],[26.0013477,36.909414],[26.0013645,36.9091974],[26.0015949,36.9089952],[26.0014999,36.9087174],[26.0014389,36.9085292],[26.0012267,36.9085688],[26.0011795,36.9084795],[26.0011816,36.9085606],[26.0010932,36.9086161],[26.001031,36.9083828],[26.000434,36.9078701],[26.0001329,36.9075147],[25.9998574,36.9073346],[25.9994541,36.9070912],[25.9985359,36.9063136],[25.9981255,36.9060681],[25.9975591,36.9058703],[25.9972109,36.9058582],[25.9970551,36.9058292],[25.9968432,36.9058779],[25.9962191,36.9057779],[25.995976,36.9055499],[25.9956794,36.9054197]]},{"id":18740,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 5 \u0391\u03b9\u03b3\u03b9\u03ac\u03bb\u03b7-\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03c2","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 5","path":"ISLANDS\/Islands_Amorgos_Egiali_Stavros","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":5,"length":7028,"name_EN":"Amorgos: 5 Aegiali-Stavros","description_EN":"Trail 5","ascent_time":205,"descent_time":175,"marker":"Red_dots","level":12,"ascent":743,"descent":65,"maxelev":716,"minelev":3,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.97783 36.90027,26.04112 36.91668)","views":43,"millestones":"0,25.9774432,36.9015337#1,25.9867553,36.9028303#2,25.9966625,36.9058459#3,26.0054353,36.9092388#4,26.0157403,36.9112430#5,26.0242085,36.9158260#6,26.0333380,36.9130080#7,26.0413585,36.9090124","x":26.0059335,"y":36.9091541,"coor":[[25.9774432,36.9015337],[25.9777529,36.9013573],[25.9780441,36.9013344],[25.9791915,36.9018741],[25.9793521,36.9020066],[25.9796236,36.9025249],[25.9800824,36.9029611],[25.9802641,36.903073],[25.980696,36.9032821],[25.980948,36.9026673],[25.9815244,36.9023873],[25.9819937,36.9023073],[25.9827581,36.9023577],[25.9832061,36.9023231],[25.9835903,36.9024249],[25.9843538,36.9024392],[25.9850204,36.9026083],[25.9857383,36.9025963],[25.9863469,36.9026424],[25.9872826,36.9030729],[25.9876848,36.9030031],[25.9880559,36.903033],[25.9882345,36.9029939],[25.9885853,36.90297],[25.9893385,36.9030205],[25.990206,36.9031502],[25.9904003,36.9032325],[25.9905286,36.9033363],[25.9920286,36.9036176],[25.9926998,36.9039668],[25.9928933,36.9041529],[25.993177,36.9042743],[25.9934122,36.9042523],[25.9944559,36.9046854],[25.9946901,36.905166],[25.9949951,36.9053479],[25.9956801,36.9054197],[25.9959767,36.9055499],[25.9962191,36.9057779],[25.9968439,36.9058778],[25.9970558,36.9058292],[25.9972109,36.9058582],[25.9975591,36.9058703],[25.9981255,36.9060681],[25.9985359,36.9063136],[25.9994541,36.9070912],[25.9998581,36.9073346],[26.0001329,36.9075147],[26.000434,36.9078701],[26.001031,36.9083828],[26.0010932,36.9086161],[26.0011816,36.9085606],[26.0011795,36.9084795],[26.0012267,36.9085688],[26.0014389,36.9085292],[26.0014999,36.9087174],[26.0016771,36.9086243],[26.0021745,36.9087601],[26.0032515,36.9091746],[26.0041283,36.9096533],[26.0047434,36.9095708],[26.0051388,36.9092396],[26.005801,36.9092375],[26.0058208,36.909138],[26.0059335,36.9091541],[26.0060634,36.9089717],[26.0064145,36.9090919],[26.007178,36.9091061],[26.0074017,36.9090234],[26.0079142,36.9089314],[26.008298,36.909015],[26.009035,36.9093],[26.0102874,36.9095492],[26.0108568,36.909864],[26.0115251,36.910096],[26.0121287,36.9104283],[26.014163,36.9109616],[26.0144924,36.9111093],[26.0153601,36.9112388],[26.0160786,36.9112446],[26.0183831,36.9118093],[26.0187994,36.9122709],[26.0191629,36.912436],[26.0204306,36.912838],[26.0206361,36.9129697],[26.021703,36.9142675],[26.0220911,36.9149368],[26.0222529,36.9155379],[26.0224023,36.9156706],[26.0231547,36.9156848],[26.0236538,36.9158836],[26.0238226,36.9158987],[26.0244368,36.9157801],[26.0247753,36.9158465],[26.0249052,36.915664],[26.0250382,36.9155986],[26.0256507,36.9154169],[26.0264561,36.9153131],[26.0265169,36.9152241],[26.0265924,36.9146821],[26.0272421,36.9133641],[26.0281435,36.9134929],[26.0287603,36.9134734],[26.0297777,36.9133208],[26.0304279,36.9132917],[26.031843,36.9133215],[26.033305,36.9130081],[26.0339335,36.9130064],[26.0342987,36.9123872],[26.0346185,36.9121744],[26.0348529,36.9117018],[26.0351682,36.9113178],[26.0354646,36.9110694],[26.035799,36.9109825],[26.0361645,36.910796],[26.0367101,36.9102098],[26.0376911,36.9099587],[26.0379861,36.9100798],[26.0384566,36.9100447],[26.0386721,36.9101311],[26.0389755,36.9101439],[26.0395579,36.9100979],[26.0400697,36.9099268],[26.0402492,36.9099238],[26.0408365,36.9096433],[26.041037,36.9091621],[26.0412377,36.9091136],[26.0413585,36.9090124]]},{"id":18741,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 2 \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u03a7\u03ce\u03c1\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf \u03c1\u03ad\u03bc\u03b1 \u03a6\u03bf\u03bd\u03b9\u03ac","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 2","path":"ISLANDS\/Islands_Amorgos_Fonias_Chora","activity_type":31,"assistance":1,"difficulty":2,"scenic_value":3,"length":4087,"name_EN":"Amorgos: 2 Katapola-Chora via the Fonias ravine","description_EN":"Trail 2","ascent_time":100,"descent_time":85,"marker":"Red_dots","level":13,"ascent":311,"descent":23,"maxelev":309,"minelev":2,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.86354 36.8262,25.89627 36.83644)","views":10,"millestones":"0,25.8633119,36.8269173#1,25.8702018,36.8311812#2,25.8795675,36.8353323#3,25.8899120,36.8357039#4.1,25.8953520,36.8319224","x":25.8812891,"y":36.8356294,"coor":[[25.8633119,36.8269173],[25.8635668,36.8267375],[25.8640147,36.8267125],[25.8648749,36.8267891],[25.8650567,36.8268854],[25.8653441,36.8271784],[25.8658699,36.8280534],[25.8659496,36.8282775],[25.8661638,36.8292476],[25.8662256,36.8297739],[25.8661665,36.8301962],[25.8679235,36.8306936],[25.8683202,36.8308676],[25.8684771,36.8308652],[25.8684936,36.8307365],[25.8690298,36.8308272],[25.8692214,36.8308692],[25.8692357,36.8309952],[25.8700458,36.8311086],[25.870189,36.8309194],[25.8701763,36.8310322],[25.870176,36.8311043],[25.870285,36.8314361],[25.8706726,36.8317004],[25.8710889,36.831757],[25.871693,36.8317024],[25.8720095,36.8318056],[25.8724346,36.8320512],[25.8739512,36.8326312],[25.8748435,36.8328966],[25.8753136,36.8328621],[25.8758889,36.8329477],[25.8768691,36.8335992],[25.8771367,36.833649],[25.8775123,36.8338774],[25.8782925,36.8346042],[25.8790066,36.8349174],[25.8795323,36.8353237],[25.8801416,36.8354763],[25.8808104,36.8353125],[25.881051,36.835525],[25.8812891,36.8356294],[25.8817394,36.8357034],[25.8822972,36.8355864],[25.8830234,36.8359354],[25.8836656,36.8360604],[25.8842724,36.8361139],[25.8847872,36.8360697],[25.8852607,36.8357197],[25.8854506,36.8356896],[25.885824,36.8358279],[25.8858225,36.8357649],[25.8861706,36.8357864],[25.887321,36.8360565],[25.8885877,36.8355858],[25.8891286,36.8356943],[25.8900148,36.8357073],[25.8900592,36.8356885],[25.8899677,36.8356179],[25.8903381,36.83563],[25.8907593,36.8356031],[25.8903982,36.8355097],[25.8906544,36.8354425],[25.8903597,36.835312],[25.8920405,36.8352672],[25.8926319,36.8351496],[25.893309,36.8348684],[25.8938709,36.8344629],[25.8940525,36.8340995],[25.8939361,36.8334704],[25.8939492,36.8330916],[25.8940546,36.8328196],[25.8942737,36.8326133],[25.8944513,36.8325383],[25.8951007,36.832501],[25.8954684,36.832405],[25.8961448,36.8324708],[25.8964242,36.8324618],[25.8963223,36.8324184],[25.8957078,36.8321668],[25.8953935,36.8320389],[25.895352,36.8319224]]},{"id":18742,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u039a\u03b1\u03bb\u03bf\u03c4\u03b1\u03c1\u03af\u03c4\u03b9\u03c3\u03b1 (\u0391\u03b3\u03af\u03b1 \u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae)-\u039a\u03ac\u03c4\u03c9 \u039a\u03ac\u03bc\u03c0\u03bf\u03c2","description_GR":"","path":"ISLANDS\/Islands_Amorgos_Kalotaritisa_KatoKambos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":1304,"name_EN":"Amorgos: Kalotaritisas-Kato Kambos","description_EN":"","ascent_time":65,"descent_time":65,"marker":"No_marks","level":13,"ascent":126,"descent":83,"maxelev":99,"minelev":1,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.76879 36.79517,25.78386 36.80626)","views":4,"millestones":"0,25.7841060,36.8059797#1,25.7783287,36.8034540#2,25.7699219,36.7995253#1.3,25.7697344,36.7953783","x":25.7736555,"y":36.8012035,"coor":[[25.784106,36.8059797],[25.7838159,36.8060382],[25.7835113,36.8059526],[25.7830036,36.8053293],[25.7825506,36.8051287],[25.7817823,36.8043831],[25.7818275,36.8039138],[25.7821103,36.80354],[25.7820141,36.803262],[25.7816869,36.8027757],[25.7811436,36.8020627],[25.781131,36.8024865],[25.7805854,36.8031257],[25.7805242,36.803388],[25.7800074,36.8038193],[25.7797434,36.8035529],[25.7794416,36.8034966],[25.7791756,36.8036267],[25.779071,36.803466],[25.7786305,36.8033194],[25.778507,36.8033122],[25.7784205,36.8034487],[25.7780512,36.8034723],[25.7772212,36.8034486],[25.7766615,36.803297],[25.7760936,36.8034587],[25.7757665,36.8033735],[25.775431,36.8034055],[25.7751316,36.8035452],[25.7749825,36.802761],[25.7747027,36.8022041],[25.7736555,36.8012035],[25.7729043,36.8007978],[25.7716347,36.800481],[25.7708168,36.8004346],[25.7703641,36.8000943],[25.7701972,36.7999007],[25.7699762,36.7995525],[25.7696473,36.7993861],[25.7700254,36.7992543],[25.7702418,36.7994043],[25.7702862,36.7993856],[25.770071,36.7988029],[25.7699358,36.7987689],[25.7696173,36.7990531],[25.769405,36.7990833],[25.7688201,36.7985061],[25.768628,36.7984368],[25.7686041,36.7983741],[25.7687351,36.7982189],[25.7687413,36.7975158],[25.7690459,36.7966279],[25.7691102,36.7965008],[25.7693316,36.7963803],[25.7694405,36.7962435],[25.7689833,36.7958537],[25.7698172,36.7960216],[25.7701861,36.79598],[25.7704479,36.7956697],[25.7702747,36.7954469],[25.7700145,36.7953742],[25.7697344,36.7953783]]},{"id":18743,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 3\u03b2 \u039a\u03b1\u03bc\u03ac\u03c1\u03b9-\u039a\u03b1\u03c3\u03c4\u03c1\u03af","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 3","path":"ISLANDS\/Islands_Amorgos_Kamari_Kastri","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":3574,"name_EN":"Amorgos: 3b Kamari-Kastri","description_EN":"Trail 3","ascent_time":65,"descent_time":70,"marker":"Red_dots","level":13,"ascent":144,"descent":294,"maxelev":221,"minelev":43,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.81702 36.79532,25.8311 36.81053)","views":5,"millestones":"0,25.8274764,36.7953793#1,25.8300609,36.8025877#2,25.8255135,36.8064087#3,25.8184132,36.8067800#3.6,25.8170235,36.8105332","x":25.828627,"y":36.8056796,"coor":[[25.8274764,36.7953793],[25.8273663,36.7968772],[25.8273938,36.7970931],[25.8275209,36.7972534],[25.828436,36.7974736],[25.8287463,36.7977933],[25.8291213,36.7984816],[25.8290963,36.7986961],[25.8295489,36.7988784],[25.8299751,36.7992143],[25.8306242,36.8001147],[25.8306858,36.8003481],[25.8306652,36.8008982],[25.8312457,36.8012678],[25.8312476,36.8013489],[25.8308851,36.801661],[25.830341,36.8023454],[25.8294735,36.8030978],[25.8293778,36.8033156],[25.8296919,36.8033288],[25.8301118,36.8035477],[25.8302086,36.8038436],[25.8301613,36.8042139],[25.8302798,36.8044825],[25.8301818,36.8046012],[25.8304106,36.8047959],[25.8304125,36.804877],[25.8301791,36.8049617],[25.8302828,36.8050773],[25.830167,36.8053946],[25.8295151,36.8062609],[25.8294119,36.8061633],[25.8293451,36.8061824],[25.829283,36.8063996],[25.8291617,36.8064826],[25.8292255,36.8063374],[25.8289626,36.8061251],[25.8289945,36.8060525],[25.8289129,36.8059186],[25.8287655,36.8058488],[25.828627,36.8056796],[25.8284805,36.8056458],[25.8280114,36.8057161],[25.8271899,36.8060533],[25.8257242,36.8061659],[25.8251352,36.806851],[25.823702,36.8073867],[25.8230887,36.8075223],[25.8227684,36.8077255],[25.8225061,36.8080089],[25.8220736,36.8082049],[25.8218271,36.8082086],[25.8215438,36.8080778],[25.82136,36.8078913],[25.821009,36.8077435],[25.8208409,36.807746],[25.8207261,36.8076306],[25.8205119,36.8075798],[25.8204573,36.807166],[25.8205082,36.8069489],[25.8197306,36.807096],[25.8192534,36.8073016],[25.8187746,36.8077303],[25.8187214,36.8073796],[25.8187715,36.8071265],[25.8190025,36.8069427],[25.8189233,36.8069078],[25.8191539,36.806706],[25.8190858,36.806671],[25.8189192,36.8067366],[25.8184158,36.8067804],[25.8181344,36.8067306],[25.8178388,36.8065549],[25.8177373,36.8070612],[25.817243,36.8079611],[25.8170454,36.808613],[25.817049,36.8087662],[25.8172866,36.8093304],[25.8172488,36.8096284],[25.8173116,36.8099159],[25.8170235,36.8105332]]},{"id":18744,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 7\u03b1 \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u03a6\u03ac\u03c1\u03bf\u03c2 \u0391\u03b3\u03af\u03bf\u03c5 \u0397\u03bb\u03af\u03b1","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 7\u03b1","path":"ISLANDS\/Islands_Amorgos_Katapola_AgIliasLighthouse","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":4223,"name_EN":"Amorgos:7a Katapola-Agios Ilias Lighthouse","description_EN":"Trail 7a","ascent_time":80,"descent_time":80,"marker":"Red_dots","level":13,"ascent":156,"descent":131,"maxelev":120,"minelev":0,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.83952 36.82668,25.86615 36.84149)","views":11,"millestones":"0,25.8633119,36.8269173#1,25.8627093,36.8315465#2,25.8566038,36.8371612#3,25.8484936,36.8403981#4.2,25.8393898,36.8361590","x":25.8535678,"y":36.8387824,"coor":[[25.8633119,36.8269173],[25.8635668,36.8267375],[25.8640147,36.8267125],[25.8648749,36.8267891],[25.8650567,36.8268854],[25.8653441,36.8271784],[25.8658699,36.8280534],[25.8659496,36.8282775],[25.8661638,36.8292476],[25.8662256,36.8297739],[25.8661665,36.8301962],[25.8660942,36.8304497],[25.86593,36.8306145],[25.8657524,36.8306894],[25.8655255,36.8306682],[25.8650524,36.8306328],[25.8649001,36.8307681],[25.8648211,36.8308933],[25.8644512,36.8312168],[25.8641002,36.831362],[25.8641753,36.831629],[25.8638763,36.8316066],[25.8632396,36.8312471],[25.8630152,36.8312416],[25.8625774,36.8316811],[25.8618291,36.831801],[25.8608506,36.8321408],[25.8606536,36.8323421],[25.8603316,36.832933],[25.8597993,36.8330338],[25.8596575,36.8331982],[25.859637,36.833363],[25.8596297,36.8338138],[25.8596177,36.8338681],[25.8591176,36.8345158],[25.8589907,36.8348333],[25.8590323,36.8356258],[25.8587125,36.8358471],[25.8585369,36.8361811],[25.8585888,36.8364687],[25.8587398,36.8366557],[25.858732,36.8368],[25.8583797,36.8370669],[25.8574786,36.8369007],[25.8571087,36.8369065],[25.8565548,36.8371855],[25.8561039,36.8375531],[25.8559744,36.8377624],[25.8558301,36.8382875],[25.855944,36.8388265],[25.8556925,36.8390017],[25.8551438,36.8390373],[25.8547931,36.8389075],[25.8539045,36.8387952],[25.8535678,36.8387824],[25.8532561,36.8388774],[25.8527282,36.8388406],[25.8525312,36.8389856],[25.8525116,36.8391031],[25.8523799,36.8392223],[25.8518775,36.8393113],[25.8515851,36.8392798],[25.8511446,36.8396111],[25.8508553,36.8397058],[25.8506083,36.8396916],[25.8505822,36.8400075],[25.8502771,36.8403727],[25.8501221,36.8404563],[25.8490608,36.8401573],[25.8487148,36.8402258],[25.8482125,36.8406122],[25.8480398,36.8408943],[25.8480776,36.8410649],[25.8479879,36.8410663],[25.8477249,36.8412056],[25.8474231,36.8413635],[25.8469933,36.841208],[25.8469335,36.8410557],[25.8466593,36.8408436],[25.846092,36.8401043],[25.8460708,36.8398613],[25.8459379,36.8397574],[25.8457888,36.8397372],[25.8454133,36.8395087],[25.8452964,36.8393122],[25.8449998,36.8391005],[25.8447889,36.8387252],[25.8440456,36.8385926],[25.8438978,36.8385047],[25.8438732,36.838415],[25.8437947,36.8384162],[25.8437361,36.8383089],[25.8435897,36.8382842],[25.8430068,36.8382932],[25.8427141,36.8382437],[25.8419973,36.8382818],[25.8417494,36.8382316],[25.8413355,36.8378053],[25.8407321,36.8374271],[25.8405446,36.8370875],[25.8403178,36.8369829],[25.8402471,36.8368398],[25.8399397,36.8366462],[25.8397989,36.836387],[25.8397002,36.8364787],[25.83962,36.8364078],[25.8395428,36.8364631],[25.8393898,36.836159]]},{"id":18745,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u039a\u03ac\u03c4\u03c9 \u0391\u03ba\u03c1\u03c9\u03c4\u03ae\u03c1\u03b9","description_GR":"\u039c\u03b9\u03ba\u03c1\u03cc\u03c2 \u03c0\u03c1\u03c9\u03ca\u03bd\u03cc\u03c2 \u03c0\u03b5\u03c1\u03af\u03c0\u03b1\u03c4\u03bf\u03c2","path":"ISLANDS\/Islands_Amorgos_Katapola_KatoAkrotiri","activity_type":31,"assistance":1,"difficulty":1,"scenic_value":5,"length":1919,"name_EN":"Amorgos: Katapola-Kato Akrotiri","description_EN":"A short morning walk","ascent_time":35,"descent_time":35,"marker":"Red_dots","level":13,"ascent":52,"descent":39,"maxelev":38,"minelev":2,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.84651 36.82631,25.8633 36.82819)","views":5,"millestones":"0,25.8633119,36.8269173#1,25.8540189,36.8277735#1.9,25.8465091,36.8281552","x":25.8551407,"y":36.8280276,"coor":[[25.8633119,36.8269173],[25.8630158,36.8271923],[25.8627685,36.8272233],[25.8623207,36.8272776],[25.8618041,36.8273285],[25.8611129,36.8274926],[25.8607193,36.8274446],[25.8603576,36.8273241],[25.8598734,36.8268314],[25.8589223,36.8264497],[25.8579462,36.8264199],[25.8571184,36.826496],[25.8566615,36.8266113],[25.8559971,36.8269551],[25.8558505,36.8270971],[25.8558586,36.8271691],[25.8558385,36.8272686],[25.8555744,36.827471],[25.8556059,36.827849],[25.8555527,36.827967],[25.8553095,36.828052],[25.8551407,36.8280276],[25.8549402,36.8280532],[25.8542713,36.8277482],[25.8535668,36.8278223],[25.8530563,36.8275779],[25.8527009,36.8277186],[25.8520035,36.8276213],[25.8513296,36.8280374],[25.8510718,36.8280414],[25.8508527,36.8277925],[25.8508337,36.8274683],[25.8509336,36.826962],[25.8507101,36.8266117],[25.8506195,36.826577],[25.849907,36.8267864],[25.8493401,36.8265248],[25.849161,36.8265366],[25.8485865,36.8268881],[25.8476867,36.8272356],[25.8475246,36.8274905],[25.8467311,36.8280616],[25.8465091,36.8281552]]},{"id":18746,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u03a0\u03bb\u03ac\u03ba\u03b5\u03c2","description_GR":"\u039c\u03b9\u03b1 \u03bc\u03b9\u03ba\u03c1\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03c3\u03c4\u03bf \u039e\u03c5\u03bb\u03bf\u03ba\u03b5\u03c1\u03b1\u03c4\u03af\u03b4\u03b9","path":"ISLANDS\/Islands_Amorgos_Katapola_Plakes","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":2092,"name_EN":"Amorgos: Katapola-Plakes","description_EN":"A short hike around Xylokeratidi","ascent_time":40,"descent_time":40,"marker":"No_marks","level":13,"ascent":18,"descent":25,"maxelev":14,"minelev":0,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.85404 36.82668,25.86615 36.83604)","views":6,"millestones":"0,25.8633119,36.8269173#1,25.8627093,36.8315465#2.1,25.8540383,36.8360080","x":25.8606536,"y":36.8323421,"coor":[[25.8633119,36.8269173],[25.8635668,36.8267375],[25.8640147,36.8267125],[25.8648749,36.8267891],[25.8650567,36.8268854],[25.8653441,36.8271784],[25.8658699,36.8280534],[25.8659496,36.8282775],[25.8661638,36.8292476],[25.8662256,36.8297739],[25.8661665,36.8301962],[25.8660942,36.8304497],[25.86593,36.8306145],[25.8657524,36.8306894],[25.8655255,36.8306682],[25.8650524,36.8306328],[25.8649001,36.8307681],[25.8648211,36.8308933],[25.8644512,36.8312168],[25.8641002,36.831362],[25.8641753,36.831629],[25.8638763,36.8316066],[25.8632396,36.8312471],[25.8630152,36.8312416],[25.8625774,36.8316811],[25.8618291,36.831801],[25.8608506,36.8321408],[25.8606536,36.8323421],[25.8603316,36.832933],[25.8597993,36.8330338],[25.8596575,36.8331982],[25.859637,36.833363],[25.8595532,36.8336077],[25.8594698,36.8333769],[25.8591014,36.8339054],[25.8587719,36.83419],[25.8584167,36.8343398],[25.8577149,36.834531],[25.8571885,36.8345573],[25.8567919,36.8343832],[25.856591,36.8344224],[25.8562283,36.8342929],[25.8557231,36.8343233],[25.8555928,36.8344154],[25.8552457,36.8348986],[25.8550483,36.8350819],[25.8548696,36.8351388],[25.8548939,36.8352195],[25.854739,36.8353031],[25.8547422,36.8354382],[25.8545752,36.8354859],[25.8544278,36.8358848],[25.8541289,36.8360427],[25.8540383,36.836008]]},{"id":18747,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 3\u03b1 \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u0392\u03c1\u03bf\u03cd\u03c4\u03c3\u03b7\u03c2","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 3","path":"ISLANDS\/Islands_Amorgos_Katapola_Vroutsis","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":7511,"name_EN":"Amorgos: 3a Katapola-Vroutsis","description_EN":"Trail 3","ascent_time":140,"descent_time":135,"marker":"Red_dots","level":13,"ascent":516,"descent":267,"maxelev":259,"minelev":5,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.81964 36.79454,25.86535 36.82759)","views":9,"millestones":"0,25.8633119,36.8269173#1,25.8654449,36.8203695#2,25.8601734,36.8151584#3,25.8524723,36.8118132#4,25.8459853,36.8068882#5,25.8377468,36.8028227#6,25.8302799,36.7985305#7,25.8229433,36.7967845#7.5,25.8189468,36.7982794","x":25.8523373,"y":36.8118202,"coor":[[25.8633119,36.8269173],[25.8635668,36.8267375],[25.8637851,36.8267251],[25.8640147,36.8267125],[25.8639969,36.8264424],[25.8640417,36.8260338],[25.8639885,36.8256922],[25.8643663,36.825551],[25.8645197,36.8254044],[25.8645382,36.8252419],[25.8644554,36.8250629],[25.8644738,36.8249004],[25.8647479,36.8246437],[25.865049,36.8245759],[25.8653167,36.8243486],[25.865249,36.8243317],[25.8653679,36.8241495],[25.8653164,36.823961],[25.8650993,36.8237932],[25.8650055,36.8236234],[25.8646889,36.8229637],[25.8650216,36.8228142],[25.8646666,36.822768],[25.8646317,36.8227144],[25.8657661,36.8223361],[25.8659302,36.8221713],[25.8660131,36.8218906],[25.8659709,36.8215397],[25.8655412,36.8209245],[25.8656333,36.8205626],[25.8652308,36.8201453],[25.8652886,36.8199596],[25.8653103,36.8196956],[25.8655065,36.8194672],[25.8654931,36.8193773],[25.8651811,36.8194543],[25.8647879,36.8198841],[25.8646748,36.8198408],[25.8647803,36.8195687],[25.8647285,36.8192811],[25.864999,36.8188803],[25.8649716,36.8186734],[25.864831,36.8184232],[25.8642248,36.817928],[25.8638607,36.8177084],[25.8636584,36.8172248],[25.8634275,36.816949],[25.863149,36.816674],[25.8630251,36.8161892],[25.8622577,36.8155162],[25.8619594,36.8152325],[25.8618012,36.8151809],[25.8608948,36.8152491],[25.8592417,36.8150316],[25.8590826,36.814944],[25.858897,36.8146855],[25.8583651,36.8144775],[25.8575536,36.8147606],[25.8567043,36.814873],[25.8561309,36.8148008],[25.8555934,36.8145659],[25.8546555,36.814256],[25.8544346,36.813926],[25.8546383,36.8138034],[25.8547223,36.8135677],[25.8543115,36.8132677],[25.8542061,36.81308],[25.854222,36.8128094],[25.8544609,36.8124902],[25.8542574,36.8124212],[25.853562,36.8124051],[25.8533926,36.8123536],[25.8529812,36.8120265],[25.8528732,36.8117308],[25.8527939,36.811696],[25.8526172,36.8118069],[25.8523373,36.8118202],[25.8520653,36.8116983],[25.8516054,36.8112187],[25.851361,36.8113127],[25.8506995,36.811305],[25.8502422,36.8114022],[25.8496035,36.8114121],[25.8490022,36.8117234],[25.8483284,36.8107425],[25.8481918,36.8106544],[25.8476942,36.8100042],[25.8474399,36.8087553],[25.8468042,36.8084227],[25.846553,36.8082283],[25.8467199,36.8077119],[25.8466992,36.8073157],[25.8460286,36.8069295],[25.845845,36.8067521],[25.8458259,36.8065135],[25.84551,36.8059596],[25.8453094,36.8060078],[25.8449616,36.8059951],[25.8445069,36.8057318],[25.8432375,36.8051476],[25.8426411,36.8050487],[25.8419902,36.8050137],[25.8414265,36.8048782],[25.8414793,36.8047422],[25.8414293,36.8045266],[25.8412142,36.8044398],[25.8411321,36.8042879],[25.840986,36.8042721],[25.8405077,36.803955],[25.8405241,36.8041711],[25.8404028,36.8042541],[25.8401974,36.8041041],[25.8389606,36.8039429],[25.838682,36.8035416],[25.8385346,36.8034718],[25.8380184,36.802975],[25.8376549,36.8027733],[25.8374086,36.8023175],[25.8373076,36.80231],[25.8371111,36.8025294],[25.8369962,36.802414],[25.83614,36.8012915],[25.8359121,36.8006641],[25.8352092,36.8003324],[25.8346441,36.7996652],[25.8342923,36.7994813],[25.8340566,36.7989982],[25.8335363,36.7983302],[25.8332045,36.7985156],[25.8330076,36.7987169],[25.8328628,36.7987552],[25.8325594,36.7987239],[25.8320396,36.7985426],[25.8306186,36.7986456],[25.8301328,36.7984818],[25.8294347,36.7983483],[25.8292223,36.7983696],[25.8291213,36.7984816],[25.8287463,36.7977933],[25.828436,36.7974736],[25.8275209,36.7972534],[25.8273938,36.7970931],[25.8273663,36.7968772],[25.8274764,36.7953793],[25.8270235,36.7951879],[25.8262233,36.7951461],[25.8236659,36.7964743],[25.8210615,36.7975958],[25.8205822,36.79818],[25.8201423,36.7984188],[25.8195094,36.798433],[25.8189468,36.7982794]]},{"id":18749,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 7 \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u03a7\u03ce\u03c1\u03b1 \u03b1\u03c0\u03cc \u03c4\u03b1 \u039d\u03b5\u03c1\u03ac","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 7\u03b1","path":"ISLANDS\/Islands_Amorgos_Nera_Chora","activity_type":31,"assistance":1,"difficulty":2,"scenic_value":3,"length":6864,"name_EN":"Amorgos: 7 Katapola-Chora via Ta Nera","description_EN":"Trail 7a","ascent_time":165,"descent_time":150,"marker":"Red_dots","level":13,"ascent":455,"descent":159,"maxelev":322,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(25.85594 36.8307,25.8973 36.84287)","views":7,"millestones":"0,25.8641002,36.8313620#1,25.8585713,36.8369210#2,25.8615361,36.8407877#3,25.8691045,36.8411045#4,25.8789474,36.8421692#5,25.8893435,36.8412335#6,25.8945595,36.8355848#6.9,25.8953450,36.8319225","x":25.8790164,"y":36.8421932,"coor":[[25.8641002,36.831362],[25.8641753,36.831629],[25.8638763,36.8316066],[25.8632396,36.8312471],[25.8630152,36.8312416],[25.8625774,36.8316811],[25.8618291,36.831801],[25.8608506,36.8321408],[25.8606536,36.8323421],[25.8603316,36.832933],[25.8597993,36.8330338],[25.8596575,36.8331982],[25.859637,36.833363],[25.8595532,36.8336077],[25.8595693,36.8336345],[25.8596297,36.8338138],[25.8596177,36.8338681],[25.8591176,36.8345158],[25.8589907,36.8348333],[25.8590323,36.8356258],[25.8587125,36.8358471],[25.8585362,36.8361811],[25.8585881,36.8364687],[25.8587398,36.8366557],[25.858732,36.8368],[25.8583797,36.8370669],[25.8574786,36.8369007],[25.8571087,36.8369065],[25.8565548,36.8371855],[25.8561039,36.8375531],[25.8559744,36.8377624],[25.8558301,36.8382875],[25.855944,36.8388265],[25.8563741,36.8392209],[25.8567513,36.8399811],[25.8583164,36.8402451],[25.8591068,36.840467],[25.8593503,36.840337],[25.8601798,36.8403241],[25.8607644,36.8404411],[25.8614897,36.8407542],[25.8617635,36.8409482],[25.8619518,36.8413148],[25.8620574,36.8419711],[25.8623152,36.8424268],[25.8635148,36.8410289],[25.8636265,36.8410092],[25.8638558,36.8407532],[25.8639916,36.8408051],[25.8640914,36.8407585],[25.8642435,36.8405578],[25.8645026,36.8406078],[25.8650027,36.8407645],[25.8655748,36.8407735],[25.8658873,36.8407146],[25.8669894,36.8408415],[25.8671371,36.8409203],[25.8672186,36.8410452],[25.8676121,36.8410841],[25.8680237,36.8409514],[25.868262,36.8406051],[25.8684396,36.8405302],[25.868597,36.8405458],[25.8690401,36.8407822],[25.8691943,36.841591],[25.8693798,36.8418404],[25.8695448,36.841937],[25.8698013,36.8418789],[25.8699881,36.8417227],[25.8701372,36.8418555],[25.870395,36.8418515],[25.8707985,36.8418451],[25.8712667,36.8417296],[25.8714707,36.8418165],[25.8722554,36.8418042],[25.8724103,36.8417206],[25.8726818,36.8418155],[25.8729389,36.8417844],[25.8735137,36.8419015],[25.8741261,36.8421803],[25.8743729,36.8421854],[25.8746329,36.8422714],[25.8750884,36.8425527],[25.8754027,36.8425657],[25.875983,36.8424484],[25.8761858,36.8424903],[25.8764313,36.8424413],[25.8766468,36.84251],[25.8775836,36.842297],[25.8785672,36.8421642],[25.8788694,36.8421414],[25.8790164,36.8421932],[25.87952,36.8421492],[25.8797282,36.8419499],[25.8805979,36.8417468],[25.8818221,36.8413669],[25.8822705,36.8413012],[25.882792,36.8414462],[25.8834525,36.8413997],[25.8838872,36.8412936],[25.8847828,36.8407747],[25.8851617,36.8406785],[25.8862214,36.8409051],[25.8866682,36.8408349],[25.88713,36.8409177],[25.8879588,36.8408775],[25.8884897,36.8410313],[25.8891371,36.8413635],[25.8892687,36.8412443],[25.8894209,36.8412216],[25.8897518,36.8410541],[25.8897471,36.8407792],[25.8900585,36.8402155],[25.8901065,36.8396897],[25.8902581,36.8394709],[25.8904785,36.8393142],[25.8907554,36.8391746],[25.8909568,36.8391534],[25.8909996,36.8390716],[25.8908163,36.8389123],[25.8911283,36.8388352],[25.8912024,36.8386537],[25.891621,36.8383496],[25.891508,36.8383154],[25.8917425,36.8382756],[25.8916625,36.8382138],[25.8917957,36.8381576],[25.8916715,36.8381235],[25.8918385,36.8380758],[25.8917358,36.8380053],[25.8922167,36.8379526],[25.8922374,36.8378802],[25.8924497,36.8378497],[25.8925643,36.8374964],[25.892857,36.8370861],[25.8933848,36.8366631],[25.8933839,36.8366271],[25.8931487,36.8366398],[25.8930909,36.8365687],[25.893221,36.8365283],[25.8930403,36.8364771],[25.8935519,36.8363067],[25.8937268,36.8361236],[25.8938833,36.8361031],[25.8938707,36.8360492],[25.8943335,36.8357174],[25.8948088,36.8354394],[25.8946396,36.8353971],[25.8948593,36.8352133],[25.8949091,36.8349601],[25.8952432,36.834414],[25.8952774,36.8339808],[25.8953824,36.8336907],[25.8953357,36.8336194],[25.8954196,36.8333837],[25.8953163,36.8332862],[25.8954262,36.8331943],[25.8951778,36.8331261],[25.8952436,36.8329809],[25.8954102,36.8329151],[25.8954172,36.8327438],[25.8955149,36.832616],[25.8961392,36.8324709],[25.8964179,36.8324619],[25.8966316,36.8324855],[25.8967303,36.8324276],[25.8969865,36.8321892],[25.8971714,36.8320961],[25.8972653,36.8320676],[25.8973287,36.8319133],[25.8972445,36.8319079],[25.8971591,36.8319138],[25.89698,36.8319257],[25.8969541,36.8318698],[25.8968199,36.8318809],[25.8966275,36.831866],[25.8965732,36.8318263],[25.896299,36.8317585],[25.8961953,36.8317331],[25.8957491,36.8317988],[25.8954578,36.8319477],[25.895345,36.8319225]]},{"id":18750,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u03a7\u03ce\u03c1\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf \u03a1\u03b1\u03c7\u03af\u03b4\u03b9","description_GR":"\u039f \u03c0\u03b1\u03bb\u03b9\u03cc\u03c2 \u03ba\u03cd\u03c1\u03b9\u03bf\u03c2 \u03b4\u03c1\u03cc\u03bc\u03bf\u03c2 \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03a7\u03ce\u03c1\u03b1","path":"ISLANDS\/Islands_Amorgos_Rachidi_Chora","activity_type":31,"assistance":1,"difficulty":1,"scenic_value":3,"length":3684,"name_EN":"Amorgos: Katapola-Chora via Rachidi","description_EN":"The old days main way to Chora","ascent_time":70,"descent_time":60,"marker":"Red_dots","level":13,"ascent":297,"descent":11,"maxelev":295,"minelev":2,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.86345 36.82556,25.89519 36.83247)","views":4,"millestones":"0,25.8633119,36.8269173#1,25.8730655,36.8273632#2,25.8818118,36.8281289#3,25.8899021,36.8281675#3.7,25.8953485,36.8319224","x":25.8790176,"y":36.8287499,"coor":[[25.8633119,36.8269173],[25.8635668,36.8267375],[25.8640147,36.8267125],[25.8648749,36.8267891],[25.8650567,36.8268854],[25.8653441,36.8271784],[25.8658699,36.8280534],[25.8661715,36.8280374],[25.8667172,36.8278846],[25.8668328,36.828],[25.8670704,36.8280864],[25.8677516,36.8279765],[25.8685802,36.8280176],[25.8690202,36.8276682],[25.8695154,36.8276604],[25.8699235,36.8277554],[25.8706568,36.8276537],[25.8713673,36.8273631],[25.8715574,36.8273421],[25.8722777,36.8274569],[25.8730163,36.8274002],[25.8737868,36.8268112],[25.8749925,36.8265421],[25.8752535,36.8265538],[25.8754027,36.8266956],[25.8758378,36.8279867],[25.8760301,36.8280557],[25.8768123,36.8279442],[25.8773898,36.8281785],[25.8774039,36.8282954],[25.8778506,36.8282253],[25.8778131,36.8285233],[25.8780937,36.8285369],[25.8783884,36.8286967],[25.8790176,36.8287499],[25.8800869,36.8284626],[25.8809029,36.8283595],[25.881324,36.8282132],[25.8819249,36.8281135],[25.8828747,36.8279813],[25.8830744,36.827897],[25.8831418,36.8274453],[25.8832602,36.8272451],[25.8836274,36.8271312],[25.8842421,36.8270493],[25.8847637,36.8268337],[25.8856418,36.8260627],[25.8865297,36.8256971],[25.8871472,36.8257323],[25.8876819,36.8260483],[25.8882711,36.8263004],[25.8885224,36.8264856],[25.8886046,36.8266376],[25.8886007,36.8269351],[25.8884959,36.8272342],[25.8886263,36.8275205],[25.888977,36.8276501],[25.8892063,36.8278538],[25.889852,36.828123],[25.8911242,36.8292474],[25.8928901,36.8303279],[25.8933254,36.8306996],[25.8942179,36.8309738],[25.894666,36.8315547],[25.8950338,36.8317787],[25.8951432,36.8318941],[25.8952234,36.831965],[25.8953485,36.8319224]]},{"id":18751,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u0398\u03bf\u03bb\u03ac\u03c1\u03b9\u03b1-\u03c6\u03ac\u03c1\u03bf\u03c2 \u03a0\u03bf\u03cd\u03bd\u03c4\u03b1","description_GR":"","path":"ISLANDS\/Islands_Amorgos_Tholaria_lighthouse","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3063,"name_EN":"Amorgos: Tholaria-Pounta beacon","description_EN":"i","ascent_time":70,"descent_time":75,"marker":"No_marks","level":13,"ascent":124,"descent":214,"maxelev":205,"minelev":77,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.95627 36.90997,25.98352 36.91701)","views":7,"millestones":"0,25.9836961,36.9165578#1,25.9740162,36.9136369#2,25.9640483,36.9133667#3.1,25.9561046,36.9104224","x":25.969336,"y":36.913525,"coor":[[25.9836961,36.9165578],[25.9836826,36.9164679],[25.9834526,36.9162554],[25.9831655,36.9164404],[25.9830309,36.9164427],[25.9826015,36.9159001],[25.9822355,36.9156358],[25.9818865,36.9155965],[25.9811448,36.9156179],[25.980502,36.9155025],[25.9798424,36.915171],[25.9789669,36.9148972],[25.9785686,36.9146875],[25.9781895,36.9143513],[25.9769825,36.914119],[25.9763797,36.9138136],[25.9758608,36.9137141],[25.9752933,36.9134712],[25.9747648,36.9134349],[25.9741519,36.9136073],[25.9733831,36.9137733],[25.9730356,36.9137881],[25.9727242,36.9139014],[25.9724949,36.913716],[25.9719419,36.913599],[25.9716053,36.9136046],[25.9713601,36.9136717],[25.9710062,36.9138759],[25.9708608,36.9138963],[25.9699423,36.913533],[25.9694248,36.9134875],[25.969336,36.913525],[25.9688354,36.9132629],[25.9683756,36.9132525],[25.9679305,36.9134041],[25.9676951,36.913417],[25.9673787,36.9133322],[25.9669914,36.9131132],[25.9667576,36.9131036],[25.9666578,36.9131503],[25.9661242,36.9137901],[25.9649905,36.9137908],[25.964669,36.9135077],[25.9642165,36.913371],[25.9633517,36.9133492],[25.9626524,36.9132166],[25.9624404,36.9132651],[25.9610284,36.9124773],[25.9609288,36.912533],[25.9610244,36.9131984],[25.960989,36.9135685],[25.9608239,36.9136974],[25.9606888,36.9136816],[25.9600554,36.9134938],[25.9596368,36.9129239],[25.9595236,36.9128897],[25.9591526,36.9124271],[25.9579738,36.9119779],[25.9574565,36.9114997],[25.9572415,36.9114312],[25.9568561,36.9108426],[25.9561046,36.9104224]]},{"id":18752,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 6 \u039a\u03c5\u03ba\u03bb\u03b9\u03ba\u03ae \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u0392\u03b1\u03bb\u03c3\u03b1\u03bc\u03af\u03c4\u03b7\u03c2","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 6","path":"ISLANDS\/Islands_Amorgos_Valsamitis_loop","activity_type":31,"assistance":2,"difficulty":2,"scenic_value":4,"length":7606,"name_EN":"Amorgos: 6 Katapola-Valsamitis loop","description_EN":"Trail 6","ascent_time":170,"descent_time":175,"marker":"Red_dots","level":13,"ascent":333,"descent":333,"maxelev":242,"minelev":2,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.86334 36.80816,25.87698 36.82809)","views":14,"millestones":"0,25.8633119,36.8269173#1,25.8654449,36.8203695#2,25.8655533,36.8141416#3,25.8741639,36.8118450#4,25.8750062,36.8113373#5,25.8698649,36.8171739#6,25.8701846,36.8205658#7,25.8677282,36.8269517#7.6,25.8633097,36.8269151","x":25.8766218,"y":36.8098463,"coor":[[25.8633119,36.8269173],[25.8635668,36.8267375],[25.8637949,36.826725],[25.8640147,36.8267125],[25.8639969,36.8264424],[25.8640417,36.8260338],[25.8639885,36.8256922],[25.8643663,36.825551],[25.8645197,36.8254044],[25.8645382,36.8252419],[25.8644554,36.8250629],[25.8644738,36.8249004],[25.8647479,36.8246437],[25.865049,36.8245759],[25.8653167,36.8243486],[25.865249,36.8243317],[25.8653679,36.8241495],[25.8653164,36.823961],[25.8650993,36.8237932],[25.8650055,36.8236234],[25.8646889,36.8229637],[25.8650216,36.8228142],[25.8646666,36.822768],[25.8646317,36.8227144],[25.8657661,36.8223361],[25.8659302,36.8221713],[25.8660131,36.8218906],[25.8659709,36.8215397],[25.8655412,36.8209245],[25.8656333,36.8205626],[25.8652308,36.8201453],[25.8652886,36.8199596],[25.8653103,36.8196956],[25.8655065,36.8194672],[25.8654931,36.8193773],[25.8651811,36.8194543],[25.8647879,36.8198841],[25.8646748,36.8198408],[25.8647803,36.8195687],[25.8647285,36.8192811],[25.864999,36.8188803],[25.8649716,36.8186734],[25.864831,36.8184232],[25.8642248,36.817928],[25.8638607,36.8177084],[25.8636584,36.8172248],[25.8634275,36.816949],[25.8636431,36.8166234],[25.8637214,36.8161535],[25.8637261,36.8154233],[25.8641059,36.8149036],[25.8645355,36.8145904],[25.8654245,36.81427],[25.8659282,36.8137754],[25.8663815,36.8130563],[25.8668282,36.8125265],[25.8674129,36.8121387],[25.8686271,36.8118222],[25.8689897,36.8115191],[25.8695585,36.811402],[25.8700452,36.8111329],[25.8703242,36.8110835],[25.8708612,36.8114986],[25.8717253,36.8119988],[25.8723435,36.8125299],[25.8724172,36.8125625],[25.8727358,36.8122961],[25.8731576,36.8121272],[25.8736261,36.8120297],[25.8745932,36.811699],[25.8750762,36.8112768],[25.8752605,36.8110215],[25.8759113,36.8105876],[25.8760732,36.8103327],[25.8766218,36.8098463],[25.8766394,36.8096477],[25.8765447,36.8094419],[25.8766586,36.8093748],[25.876629,36.8090778],[25.8763438,36.808875],[25.8764246,36.8085132],[25.8769829,36.8081641],[25.8764246,36.8085132],[25.8763438,36.808875],[25.876629,36.8090778],[25.8766586,36.8093748],[25.8765447,36.8094419],[25.8766394,36.8096477],[25.8766218,36.8098463],[25.8760732,36.8103327],[25.8759113,36.8105876],[25.8752605,36.8110215],[25.8750762,36.8112768],[25.8745932,36.811699],[25.8736261,36.8120297],[25.8731576,36.8121272],[25.8727358,36.8122961],[25.8724172,36.8125625],[25.8723435,36.8125299],[25.8722425,36.8129821],[25.8720783,36.8131469],[25.8719214,36.8131494],[25.8716932,36.8129818],[25.8715769,36.8137317],[25.8716059,36.8140016],[25.8718098,36.8140886],[25.8715481,36.8143901],[25.8713822,36.8149425],[25.8714632,36.8155091],[25.8714432,36.8156086],[25.8712552,36.8157107],[25.8711699,36.8158923],[25.8711998,36.8166579],[25.870904,36.816942],[25.8708523,36.8171231],[25.8707524,36.8171607],[25.8705704,36.8170554],[25.8703347,36.8170411],[25.8700132,36.8171904],[25.869911,36.8171379],[25.869339,36.8175885],[25.8691028,36.8175562],[25.868949,36.8176848],[25.8692691,36.8184008],[25.8695526,36.8185316],[25.8697738,36.8188706],[25.8703286,36.8190962],[25.8708682,36.8193559],[25.8711835,36.819414],[25.8716179,36.819299],[25.8723461,36.8192785],[25.8726786,36.8191201],[25.872897,36.8188823],[25.8730651,36.8188796],[25.8731143,36.8189442],[25.8730554,36.8192876],[25.8729044,36.8195334],[25.8725937,36.8196645],[25.8717464,36.8198581],[25.8713353,36.8204684],[25.870731,36.8209737],[25.8699646,36.8204044],[25.869604,36.8207886],[25.8693389,36.8214147],[25.8694536,36.8215211],[25.8695428,36.8215016],[25.8697066,36.8213188],[25.869756,36.8210476],[25.8699782,36.820963],[25.8699916,36.8210529],[25.8698727,36.821235],[25.8699551,36.821396],[25.8699124,36.8224062],[25.86999,36.8228286],[25.8697883,36.8233545],[25.8696483,36.8240507],[25.8694877,36.8243597],[25.8695333,36.8248547],[25.8693729,36.8256324],[25.8692454,36.8259228],[25.8686426,36.8264911],[25.8680646,36.8266985],[25.867173,36.8273795],[25.866753,36.8276294],[25.8666779,36.8277658],[25.8667143,36.8278824],[25.8661687,36.8280352],[25.8658677,36.8280512],[25.8653419,36.8271761],[25.8650545,36.8268832],[25.8648728,36.8267869],[25.8642696,36.8267333],[25.8640118,36.8267103],[25.8637914,36.8267228],[25.863564,36.8267353],[25.8633097,36.8269151]]},{"id":18753,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 3\u03b4 \u0392\u03c1\u03bf\u03cd\u03c4\u03c3\u03b7\u03c2-\u0391\u03c1\u03ba\u03b5\u03c3\u03af\u03bd\u03b7","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 3","path":"ISLANDS\/Islands_Amorgos_Vroutsis_Arkesini","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":3222,"name_EN":"Amorgos: 3d Vroutsis-Arkesini","description_EN":"Trail 3","ascent_time":75,"descent_time":80,"marker":"Red_dots","level":13,"ascent":50,"descent":111,"maxelev":264,"minelev":166,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.79968 36.78728,25.81869 36.79868)","views":2,"millestones":"0,25.8189468,36.7982794#1,25.8113993,36.7966116#2,25.8033775,36.7949944#3.2,25.8013388,36.7875466","x":25.8049122,"y":36.7937883,"coor":[[25.8189468,36.7982794],[25.8189153,36.79837],[25.8182771,36.7983978],[25.8180615,36.7982839],[25.8176806,36.7982898],[25.8169774,36.79794],[25.8169482,36.797652],[25.8171965,36.7972516],[25.8172358,36.7970166],[25.8169305,36.7969041],[25.8168362,36.7967073],[25.8162041,36.7960409],[25.8158519,36.795839],[25.8150503,36.7955899],[25.8142288,36.7949715],[25.81385,36.7950674],[25.8134459,36.7955152],[25.8133744,36.7958137],[25.8132214,36.7959783],[25.8116889,36.7965785],[25.8105041,36.7967137],[25.8082908,36.7963959],[25.8077721,36.7962596],[25.8073271,36.7959238],[25.8070627,36.7956394],[25.8068659,36.795372],[25.8064141,36.7942702],[25.8062644,36.7941012],[25.8062498,36.7939572],[25.8059342,36.7934032],[25.8056296,36.7933177],[25.8049122,36.7937883],[25.8047427,36.7938156],[25.8044884,36.7939637],[25.8032822,36.7950997],[25.8029271,36.7952493],[25.8022809,36.7949346],[25.8016022,36.7941877],[25.8012864,36.7941024],[25.8007376,36.7941197],[25.8003187,36.7939998],[25.8004025,36.7937462],[25.8002234,36.7932802],[25.8002613,36.7929822],[25.8005644,36.7925269],[25.8006966,36.7924258],[25.8010641,36.7923301],[25.8009168,36.7922602],[25.8009037,36.7921793],[25.8009886,36.7918873],[25.8005881,36.7915328],[25.8002157,36.7909436],[25.8001929,36.7907186],[25.7999019,36.7903737],[25.7994821,36.7901548],[25.7996452,36.7898796],[25.7997786,36.7893548],[25.8000434,36.7887897],[25.8001308,36.7886014],[25.8002223,36.7882034],[25.8004309,36.78802],[25.8013388,36.7875466]]},{"id":18754,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 3\u03b3 \u0392\u03c1\u03bf\u03cd\u03c4\u03c3\u03b7\u03c2-\u039a\u03b1\u03c3\u03c4\u03c1\u03af","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 3","path":"ISLANDS\/Islands_Amorgos_Vroutsis_Kastri","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":5,"length":1420,"name_EN":"Amorgos: 3c Vroutsis-Kastri","description_EN":"Trail 3i","ascent_time":25,"descent_time":30,"marker":"Red_dots","level":13,"ascent":5,"descent":197,"maxelev":262,"minelev":63,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.81702 36.79828,25.81895 36.81053)","views":4,"millestones":"0,25.8189468,36.7982794#1,25.8177086,36.8071109#1.4,25.8170235,36.8105310","x":25.8179211,"y":36.8052624,"coor":[[25.8189468,36.7982794],[25.8189153,36.79837],[25.818759,36.7989853],[25.8187898,36.7998141],[25.8187087,36.8001759],[25.8186712,36.8009606],[25.8183858,36.8021637],[25.8178359,36.8030825],[25.8179398,36.8036848],[25.8177913,36.8045163],[25.8179211,36.8052624],[25.8178388,36.8065549],[25.8177373,36.8070589],[25.8172429,36.8079588],[25.8170454,36.8086108],[25.817049,36.808764],[25.8172865,36.8093282],[25.8172487,36.8096262],[25.8173116,36.8099137],[25.8170235,36.810531]]},{"id":18755,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 8 \u039a\u03b1\u03c4\u03ac\u03c0\u03bf\u03bb\u03b1-\u03a7\u03ce\u03c1\u03b1 \u03b1\u03c0\u03cc \u03c4\u03bf \u039e\u03c5\u03bb\u03bf\u03ba\u03b5\u03c1\u03b1\u03c4\u03af\u03b4\u03b9","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 8","path":"ISLANDS\/Islands_Amorgos_Xylokeratidi_Chora","activity_type":31,"assistance":1,"difficulty":2,"scenic_value":3,"length":7348,"name_EN":"Amorgos: 8 Katapola-Chora via Xylokeratidi","description_EN":"Trail 8","ascent_time":160,"descent_time":175,"marker":"Red_dots","level":13,"ascent":171,"descent":461,"maxelev":322,"minelev":0,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.86024 36.82619,25.89719 36.8428)","views":7,"millestones":"0,25.8953492,36.8319224#1,25.8931155,36.8365946#2,25.8875969,36.8408913#3,25.8770236,36.8424257#4,25.8678573,36.8410046#5,25.8606083,36.8401643#6,25.8666450,36.8346703#7,25.8656345,36.8276664#7.3,25.8633126,36.8269173","x":25.8750918,"y":36.8425504,"coor":[[25.8953492,36.8319224],[25.895462,36.8319476],[25.8957533,36.8317988],[25.8961988,36.8317331],[25.8963025,36.8317585],[25.8965767,36.8318262],[25.8966317,36.8318659],[25.8968241,36.8318808],[25.8969583,36.8318697],[25.8969842,36.8319256],[25.8971633,36.8319137],[25.897248,36.8319079],[25.8973322,36.8319133],[25.8972688,36.8320675],[25.8971755,36.8320938],[25.8969907,36.8321869],[25.8967338,36.8324276],[25.8966358,36.8324855],[25.8964221,36.8324619],[25.8961434,36.8324708],[25.8955191,36.832616],[25.8954214,36.8327437],[25.8954144,36.8329151],[25.8952478,36.8329808],[25.8951813,36.8331261],[25.8954297,36.8331942],[25.8953198,36.8332861],[25.8954231,36.8333836],[25.8953392,36.8336193],[25.8953859,36.8336907],[25.8952809,36.8339808],[25.8952467,36.8344139],[25.8949126,36.8349601],[25.8948628,36.8352132],[25.8946431,36.835397],[25.8948123,36.8354394],[25.894337,36.8357173],[25.8938742,36.8360492],[25.8938868,36.8361031],[25.8937303,36.8361236],[25.8935554,36.8363066],[25.8930438,36.836477],[25.8932245,36.8365282],[25.8930944,36.8365686],[25.8931522,36.8366398],[25.8933874,36.836627],[25.8933883,36.8366631],[25.8928605,36.8370861],[25.8925678,36.8374963],[25.8924532,36.8378497],[25.8922409,36.8378801],[25.8922202,36.8379525],[25.8917394,36.8380053],[25.891842,36.8380757],[25.891675,36.8381235],[25.8917992,36.8381575],[25.891666,36.8382137],[25.891746,36.8382756],[25.8915115,36.8383153],[25.8916245,36.8383496],[25.8912059,36.8386537],[25.8911318,36.8388351],[25.8908198,36.8389122],[25.8910031,36.8390715],[25.8909603,36.8391533],[25.8907589,36.8391746],[25.890482,36.8393142],[25.8902616,36.8394709],[25.89011,36.8396896],[25.8900626,36.8402131],[25.8897513,36.8407769],[25.889756,36.8410517],[25.8894244,36.8412193],[25.8892308,36.8415558],[25.8891412,36.8413612],[25.8884938,36.841029],[25.887963,36.8408752],[25.8871342,36.8409154],[25.8866724,36.8408326],[25.8862255,36.8409028],[25.8851659,36.8406762],[25.8847869,36.8407724],[25.8838914,36.8412913],[25.8834566,36.8413973],[25.8827961,36.8414439],[25.8822739,36.8412989],[25.8818263,36.8413646],[25.880602,36.8417445],[25.8797323,36.8419475],[25.8795241,36.8421469],[25.8790206,36.8421909],[25.8788735,36.8421391],[25.8785713,36.8421619],[25.8775877,36.8422946],[25.8766509,36.8425077],[25.8764348,36.842439],[25.8761893,36.842488],[25.8759864,36.8424461],[25.8754061,36.8425634],[25.8750918,36.8425504],[25.8746364,36.8422691],[25.8743764,36.8421831],[25.8741295,36.842178],[25.8735172,36.8418992],[25.8729424,36.8417821],[25.8726852,36.8418132],[25.8724138,36.8417183],[25.8722588,36.8418019],[25.8714741,36.8418142],[25.8712702,36.8417273],[25.870802,36.8418428],[25.8703984,36.8418492],[25.8701406,36.8418532],[25.8699916,36.8417204],[25.8698048,36.8418765],[25.8695482,36.8419347],[25.8693833,36.8418381],[25.8691978,36.8415887],[25.8690435,36.8407799],[25.8686004,36.8405435],[25.8684431,36.8405279],[25.8682655,36.8406028],[25.8680272,36.8409491],[25.8676155,36.8410817],[25.8672221,36.8410429],[25.8671405,36.840918],[25.8669928,36.8408392],[25.8658908,36.8407122],[25.8655782,36.8407712],[25.8650061,36.8407622],[25.8645068,36.8406078],[25.8642477,36.8405578],[25.8640956,36.8407584],[25.8639958,36.8408051],[25.86386,36.8407531],[25.8636307,36.8410091],[25.863519,36.8410289],[25.8623194,36.8424267],[25.8620616,36.8419711],[25.861956,36.8413148],[25.8617677,36.8409482],[25.8614939,36.8407542],[25.8607686,36.840441],[25.860184,36.840324],[25.8602939,36.8402321],[25.8605731,36.8401827],[25.8609052,36.8400063],[25.8613,36.8396395],[25.8614777,36.839105],[25.8615033,36.8383114],[25.8617019,36.8377134],[25.8620752,36.8369234],[25.8623963,36.8367561],[25.8633124,36.8366156],[25.8635753,36.8363591],[25.863514,36.8356796],[25.8635771,36.8355073],[25.8646791,36.8351746],[25.8647964,36.8353891],[25.8649667,36.8354765],[25.8655942,36.8354577],[25.8659914,36.83519],[25.8661949,36.8352589],[25.8664721,36.8351284],[25.8666613,36.8346117],[25.8668352,36.8343836],[25.8671895,36.8341978],[25.8675919,36.8336867],[25.8674858,36.8334721],[25.8671808,36.8333777],[25.8671072,36.8331175],[25.8668549,36.8328871],[25.8668255,36.8325991],[25.8668646,36.8323642],[25.8663051,36.8321521],[25.8659917,36.8321751],[25.8658328,36.8320965],[25.8657424,36.8319807],[25.8656014,36.8317125],[25.8654429,36.8316519],[25.8653356,36.8308694],[25.8652213,36.8307811],[25.8654838,36.830795],[25.8655255,36.8306682],[25.8657531,36.8306894],[25.8659307,36.8306145],[25.8660949,36.8304497],[25.8661672,36.8301962],[25.8662263,36.8297739],[25.8661638,36.8292476],[25.8659496,36.8282775],[25.8658706,36.8280534],[25.8653448,36.8271784],[25.8650574,36.8268854],[25.8648756,36.8267891],[25.8640147,36.8267125],[25.8635668,36.8267375],[25.8633126,36.8269173]]},{"id":18756,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: 8\u03b1 \u03a7\u03ce\u03c1\u03b1-\u03a0\u03cd\u03c1\u03b3\u03bf\u03c2 \u03a1\u03af\u03c7\u03c4\u03b9","description_GR":"\u0394\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae 8\u03b1","path":"ISLANDS\/Islands_Amorgos_Chora_Richti","activity_type":31,"assistance":1,"difficulty":2,"scenic_value":4,"length":4762,"name_EN":"Amorgos: 8a Chora-Richtis tower","description_EN":"Trail 8a","ascent_time":165,"descent_time":165,"marker":"Red_dots","level":13,"ascent":369,"descent":369,"maxelev":326,"minelev":147,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.88975 36.83147,25.92319 36.86254)","views":7,"millestones":"0,25.8953492,36.8319224#1,25.8924661,36.8378044#2,25.8906745,36.8443165#3,25.8914992,36.8522941#4,25.8999119,36.8555172#5,25.9090263,36.8562898#6,25.9179986,36.8554297#7,25.9227493,36.8594682#4.8,25.9232701,36.8615329","x":25.8986208,"y":36.8537588,"coor":[[25.8953492,36.8319224],[25.8953899,36.8320389],[25.8958635,36.8322319],[25.8963202,36.8324184],[25.8964221,36.8324619],[25.8961434,36.8324708],[25.8955191,36.832616],[25.8954214,36.8327437],[25.8954144,36.8329151],[25.8952478,36.8329808],[25.8951813,36.8331261],[25.8954297,36.8331942],[25.8953198,36.8332861],[25.8954231,36.8333836],[25.8953392,36.8336193],[25.8953859,36.8336907],[25.8952809,36.8339808],[25.8952467,36.8344139],[25.8949126,36.8349601],[25.8948628,36.8352132],[25.8946431,36.835397],[25.8948123,36.8354394],[25.894337,36.8357173],[25.8938742,36.8360492],[25.8938868,36.8361031],[25.8937303,36.8361236],[25.8935554,36.8363066],[25.8930438,36.836477],[25.8932245,36.8365282],[25.8930944,36.8365686],[25.8931522,36.8366398],[25.8933874,36.836627],[25.8933883,36.8366631],[25.8928605,36.8370861],[25.8925678,36.8374963],[25.8924532,36.8378497],[25.8922409,36.8378801],[25.8922202,36.8379525],[25.8917394,36.8380053],[25.891842,36.8380757],[25.891675,36.8381235],[25.8917992,36.8381575],[25.891666,36.8382137],[25.891746,36.8382756],[25.8915115,36.8383153],[25.8916245,36.8383496],[25.8912059,36.8386537],[25.8911318,36.8388351],[25.8908198,36.8389122],[25.8910031,36.8390715],[25.8909603,36.8391533],[25.8907589,36.8391746],[25.890482,36.8393142],[25.8902616,36.8394709],[25.89011,36.8396896],[25.8900626,36.8402131],[25.8897513,36.8407769],[25.889756,36.8410517],[25.8894244,36.8412193],[25.8892308,36.8415558],[25.8894868,36.8417906],[25.8900803,36.8422138],[25.8903141,36.8425977],[25.8907153,36.8429518],[25.8908215,36.8431664],[25.8906517,36.844467],[25.8907076,36.8449168],[25.8904318,36.8460118],[25.8903994,36.8465171],[25.8905743,36.8472443],[25.8908851,36.8480236],[25.8915632,36.8491484],[25.8917302,36.8495514],[25.8915413,36.8500771],[25.891523,36.8506993],[25.8913805,36.8508368],[25.8909688,36.8509695],[25.8907823,36.8511348],[25.8907555,36.8514146],[25.8908805,36.8519354],[25.8911037,36.8523464],[25.8912846,36.8524066],[25.8922038,36.8519323],[25.892472,36.851892],[25.8926747,36.8519248],[25.8930823,36.8520806],[25.8948212,36.8530083],[25.8951593,36.853075],[25.8955994,36.8535817],[25.8960908,36.8539524],[25.8967139,36.8542039],[25.8971978,36.8542683],[25.8978876,36.8540409],[25.898428,36.8536718],[25.8985284,36.8536521],[25.8986208,36.8537588],[25.8986614,36.8540376],[25.8989137,36.8547185],[25.89962,36.8551579],[25.9002448,36.8559321],[25.9006807,36.8563217],[25.9009995,36.8565149],[25.9024364,36.8570146],[25.9029104,36.8571332],[25.9033131,36.8570907],[25.903866,36.8571089],[25.9045838,36.8566558],[25.9051287,36.8564668],[25.9054018,36.856174],[25.9054175,36.856354],[25.9054529,36.8564255],[25.9055067,36.8563345],[25.905552,36.8563518],[25.9055229,36.8565326],[25.9057223,36.8568268],[25.9058436,36.8567437],[25.9067405,36.8565874],[25.9079218,36.8562823],[25.9086356,36.8563181],[25.9103132,36.8562078],[25.9105289,36.8563125],[25.91073,36.8562822],[25.9108323,36.8563346],[25.9109043,36.8565228],[25.9116808,36.8566274],[25.9124999,36.8566413],[25.9125997,36.8565946],[25.91268,36.8566654],[25.9127793,36.8566008],[25.9128919,36.856617],[25.9130963,36.8558205],[25.9133268,36.8556185],[25.913356,36.8554378],[25.9135562,36.8553715],[25.9138728,36.8554745],[25.9139845,36.8554547],[25.9147173,36.8551545],[25.9148616,36.8551814],[25.9158765,36.8549488],[25.9161124,36.854963],[25.9166108,36.8547116],[25.9168458,36.8546898],[25.9169261,36.8547606],[25.9168945,36.8548422],[25.9169602,36.8547781],[25.917062,36.8548125],[25.9174302,36.8551851],[25.917997,36.8554283],[25.9188903,36.8562499],[25.9193474,36.856585],[25.9196627,36.8565528],[25.9203834,36.8566674],[25.9204749,36.856738],[25.9207339,36.8567789],[25.9212243,36.8566538],[25.9227905,36.8564933],[25.9234813,36.8563108],[25.9236141,36.8564078],[25.9236953,36.8565147],[25.9237197,36.857037],[25.9238428,36.8574767],[25.9237243,36.8576679],[25.9237812,36.857703],[25.9236956,36.8578666],[25.9237209,36.8579834],[25.9236111,36.8580753],[25.9236595,36.8582187],[25.9235535,36.8584638],[25.923291,36.8587294],[25.9231303,36.8590295],[25.9229859,36.8590859],[25.9229437,36.8591947],[25.9228982,36.8591684],[25.9227563,36.859324],[25.9225737,36.8592007],[25.9227585,36.859414],[25.922582,36.8604264],[25.9226345,36.860732],[25.9225848,36.8609852],[25.9225189,36.8610403],[25.9226871,36.8614882],[25.9225028,36.8617436],[25.9219467,36.8619328],[25.9219261,36.8620053],[25.9219889,36.8620223],[25.9224231,36.8618891],[25.9226909,36.8616955],[25.9228088,36.8614773],[25.9230436,36.8614464],[25.9232701,36.8615329]]},{"id":18757,"author":"AnaDigit","name_GR":"\u0391\u03bc\u03bf\u03c1\u03b3\u03cc\u03c2: \u039b\u03b1\u03b3\u03ba\u03ac\u03b4\u03b1-\u039c\u03b1\u03c7\u03cc\u03c2","description_GR":"\u03a3\u03c4\u03bf\u03c5\u03c2 \u03b1\u03bd\u03b5\u03bc\u03cc\u03bc\u03c5\u03bb\u03bf\u03c5\u03c2 \u03c4\u03bf\u03c5 \u039c\u03b1\u03c7\u03bf\u03cd","path":"ISLANDS\/Islands_Amorgos_Lagada_Machos","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":5,"length":1671,"name_EN":"Amorgos: Lagada-Machos","description_EN":"Ascent to the windmills of Machos","ascent_time":55,"descent_time":40,"marker":"Red_dots","level":11,"ascent":320,"descent":8,"maxelev":548,"minelev":220,"link_logo":"amorgos_128","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.amorgos","pdf_link":"","bbox":"LINESTRING(25.99852 36.89927,26.00477 36.90736)","views":5,"millestones":"0,25.9998574,36.9073346#1,25.9985539,36.9019707#1.7,26.0047924,36.9001311","x":25.9993446,"y":36.9013924,"coor":[[25.9998574,36.9073346],[26.0003108,36.9070746],[26.0004283,36.9068473],[26.0003114,36.9067478],[25.9991088,36.9062543],[25.9994405,36.9060595],[25.9996438,36.9061101],[25.9999123,36.9060786],[26.0005497,36.9053986],[26.0005658,36.905155],[26.0005684,36.9050401],[26.0003688,36.9047009],[26.0005003,36.9045815],[26.0008345,36.9044858],[26.0010546,36.9043198],[26.0008931,36.9041513],[26.0010576,36.9040043],[26.0009889,36.9039514],[26.0010861,36.9038056],[26.0011008,36.9035079],[26.0008509,36.9033949],[26.0005146,36.9034096],[26.0004599,36.9034646],[26.00038,36.9034119],[26.000229,36.9032161],[26.0002472,36.9030536],[26.0000985,36.9029479],[26.0003285,36.9027278],[26.000088,36.9026259],[25.9997725,36.9025771],[25.9996239,36.9024715],[25.9988891,36.9022675],[25.9984527,36.9018873],[25.9983778,36.9017601],[25.9987132,36.9017094],[25.9993446,36.9013924],[25.999547,36.901407],[25.999831,36.9015374],[25.9998155,36.9013754],[26.0001509,36.9013247],[25.9998827,36.9009417],[25.9999486,36.9008865],[26.0000613,36.9009026],[26.0000816,36.9008212],[26.0001161,36.900424],[26.0000301,36.900137],[26.000393,36.9002841],[26.0005143,36.900201],[26.0006288,36.9002892],[26.0007286,36.9002424],[26.0008763,36.9003121],[26.0008973,36.9002576],[26.0005126,36.8997053],[26.0005804,36.8997222],[26.0006011,36.8996587],[26.0004712,36.8994086],[26.000675,36.8994772],[26.0007194,36.8994585],[26.0007051,36.8993415],[26.0012943,36.899397],[26.0017143,36.8995792],[26.0019116,36.8998282],[26.0023764,36.9000096],[26.002612,36.9000057],[26.0029065,36.9001088],[26.0032418,36.9000581],[26.003627,36.9001958],[26.0041635,36.9001147],[26.0046924,36.9001688],[26.0047924,36.9001311]]}],{"extent":[25.76879,36.78728,26.04112,36.91727],"advPath":"http:\/\/www.topoguide.gr\/adventure.php?l=en&ul=1&a=","style":{"default":{"color":"#ff612f","width":5,"action":{"type":"redirect"},"sort":{"type":"byname"}},"PELOPONNESE\/Pelop_Abeliona_Trail_1":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_2":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1c":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1a":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"PELOPONNESE\/Pelop_Abeliona_Trail_1b":{"url":null,"color":"#ff612f","width":3,"exclude":false,"useStyle":false},"Car_touring\/CAR_Rodos_Attavyros_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Attavyros_summit":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_36km_Lindos_Loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MTB_ROADBIKE\/MTB_Rodos_Kattavia_Skiadeni_loop":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"Car_touring\/CAR_Rodos_Lindos_Sport":{"url":null,"color":"#ff612f","width":3,"exclude":true,"useStyle":false},"MACEDONIA\/Makedonia_Falakro_refuge_Chionotripa":{"url":null,"color":"#bb0707","width":6,"exclude":false,"useStyle":true},"MACEDONIA\/Makedonia_Falakro_refuge_ProfitisIlias":{"url":null,"color":"#b11f0b","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Lousios":{"url":"Menalon_Trail_Lousios.php","color":"#ffee2f","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Dimitsana_Zygovisti":{"url":null,"color":"#248036","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Zygovisti_Elati":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Vytina_Nymfasia":{"url":null,"color":"#108b1a","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Valtesiniko_Lagadia":{"url":null,"color":"#fbfb00","width":6,"exclude":false,"useStyle":true},"Peloponnese\/Pelop_Menalon_Trail_Magouliana_Valtesiniko":{"url":null,"color":"#e70404","width":6,"exclude":false,"useStyle":true},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_Elliniko":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_Skemna_loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_loop2":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Menalon_Stemnitsa_loop1":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Arkadia_Valtesiniko_Loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Magouliana_Kamari_valley":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"PELOPONNESE\/Pelop_Magouliana_Short_loop":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Dimitsana_Radou":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Lasta_Valtesiniko":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"Peloponnese\/Pelop_Gortynia_Vytina_Lasta":{"url":null,"color":"#ff612f","width":6,"exclude":true,"useStyle":false},"ISLANDS\/Islands_Santorini_Path_1":{"url":null,"color":"#ec0a0a","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_9":{"url":null,"color":"#f60606","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_10":{"url":null,"color":"#2ffff7","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_11":{"url":null,"color":"#2fb4ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_12":{"url":null,"color":"#069f24","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_13":{"url":null,"color":"#f60404","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Merovigli_Skaros":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Oia_Amoudi":{"url":null,"color":"#2fffff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_2":{"url":null,"color":"#06b12f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_3":{"url":null,"color":"#2fd5ff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_4":{"url":null,"color":"#f4ff00","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_5":{"url":null,"color":"#04b427","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_6":{"url":null,"color":"#ff2fd5","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_7":{"url":null,"color":"#2abc0e","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Santorini_Path_8":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Koukouli_Dilofo":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Vikos_Elafotopos":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_AnoPedina_Monodendri":{"url":null,"color":"#0dcb15","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_AKlidonia_Papigo":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_AstrakaRef_Gamila":{"url":null,"color":"#0ba611","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Astraka_Drakolimni":{"url":null,"color":"#2facff","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Konitsa_Astraka":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Konitsa_Stomio_Ast":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_O31_Astraka_Vrisoc":{"url":null,"color":"#ff0909","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_O31_Papigo_Astraka":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_Voidomatis_bridges":{"url":null,"color":"#0ba611","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Stouros":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Vradeto_Beloi":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Kapesovo_Kipi":{"url":null,"color":"#2ffff7","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_KKlidonia_AKlidonia":{"url":null,"color":"#f3e907","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Monodentri_Vitsa":{"url":null,"color":"#2fffee","width":6,"exclude":false,"useStyle":true},"IPIROS\/Ipiros_Zagori_Elafotopos_AnoPedina":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"IPIROS\/Ipiros_Zagori_Skala_Vradetou":{"url":null,"color":"#e91c13","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Vradeto_Astraka":{"url":null,"color":"#2fffb4","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Vitsa_Koukouli":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Ipiros\/Ipiros_Zagori_Tsepelovo_Astraka":{"url":null,"color":"#fbf100","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Papigo_Vikos":{"url":null,"color":"#2fffb4","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Papigo_Loop":{"url":null,"color":"#f50000","width":6,"exclude":false,"useStyle":true},"Ipiros\/Ipiros_Zagori_Monodendri_Vikos":{"url":null,"color":"#2f37ff","width":6,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/MTB_Pelop_Lagadia_loop1":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"SUV_4X4\/SUV_Pelop_Lagadia_Arvitsa":{"url":null,"color":"#0bbd13","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_2":{"url":null,"color":"#ffee2f","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_1":{"url":null,"color":"#ffc52f","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Servou_loop_3":{"url":null,"color":"#2fff8b","width":6,"exclude":false,"useStyle":true},"SUV_4X4\/SUV_Pelop_Lagadia_Keresova":{"url":null,"color":"#f40404","width":6,"exclude":false,"useStyle":true},"ATTIKI\/Attiki_Imittos_Sfittia_Odos":{"url":null,"color":"#34bb0a","width":3,"exclude":false,"useStyle":true},"ATTIKI\/Attiki_Imittos_Papagou_Trail_2":{"url":null,"color":"#0a820a","width":6,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Trail10":{"url":null,"color":"#2f40ff","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Katechaki_GlykaNera":{"url":null,"color":"#ffd82f","width":3,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Ilioupoli_Sfittos":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"Attiki\/Attiki_Imittos_Kareas_Michailidis":{"url":null,"color":"#ffd82f","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Katechaki_Summit":{"url":null,"color":"#ffd82f","width":4,"exclude":false,"useStyle":true},"Attiki\/Attiki_Imittos_Taxiarches_sum_road":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_Roadbike\/MTB_Imittos_Anthousa_tower":{"url":null,"color":"#2f3dff","width":6,"exclude":false,"useStyle":true},"MTB_Roadbike\/MTB_Imittos_Liondari_cave":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_Roadbike\/MTB_Imittos_Megalos_Kiklos":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_loop1":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_loop2":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Kareas":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Quarries":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Korakovouni_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Papagou_Asteriou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop1":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop2":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop3":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Sfittos_OmvriosZefs":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kesariani_Kalopoula":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Sfittos_roman_quarry":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_PrfIlias_Terpsithea":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Koutalas_Kareas":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kareas_loop4":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Ilioupoli_PrfIlias":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Ilioupoli_Mnimeio_Michailidi":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Kalopoula_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Gyros_Imittou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Mikros_Kiklos":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Kesariani_Kalopoula_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MTB_ROADBIKE\/MTB_Imittos_Kesariani_Hard_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MOUNTAIN_RUNNING\/MountRun_Imittos_Anthousa_training":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"MOUNTAIN_RUNNING\/MountRun_Imittos_Oreinos_Agonas_Imittou":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Trail10_short_version":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ATTIKI\/Attiki_Imittos_Koutalas_loop":{"url":null,"color":"#ff612f","width":4,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kythnos_Trail_1":{"url":null,"color":"#1d7a10","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_2":{"url":null,"color":"#2f50ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_3":{"url":null,"color":"#eb0707","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_4":{"url":null,"color":"#f72fff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_5":{"url":null,"color":"#13930e","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6a":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_6b":{"url":null,"color":"#2ff7ff","width":5,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_7":{"url":null,"color":"#ffff2f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_8":{"url":null,"color":"#e110d0","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Trail_9":{"url":null,"color":"#51be14","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Chora_loop1":{"url":null,"color":"#2fcdff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Chora_loop2":{"url":null,"color":"#ffc52f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Zogaki":{"url":null,"color":"#11a2b6","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Kanala":{"url":null,"color":"#ffad00","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kythnos_Dryopis_Kanala2":{"url":null,"color":"#22d112","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_AgNikolaos_Poria":{"url":null,"color":"#1f9306","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Tromarisa_Poria":{"url":null,"color":"#ff2f2f","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Tromarisa_gorge":{"url":null,"color":"#ca2fff","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Zourva_Tromarisa":{"url":null,"color":"#3aff2f","width":6,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Meskla_Zourva":{"url":null,"color":"#85ff2f","width":6,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Zourva_Kambia":{"url":null,"color":"#fff42f","width":6,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_Kambia":{"url":null,"color":"#ffc22f","width":6,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_loop_1":{"url":null,"color":"#2ffaff","width":7,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_loop_2":{"url":null,"color":"#2fa6ff","width":4,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_Tembla":{"url":null,"color":"#b12fff","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_AgKyriaki_Tembla":{"url":null,"color":"#2f64ff","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Kambia_1":{"url":null,"color":"#ff2fd0","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Kambia_2":{"url":null,"color":"#2fff98","width":5,"exclude":false,"useStyle":true},"CRETE\/Crete_LefkaOri_Theriso_Zourva":{"url":null,"color":"#2fbfff","width":5,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/Roadbike_Elafonisos_western_ride":{"url":null,"color":"#ffdb2f","width":5,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/Roadbike_Elafonisos_great_circle":{"url":null,"color":"#ffdb2f","width":5,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/Roadbike_Elafonisos_eastern_ride":{"url":null,"color":"#ffdb2f","width":5,"exclude":false,"useStyle":true},"Islands\/Islands_Amorgos_Lagada_loop":{"url":null,"color":"#319310","width":5,"exclude":false,"useStyle":true},"Islands\/Islands_Amorgos_Kolofana_Arkesini":{"url":null,"color":"#2f3aff","width":5,"exclude":false,"useStyle":true},"Islands\/Islands_Amorgos_Katapola_Valsamitis":{"url":null,"color":"#ffdb2f","width":5,"exclude":false,"useStyle":true},"Islands\/Islands_Amorgos_Katapola_Chora":{"url":null,"color":"#2ffffc","width":5,"exclude":false,"useStyle":true},"Islands\/Islands_Amorgos_Katapola_Arkesini":{"url":null,"color":"#c127d9","width":5,"exclude":false,"useStyle":true},"Islands\/Islands_Amorgos_Egiali_loop":{"url":null,"color":"#e51d78","width":5,"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_amorgos = new getPoiCollection("amorgos",[],{});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="
3e Arkesini-Kato Kambos
Chora-Chozoviotissa mon.
Chora-Profitis Ilias
8a Chora-Richtis tower
1a Chora-Xenodoxeio
1 Chozoviotissa mon.-Aegiali
4a Hidden beaches of Aegiali
4 Aegiali loop
Short loop in Lagada
5 Aegiali-Stavros
2 Katapola-Chora via the Fonias ravine
Kalotaritisas-Kato Kambos
3b Kamari-Kastri
7a Katapola-Agios Ilias Lighthouse
Katapola-Kato Akrotiri
Katapola-Plakes
3a Katapola-Vroutsis
Lagada-Machos
7 Katapola-Chora via Ta Nera
Katapola-Chora via Rachidi
Tholaria-Pounta beacon
6 Katapola-Valsamitis loop
3d Vroutsis-Arkesini
3c Vroutsis-Kastri
8 Katapola-Chora via Xylokeratidi
";}else{console.log('adventure list widget activated but div missing. Requested id: pathList');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["amorgos"],pc:["amorgos"],url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo_en/{z}/{x}/{-y}.png',showLogo: 1,showZoomTool: 1}; var overrideAfterLoad = function(map){ adventureCollection_amorgos.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); }