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_kalymnos = new getAdventureCollection("kalymnos",[{"id":16398,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: Kalymnos Trail","description_GR":"\u03a4\u03bc\u03ae\u03bc\u03b1 \u03c4\u03bf\u03c5 Kalymnos Trail","path":"Islands\/Islands_KalymnosTrail_Section01","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":3,"length":5126,"name_EN":"Kalymnos: Kalymnos Trail","description_EN":"Section of Kalymnos Trail","ascent_time":135,"descent_time":130,"marker":"No_marks","level":13,"ascent":233,"descent":229,"maxelev":139,"minelev":0,"link_logo":"KAL_144px","link_ref":"https:\/\/play.google.com\/store\/apps\/details?id=anadigit.adventures.kalymnos","pdf_link":"","bbox":"LINESTRING(26.96655 36.94907,26.98775 36.92596)","views":45,"millestones":"0,26.9868981,36.9485587#1,26.9861672,36.9410950#2,26.9856574,36.9349383#3,26.9814289,36.9292781#4,26.9730372,36.9270095#5.1,26.9658646,36.9313885","x":26.9833634,"y":36.9290936,"coor":[[26.9868981,36.9485587],[26.9848836,36.9469964],[26.985006,36.9469145],[26.9850573,36.9468073],[26.9851147,36.9462652],[26.9860984,36.9455826],[26.9866492,36.945098],[26.9870747,36.9444925],[26.9871433,36.9442385],[26.9871245,36.9439191],[26.9871181,36.9434124],[26.9869802,36.9424697],[26.986828,36.9420229],[26.986536,36.9417329],[26.9862097,36.9411374],[26.9859412,36.9408738],[26.985453,36.9407329],[26.9853555,36.9405371],[26.9854396,36.9403908],[26.9857326,36.9401312],[26.9865162,36.939787],[26.9870449,36.9392421],[26.9871283,36.9390778],[26.9871911,36.9390154],[26.9872437,36.9386356],[26.9872387,36.9384194],[26.9874661,36.9379181],[26.987548,36.9378057],[26.9875347,36.9377519],[26.9874667,36.9377356],[26.9872345,36.9370904],[26.9876034,36.9364774],[26.9877657,36.9363201],[26.9878932,36.9358483],[26.9881283,36.9355451],[26.9880112,36.9354218],[26.9875977,36.9354683],[26.9869876,36.9353665],[26.9864857,36.9351629],[26.9859309,36.9350417],[26.985407,36.9348476],[26.9854462,36.9347024],[26.9862865,36.9337982],[26.98638,36.9336066],[26.9861701,36.9331163],[26.985861,36.9329619],[26.985766,36.9328291],[26.9856755,36.932525],[26.9857022,36.9323441],[26.985557,36.9320774],[26.985461,36.9316293],[26.985299,36.9312189],[26.9852369,36.9302022],[26.9849492,36.9300202],[26.9846205,36.92965],[26.9844481,36.9295462],[26.9843345,36.9292246],[26.983601,36.9291417],[26.9833634,36.9290936],[26.9831651,36.9291887],[26.9827845,36.9292163],[26.9825413,36.9293125],[26.9811144,36.9292763],[26.9809154,36.9293534],[26.9807318,36.9295382],[26.9800702,36.9295548],[26.9798649,36.9294699],[26.9791949,36.9295588],[26.9781436,36.9290805],[26.9778309,36.9288856],[26.9777002,36.9284113],[26.977724,36.9281584],[26.9770996,36.9276875],[26.9770961,36.9270207],[26.976979,36.9268975],[26.9766959,36.9268325],[26.9758539,36.9268266],[26.9756485,36.9267417],[26.9755981,36.9265987],[26.9755525,36.9265819],[26.974597,36.9268311],[26.9739231,36.9268209],[26.9735587,36.9269743],[26.9733306,36.9271692],[26.9732412,36.9271805],[26.9730324,36.9270055],[26.9730198,36.9266814],[26.972881,36.9265767],[26.9717797,36.9265412],[26.9714069,36.9264785],[26.971156,36.9263766],[26.9708869,36.9263834],[26.9706907,36.9265324],[26.9705974,36.926733],[26.9701384,36.9270509],[26.9691428,36.9274272],[26.9686848,36.9277721],[26.9685325,36.9277894],[26.9682156,36.9278289],[26.9680284,36.9279237],[26.9679545,36.9280427],[26.9679572,36.928403],[26.9675675,36.9290616],[26.9675489,36.9294495],[26.9676694,36.9296628],[26.9676893,36.9298876],[26.9676522,36.9300867],[26.9673875,36.9304989],[26.9673319,36.9305476],[26.967123,36.930697],[26.9670091,36.9307088],[26.9667309,36.9304815],[26.9665729,36.9305665],[26.9665669,36.9307019],[26.9663398,36.931068],[26.9658646,36.9313885]]},{"id":16408,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\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\u03bd \u03c8\u03b7\u03bb\u03cc\u03c4\u03b5\u03c1\u03b7 \u03ba\u03bf\u03c1\u03c5\u03c6\u03ae \u03c4\u03b7\u03c2 \u039a\u03b1\u03bb\u03cd\u03bc\u03bd\u03bf\u03c5","path":"Islands\/Islands_Kalymnos_Trail_1","activity_type":32,"assistance":2,"difficulty":2,"scenic_value":4,"length":6863,"name_EN":"Kalymnos Isl: Chora-Profitis Ilias","description_EN":"Ascent to the islands highest point","ascent_time":160,"descent_time":155,"marker":"Blue_dots","level":13,"ascent":582,"descent":582,"maxelev":665,"minelev":95,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.95822 36.96577,26.97273 36.98494)","views":72,"millestones":"0,26.9575116,36.9666141#1,26.9617814,36.9729706#2,26.9642368,36.9809340#3,26.9676742,36.9811211#4,26.9719852,36.9797020#5,26.9641551,36.9770147#6,26.9614198,36.9697875#6.9,26.9575131,36.9666163","x":26.9719897,"y":36.9798184,"coor":[[26.9575116,36.9666141],[26.9577732,36.9664093],[26.9583205,36.9663326],[26.9586382,36.9661265],[26.9587538,36.9667926],[26.9589515,36.9671482],[26.9589096,36.9672281],[26.9591696,36.9681407],[26.9592765,36.9683994],[26.9592445,36.9686795],[26.9592634,36.9688773],[26.9595168,36.9693305],[26.9599732,36.9695692],[26.9603558,36.9697714],[26.9611853,36.970021],[26.9613697,36.9701426],[26.9614773,36.9703111],[26.9615761,36.9708313],[26.9615083,36.9714007],[26.9616153,36.9717697],[26.9618717,36.9726622],[26.9617626,36.9730343],[26.9617948,36.9732858],[26.962061,36.9737973],[26.962155,36.9739031],[26.9622756,36.9741006],[26.9622805,36.9742266],[26.9623948,36.9742779],[26.9623177,36.9743158],[26.9623036,36.9745324],[26.962331,36.9746579],[26.9623983,36.9746562],[26.9623828,36.9748368],[26.9622018,36.9750937],[26.9621693,36.9754301],[26.9621453,36.9756628],[26.9622301,36.9758229],[26.9621792,36.9762476],[26.9622809,36.9762631],[26.9623818,36.976549],[26.9623492,36.9768652],[26.9625753,36.9771929],[26.9626956,36.9771088],[26.9628579,36.9772399],[26.9628379,36.9775919],[26.9629949,36.9778763],[26.9631253,36.9783416],[26.9633679,36.9785158],[26.9634914,36.9788213],[26.9635544,36.9789797],[26.9639478,36.9792762],[26.9640585,36.9795258],[26.9640118,36.9800586],[26.9641261,36.9803982],[26.9640801,36.9806606],[26.964233,36.980837],[26.96424,36.9810171],[26.9643788,36.9811218],[26.964632,36.981566],[26.964707,36.9817624],[26.9646715,36.9822949],[26.9647054,36.9823549],[26.9648286,36.9825793],[26.9649786,36.9826837],[26.964986,36.9828727],[26.9654691,36.9834554],[26.966202,36.9841039],[26.9664544,36.9842418],[26.9666887,36.9844882],[26.9670674,36.984695],[26.9672851,36.9847166],[26.9672971,36.9846825],[26.967517,36.9845599],[26.9679238,36.9840451],[26.968012,36.9840023],[26.9682437,36.9838929],[26.9681451,36.9836701],[26.968256,36.9836312],[26.9680477,36.9834743],[26.9674408,36.982309],[26.96741,36.9818051],[26.967579,36.9812422],[26.9677074,36.9810768],[26.968691,36.9806647],[26.9692822,36.9802715],[26.969992,36.9800374],[26.9700673,36.9799545],[26.9700779,36.9796478],[26.9701528,36.9794612],[26.9702874,36.9794578],[26.9713046,36.9796396],[26.9714161,36.9796188],[26.9715673,36.9794618],[26.9715935,36.9794499],[26.9716289,36.9794941],[26.9717846,36.9794541],[26.9719042,36.9796404],[26.9719806,36.9795844],[26.9719897,36.9798184],[26.9720784,36.9797892],[26.9721328,36.9800311],[26.9725381,36.9794803],[26.9726307,36.9795501],[26.9727534,36.979529],[26.9729393,36.9796865],[26.972914,36.9799034],[26.9730248,36.9798646],[26.9730525,36.9799991],[26.9732314,36.9799766],[26.9732906,36.9800562],[26.9732314,36.9799766],[26.9730525,36.9799991],[26.9730248,36.9798646],[26.972914,36.9799034],[26.9729393,36.9796865],[26.9727534,36.979529],[26.9726307,36.9795501],[26.9725381,36.9794803],[26.9721328,36.9800311],[26.9720784,36.9797892],[26.9719897,36.9798184],[26.9719806,36.9795844],[26.9719042,36.9796404],[26.9717846,36.9794541],[26.9716289,36.9794941],[26.9715935,36.9794499],[26.9715673,36.9794618],[26.9714161,36.9796188],[26.9713046,36.9796396],[26.9702874,36.9794578],[26.9698712,36.9791529],[26.9697758,36.9791192],[26.9695597,36.9789962],[26.9694283,36.9790446],[26.9692077,36.9791492],[26.969316,36.9793357],[26.9692077,36.9794376],[26.9691487,36.9796553],[26.9690576,36.9796215],[26.9687181,36.9798463],[26.9684408,36.9799343],[26.9678348,36.9799495],[26.967798,36.9798693],[26.9672059,36.9797512],[26.9671528,36.9797413],[26.9665806,36.9794672],[26.9663429,36.9791308],[26.9660754,36.9788942],[26.9657784,36.9787664],[26.9656234,36.978536],[26.9652335,36.9783295],[26.9649846,36.9782816],[26.9649138,36.9781933],[26.9649569,36.9781472],[26.9647364,36.9779635],[26.9646954,36.9777752],[26.9643542,36.9773783],[26.9642652,36.9771102],[26.9640443,36.9769174],[26.9643333,36.9768381],[26.9645016,36.9765456],[26.9648057,36.9762767],[26.9648734,36.9759956],[26.9648039,36.9759433],[26.9648741,36.9757253],[26.9648209,36.975222],[26.9645856,36.9749485],[26.9645204,36.9747159],[26.9642596,36.9743619],[26.9637929,36.9736595],[26.9635349,36.9733415],[26.9634239,36.9727946],[26.9631845,36.972341],[26.9630701,36.9719992],[26.9627834,36.9715558],[26.9626333,36.9714514],[26.9626397,36.9713792],[26.9626625,36.9710452],[26.9622138,36.9704797],[26.9620726,36.9700237],[26.961802,36.969706],[26.9614289,36.9696432],[26.9616368,36.9697912],[26.9609269,36.9697819],[26.9603559,36.9697736],[26.9595183,36.9693327],[26.9592649,36.9688795],[26.959246,36.9686817],[26.959278,36.9684016],[26.9591711,36.9681429],[26.9589111,36.9672303],[26.958953,36.9671504],[26.9587553,36.9667949],[26.9586397,36.9661287],[26.958322,36.9663348],[26.9577747,36.9664116],[26.9575131,36.9666163]]},{"id":16409,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u03a1\u03af\u03bd\u03b1-\u0392\u03b1\u03c3\u03b9\u03bb\u03b9\u03ba\u03ae \u0391\u03b3\u03af\u03b1\u03c2 \u0395\u03b9\u03c1\u03ae\u03bd\u03b7\u03c2-\u03c0\u03b1\u03c1\u03b1\u03bb\u03af\u03b1 \u039a\u03b1\u03bc\u03c0\u03af","description_GR":"\u03a3\u03c4\u03bf \u03b5\u03c1\u03b7\u03bc\u03b9\u03ba\u03cc \u039a\u03b1\u03bc\u03c0\u03af","path":"Islands\/Islands_Kalymnos_Trail_10","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":1872,"name_EN":"Kalymnos Isl: Rina-Aghia Irini basilica-Kambi beach","description_EN":"A short hike to the lonely Kambi beach","ascent_time":45,"descent_time":40,"marker":"Blue_dots","level":13,"ascent":134,"descent":131,"maxelev":133,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(27.02722 36.97459,27.03892 36.98212)","views":32,"millestones":"0,27.0269299,36.9749082#1,27.0359372,36.9779653#1.9,27.0391253,36.9796718","x":27.0345494,"y":36.9772591,"coor":[[27.0269299,36.9749082],[27.0272059,36.9748922],[27.0274055,36.9751123],[27.0276726,36.9750515],[27.027892,36.9749197],[27.0282833,36.9748737],[27.0283238,36.9749042],[27.0289496,36.9753928],[27.0292231,36.9757733],[27.0295924,36.9760252],[27.0298172,36.9760285],[27.0299214,36.9761069],[27.030384,36.9758788],[27.0307331,36.9756176],[27.0311822,36.9756151],[27.0315936,36.9757938],[27.0320385,36.976251],[27.0327828,36.9766105],[27.0332486,36.9767427],[27.0336883,36.9767856],[27.0338664,36.976745],[27.034217,36.9768081],[27.0344115,36.9770734],[27.0345494,36.9772591],[27.0351627,36.977712],[27.0363692,36.9781136],[27.036668,36.9782862],[27.0373164,36.9787742],[27.0373768,36.9788808],[27.037276,36.9794511],[27.0370344,36.9798718],[27.0372148,36.9801735],[27.0374016,36.9809166],[27.037802,36.9816633],[27.0377759,36.9818532],[27.0380061,36.9817459],[27.0382965,36.9814231],[27.0380472,36.9810871],[27.0381103,36.9809773],[27.0380767,36.9806989],[27.0382148,36.9802177],[27.0385558,36.9800378],[27.0385683,36.9799631],[27.038574,36.9799292],[27.0388545,36.979922],[27.0389494,36.9797664],[27.0391253,36.9796718]]},{"id":16410,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u039a\u03b1\u03bc\u03ac\u03c1\u03b9-\u039b\u03b1\u03b3\u03ba\u03bf\u03c5\u03bd\u03ac\u03c1\u03b1","description_GR":"\u039a\u03b1\u03bc\u03ac\u03c1\u03b9-\u039c\u03b7\u03bb\u03b9\u03b1\u03bd\u03cc\u03c2-\u039b\u03b1\u03b3\u03ba\u03bf\u03c5\u03bd\u03ac\u03c1\u03b1","path":"Islands\/Islands_Kalymnos_Trail_11","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":4,"length":8857,"name_EN":"Kalymnos Isl: Kamari-Lagounara","description_EN":"Kamari-Milianos-Lagounara","ascent_time":280,"descent_time":255,"marker":"Blue_dots","level":13,"ascent":606,"descent":352,"maxelev":523,"minelev":101,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.93547 36.98373,26.99215 37.01009)","views":76,"millestones":"0,26.9345571,36.9862877#1,26.9413959,36.9894728#2,26.9476164,36.9956015#3,26.9468524,37.0027232#4,26.9500841,37.0096722#5,26.9600513,37.0076176#6,26.9678564,37.0052414#7,26.9773221,37.0027417#8.9,26.9927204,36.9982721","x":26.958406,"y":37.0079211,"coor":[[26.9345571,36.9862877],[26.9348081,36.9859886],[26.9347934,36.9853132],[26.9349022,36.9852204],[26.9351694,36.9851597],[26.9353026,36.9853366],[26.9355472,36.9854905],[26.9357133,36.9857207],[26.9361879,36.9855017],[26.9363576,36.9855335],[26.9364417,36.9856756],[26.9369878,36.985563],[26.9371585,36.9856218],[26.9375903,36.9860594],[26.9377786,36.9861179],[26.9379659,36.9860975],[26.9383912,36.9861297],[26.9393013,36.9867199],[26.9395165,36.987057],[26.9396324,36.9874416],[26.9399177,36.9878491],[26.9398698,36.9881746],[26.9400847,36.9883225],[26.9403073,36.9885603],[26.9405125,36.9886363],[26.9406257,36.9887506],[26.9406877,36.9888122],[26.9407028,36.9889109],[26.9410719,36.9891631],[26.9412731,36.9894284],[26.9415529,36.9895274],[26.941501,36.9893485],[26.9417518,36.9894414],[26.941805,36.9896563],[26.9419789,36.990053],[26.9422538,36.9901903],[26.9425006,36.9904726],[26.9429425,36.9905697],[26.9431557,36.990765],[26.9434588,36.9913432],[26.9436773,36.9914729],[26.9437182,36.9916611],[26.9438189,36.9916496],[26.9439353,36.9917549],[26.9437896,36.9920558],[26.944083,36.992382],[26.944247,36.9928465],[26.9444795,36.993048],[26.9445639,36.993199],[26.9448269,36.9934448],[26.9450639,36.993475],[26.945513,36.9940496],[26.9461635,36.9943127],[26.9465008,36.9946107],[26.9465379,36.9946999],[26.9464288,36.9947837],[26.946428,36.9948716],[26.9475666,36.9955552],[26.9480976,36.9960511],[26.9483542,36.9965854],[26.9482702,36.997029],[26.9483856,36.9971073],[26.9480274,36.9974316],[26.9474519,36.9981487],[26.9474379,36.9981671],[26.946844,36.9984973],[26.9462423,36.9989177],[26.94607,36.9991112],[26.9456297,36.9993474],[26.9452274,36.9994025],[26.9451779,36.9995749],[26.9450677,36.9996317],[26.9453059,36.9998353],[26.9454117,37.0002472],[26.9456865,37.0006729],[26.9457208,37.0009784],[26.9458842,37.0011366],[26.9463816,37.0019082],[26.9465415,37.0021565],[26.9465471,37.0023005],[26.9468314,37.002681],[26.9470144,37.0030549],[26.9476385,37.0037963],[26.9478516,37.0043677],[26.9480848,37.0045872],[26.9481542,37.0048017],[26.9484127,37.0048043],[26.948656,37.0049965],[26.9492411,37.0051442],[26.9493368,37.0051688],[26.9495353,37.0053621],[26.9498018,37.0058601],[26.9498514,37.0062734],[26.9495657,37.0070194],[26.9493811,37.0071862],[26.9494035,37.0073118],[26.9490757,37.0081309],[26.9488792,37.00828],[26.9486074,37.0084805],[26.9485698,37.0086707],[26.9486785,37.0088662],[26.9489072,37.0089686],[26.9493961,37.009407],[26.9499257,37.0097363],[26.9503902,37.0095445],[26.9509247,37.0097114],[26.9510069,37.0095111],[26.9517193,37.0096286],[26.9530123,37.0096505],[26.9531983,37.0095197],[26.9533109,37.0095259],[26.9533376,37.009345],[26.9534372,37.0093065],[26.9544113,37.0095075],[26.9546288,37.0093218],[26.9552855,37.0091613],[26.9555508,37.0090466],[26.9557904,37.0088514],[26.9563675,37.0086658],[26.9569158,37.0083187],[26.9570531,37.0082905],[26.9580636,37.0080738],[26.958406,37.0079211],[26.9587231,37.0079853],[26.9590936,37.007976],[26.9595622,37.0078922],[26.9597832,37.0077966],[26.960254,37.0074785],[26.9608154,37.0068878],[26.9610523,37.0060438],[26.9611056,37.0059704],[26.9613824,37.005576],[26.9616322,37.0053535],[26.9622075,37.0051229],[26.9625141,37.004917],[26.9629168,37.0048709],[26.9637972,37.004975],[26.9640546,37.0049506],[26.9643354,37.004894],[26.9649444,37.0049508],[26.9654762,37.0049038],[26.965661,37.0048879],[26.9658781,37.0049816],[26.9661457,37.0049298],[26.9663639,37.0050505],[26.9666242,37.0050981],[26.9671994,37.0048674],[26.9673959,37.0047183],[26.9676084,37.004695],[26.9677901,37.0047445],[26.9678164,37.004843],[26.9675968,37.0049746],[26.967834,37.0050047],[26.9679953,37.0051088],[26.9677077,37.0052242],[26.9683285,37.0052987],[26.9685896,37.0054747],[26.9694269,37.0056249],[26.9694861,37.0057045],[26.9696615,37.005592],[26.9698888,37.0056584],[26.9703445,37.0055298],[26.9707303,37.00534],[26.9709648,37.0050502],[26.9709983,37.0050088],[26.9711744,37.004626],[26.9713915,37.0044313],[26.9717889,37.0042501],[26.9717462,37.0043053],[26.9721362,37.0042234],[26.9734361,37.0035601],[26.9738732,37.0035311],[26.9746574,37.003187],[26.9749928,37.0031426],[26.9751134,37.0030674],[26.9757413,37.0030337],[26.9757707,37.0029248],[26.976186,37.0029144],[26.976548,37.0029774],[26.9770173,37.0029115],[26.9773691,37.0027135],[26.9775936,37.0027078],[26.9778437,37.0027826],[26.9782649,37.0026369],[26.9787903,37.0022813],[26.979372,37.0020707],[26.9797599,37.0019348],[26.9798027,37.0018797],[26.9797199,37.0017736],[26.9797844,37.0016999],[26.9801085,37.0016557],[26.980173,37.001582],[26.9804312,37.0015755],[26.9807037,37.0013614],[26.981039,37.0013169],[26.9813269,37.0012106],[26.981329,37.0012646],[26.981698,37.0012193],[26.9820509,37.0013365],[26.9824417,37.001311],[26.9825216,37.0013067],[26.9826191,37.0012141],[26.9825896,37.0010347],[26.982699,37.0009598],[26.9837555,37.0012576],[26.983873,37.0013898],[26.9842157,37.0015344],[26.9843841,37.0015302],[26.9845261,37.0014275],[26.9847625,37.0014395],[26.9850063,37.0013523],[26.9851007,37.0014671],[26.9855432,37.0010054],[26.9857014,37.0010284],[26.9856828,37.0008397],[26.9859143,37.0007257],[26.9861492,37.0004134],[26.9864599,37.0000271],[26.9865623,36.9997723],[26.9866072,36.9997554],[26.9866952,36.9997239],[26.9867695,36.9996139],[26.9869372,36.9995916],[26.9873328,36.9993654],[26.987514,36.9991175],[26.9881229,36.9988859],[26.9885367,36.9988394],[26.9884357,36.9985536],[26.9888948,36.998515],[26.9891217,36.9985724],[26.9891981,36.9985164],[26.9894693,36.9985546],[26.9896902,36.9984589],[26.9900406,36.9985132],[26.9904194,36.9984315],[26.9906677,36.9984613],[26.9908178,36.9985657],[26.9909069,36.9985454],[26.9912005,36.9984389],[26.9916441,36.9982925],[26.9921916,36.9982156],[26.9923736,36.9982741],[26.9925024,36.998406],[26.9926433,36.9984183],[26.9927204,36.9982721]]},{"id":16411,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u039b\u03b1\u03b3\u03ba\u03bf\u03c5\u03bd\u03ac\u03c1\u03b1-\u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03b1 \u0393\u03b1\u03bb\u03b1\u03c4\u03b9\u03b1\u03bd\u03ae","description_GR":"\u039b\u03b1\u03b3\u03ba\u03bf\u03c5\u03bd\u03ac\u03c1\u03b1-\u03a0\u03b1\u03bd\u03b1\u03b3\u03af\u03b1 \u0393\u03b1\u03bb\u03b1\u03c4\u03b9\u03b1\u03bd\u03ae-\u03a3\u03ba\u03ac\u03bb\u03b9\u03b1","path":"Islands\/Islands_Kalymnos_Trail_12","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":4,"length":6452,"name_EN":"Kalymnos Isl: Lagounara-Panagia Ghalatiani","description_EN":"Lagounara-Panagia Ghalatiani-Skalia","ascent_time":185,"descent_time":180,"marker":"No_marks","level":13,"ascent":346,"descent":583,"maxelev":547,"minelev":50,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.95732 37.00482,26.99425 37.03639)","views":63,"millestones":"0,26.9941317,37.0048213#1,26.9877363,37.0115470#2,26.9806351,37.0165627#3,26.9739496,37.0230275#4,26.9673941,37.0289389#5,26.9637739,37.0337884#6,26.9585734,37.0355871#6.5,26.9577412,37.0338692","x":26.9664308,"y":37.0303292,"coor":[[26.9941317,37.0048213],[26.9942602,37.0051785],[26.9939077,37.0062146],[26.9928026,37.0069724],[26.9925172,37.0074302],[26.9920192,37.0079113],[26.9917565,37.0080891],[26.9915234,37.0084464],[26.9910254,37.0089276],[26.9910079,37.0090542],[26.9906852,37.0094227],[26.9905653,37.0095159],[26.9901426,37.0096257],[26.9899238,37.0097753],[26.9897554,37.0097796],[26.9891465,37.0100112],[26.988693,37.0104822],[26.9884377,37.0105607],[26.9882578,37.0108446],[26.987974,37.011059],[26.9879271,37.0112945],[26.987596,37.0117353],[26.9875193,37.0120707],[26.9875621,37.0123039],[26.9877677,37.0123888],[26.987901,37.0126378],[26.9878716,37.0127466],[26.9876117,37.0129965],[26.9878012,37.013244],[26.9873715,37.0134621],[26.9872004,37.0136827],[26.9872263,37.0137721],[26.9871845,37.0139601],[26.9871797,37.0139805],[26.9868254,37.0141156],[26.9865024,37.0144752],[26.9862779,37.0144808],[26.9848688,37.0152282],[26.9838922,37.0155411],[26.9825343,37.0155843],[26.9819586,37.015806],[26.981364,37.0161183],[26.9808841,37.0164908],[26.9800177,37.0167469],[26.9798107,37.0169143],[26.9790694,37.0172123],[26.978772,37.0176523],[26.9784875,37.0178486],[26.9779069,37.018521],[26.977205,37.0195389],[26.9769524,37.0201039],[26.9766347,37.0204205],[26.976287,37.0207266],[26.9759664,37.0208608],[26.9757313,37.0208847],[26.9756127,37.0210138],[26.9752472,37.0211492],[26.9749953,37.0213177],[26.9749995,37.0214257],[26.975169,37.0214485],[26.9751823,37.0215022],[26.974995,37.021597],[26.9745863,37.0223552],[26.9738302,37.0231401],[26.9737236,37.024152],[26.9734973,37.0246893],[26.9733135,37.0248742],[26.9728363,37.0250303],[26.9724542,37.0253192],[26.9719978,37.0254298],[26.9718441,37.0255237],[26.971715,37.0259595],[26.9711445,37.0268929],[26.970996,37.0270115],[26.9709592,37.0270417],[26.9707834,37.0274336],[26.9699277,37.0279687],[26.9692859,37.0282281],[26.9691782,37.0283479],[26.9684119,37.0285833],[26.9680147,37.0287735],[26.9678687,37.0287772],[26.9675003,37.0285521],[26.9673719,37.0287175],[26.9674462,37.0288959],[26.9672175,37.0290818],[26.9672027,37.0295147],[26.9667814,37.0300952],[26.9666371,37.0301439],[26.9664308,37.0303292],[26.9661862,37.0303984],[26.9659457,37.0307153],[26.9659814,37.0313452],[26.9660362,37.0313078],[26.9660857,37.0314237],[26.9661853,37.0319619],[26.9660568,37.0321273],[26.9660965,37.0325678],[26.9660045,37.0325161],[26.9660561,37.032686],[26.9659038,37.0328159],[26.9659333,37.0329954],[26.9658385,37.03316],[26.9656936,37.0331907],[26.9656231,37.0333997],[26.9654392,37.0335845],[26.9655417,37.0333296],[26.9654575,37.0331876],[26.9652641,37.0334177],[26.9652181,37.0333918],[26.9651311,37.033466],[26.9650953,37.0334129],[26.9649641,37.0335063],[26.964936,37.0336511],[26.9648546,37.0335811],[26.9647707,37.0337364],[26.9647251,37.0337195],[26.9645728,37.0338495],[26.9644822,37.0341221],[26.9644352,37.0340692],[26.9643808,37.0341156],[26.964364,37.0339718],[26.964265,37.0340284],[26.9642819,37.0338838],[26.9641742,37.0340036],[26.9639829,37.0339994],[26.9639549,37.0338559],[26.9638471,37.0339757],[26.9638608,37.0337501],[26.9636397,37.0338458],[26.9636015,37.0337296],[26.9635054,37.0338581],[26.9634524,37.0336522],[26.9633562,37.0337808],[26.9632766,37.0337557],[26.9631839,37.0339743],[26.9628614,37.0340634],[26.9627927,37.0340291],[26.9627509,37.0341113],[26.9624709,37.0341363],[26.9624119,37.0340657],[26.9622007,37.034125],[26.9621628,37.0343062],[26.9622691,37.0344387],[26.9621926,37.0344947],[26.9624431,37.0345785],[26.9625943,37.0347099],[26.9628091,37.0347406],[26.9625967,37.0353496],[26.9626579,37.0354427],[26.9625807,37.0354244],[26.9623887,37.0354021],[26.9619915,37.0355923],[26.9614995,37.0357487],[26.9613475,37.0357976],[26.9614746,37.0355962],[26.9612409,37.0356561],[26.9611412,37.0356946],[26.9610159,37.035941],[26.9608288,37.0360448],[26.9601038,37.0361891],[26.9598886,37.0363274],[26.9602791,37.0359617],[26.9597285,37.0359664],[26.9595614,37.0360066],[26.9594421,37.0361178],[26.9593881,37.0358848],[26.9590453,37.0360285],[26.9589218,37.0357433],[26.9583614,37.0354959],[26.9580944,37.0352773],[26.957926,37.0352815],[26.9578863,37.0351293],[26.9577505,37.0351057],[26.9576421,37.0349192],[26.9578882,37.0347418],[26.95724,37.0344223],[26.9577412,37.0338692]]},{"id":16412,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03c2-\u03a0\u03cd\u03c1\u03b3\u03bf\u03c2 \u03a0\u03b1\u03c4\u03ad\u03bb\u03b1\u03c2-\u0395\u03bc\u03c0\u03bf\u03c1\u03b9\u03cc\u03c2","description_GR":"\u03a3\u03c4\u03b1\u03c5\u03c1\u03cc\u03c2-\u03a0\u03cd\u03c1\u03b3\u03bf\u03c2 \u03a0\u03b1\u03c4\u03ad\u03bb\u03b1\u03c2-\u039a\u03bf\u03c5\u03bc\u03bf\u03c5\u03bb\u03b9\u03ac-\u0395\u03bc\u03c0\u03bf\u03c1\u03b9\u03cc\u03c2","path":"Islands\/Islands_Kalymnos_Trail_13","activity_type":32,"assistance":1,"difficulty":3,"scenic_value":4,"length":9539,"name_EN":"Kalymnos Isl: Stavros-Pyrgos Patelas-Eborios","description_EN":"Stavros-Pyrgos Patelas-Koumoulia-Eborios","ascent_time":280,"descent_time":275,"marker":"Blue_dots","level":13,"ascent":606,"descent":531,"maxelev":420,"minelev":9,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.91261 37.04131,26.95237 37.06464)","views":54,"millestones":"0,26.9298565,37.0473482#1,26.9257288,37.0528680#2,26.9174569,37.0571267#3,26.9128733,37.0616849#4,26.9185306,37.0629336#5,26.9259420,37.0604283#6,26.9346307,37.0552055#7,26.9434910,37.0503268#8,26.9516359,37.0456013#9.5,26.9481602,37.0414090","x":26.9186973,"y":37.061861,"coor":[[26.9298565,37.0473482],[26.9295073,37.0473298],[26.9289938,37.0474236],[26.9286733,37.0474766],[26.9286381,37.0477298],[26.928517,37.0477958],[26.9282916,37.0477834],[26.9281838,37.0479032],[26.9282756,37.0482433],[26.9286451,37.0485518],[26.9288307,37.0487004],[26.92906,37.0491093],[26.9295207,37.0493953],[26.9296216,37.0496811],[26.9296091,37.04974],[26.9295551,37.0499982],[26.9294568,37.0500727],[26.9293308,37.0500127],[26.9292451,37.050123],[26.9291048,37.0499823],[26.9289384,37.0500404],[26.9286317,37.0499579],[26.9282841,37.0502729],[26.9282699,37.0504895],[26.9281073,37.0506467],[26.9277466,37.0514801],[26.9272483,37.0517875],[26.9271536,37.0518462],[26.9269618,37.0521213],[26.9267762,37.0522114],[26.9262795,37.0525616],[26.92563,37.0529201],[26.9250041,37.0536023],[26.924474,37.0538497],[26.9243454,37.0540151],[26.924199,37.0540097],[26.9240458,37.0541734],[26.9240713,37.0548193],[26.9238974,37.0550849],[26.9238734,37.0553378],[26.923726,37.0553054],[26.9234481,37.055096],[26.9228932,37.0549925],[26.9226703,37.0550431],[26.9224842,37.0551738],[26.9215996,37.0552677],[26.9211308,37.0556487],[26.9206604,37.0558068],[26.9197988,37.0560961],[26.9194272,37.0563756],[26.9191716,37.0564539],[26.918844,37.0567053],[26.9172876,37.0571671],[26.9170495,37.0574073],[26.9167557,37.0573695],[26.9163142,37.0572361],[26.9157816,37.0574205],[26.9153119,37.0574861],[26.9150246,37.0576193],[26.9148117,37.0579309],[26.9141042,37.0582457],[26.9133901,37.0583894],[26.9131872,37.0583763],[26.9129668,37.0583637],[26.9131805,37.0586964],[26.9131663,37.058913],[26.913327,37.0589992],[26.9135889,37.0593262],[26.9130553,37.0594834],[26.9126496,37.0597547],[26.9126088,37.0598639],[26.9130452,37.0598081],[26.9133063,37.0598738],[26.9131328,37.0600402],[26.9133047,37.0601261],[26.9132857,37.0602167],[26.9127983,37.0604089],[26.9128161,37.0605797],[26.9127763,37.0613015],[26.9128792,37.0616414],[26.9128266,37.0620302],[26.9126229,37.0625286],[26.9125999,37.0625877],[26.9125696,37.0626583],[26.9125552,37.0631632],[26.9126168,37.0633059],[26.9125659,37.0635347],[26.9130335,37.0640008],[26.9131938,37.0640779],[26.9133962,37.0643703],[26.9136454,37.0644183],[26.9137836,37.064505],[26.9139208,37.0645264],[26.9143719,37.0645987],[26.9144141,37.0645255],[26.9143378,37.0642931],[26.9144943,37.0642713],[26.9144622,37.0640197],[26.9146484,37.063889],[26.9146674,37.0637984],[26.9148482,37.063821],[26.9150784,37.0639595],[26.915156,37.0639306],[26.9151325,37.0633184],[26.9152324,37.0629916],[26.9153448,37.0629888],[26.9157258,37.0631754],[26.9157803,37.0632034],[26.915863,37.0633094],[26.9161003,37.0633397],[26.9172505,37.0631311],[26.9176283,37.0630137],[26.9184624,37.0629391],[26.9187601,37.0629137],[26.9190358,37.0627718],[26.9191834,37.0625158],[26.9190248,37.0624837],[26.9187009,37.0622484],[26.9188976,37.0620994],[26.9186439,37.0619344],[26.9186973,37.061861],[26.9185559,37.0616933],[26.9186093,37.0616199],[26.9183812,37.0615354],[26.9184438,37.0614077],[26.9191012,37.0615086],[26.9193463,37.0614485],[26.9196207,37.0615679],[26.9198388,37.0613913],[26.9203078,37.0613077],[26.9205505,37.0611846],[26.9206949,37.0611945],[26.9208451,37.061299],[26.9213931,37.0612224],[26.9215794,37.061389],[26.9217536,37.0612405],[26.9221784,37.061176],[26.9225614,37.0609548],[26.9227174,37.0608653],[26.9230864,37.0608112],[26.9232157,37.0606638],[26.9235425,37.0606828],[26.9239669,37.0606092],[26.9244265,37.0605551],[26.9247699,37.0604205],[26.9253916,37.0605043],[26.9264741,37.0603491],[26.9268174,37.0601559],[26.927032,37.0599434],[26.9273437,37.0598636],[26.9274512,37.0597348],[26.9276983,37.0597287],[26.9278987,37.0596201],[26.9279076,37.0596154],[26.9283106,37.0595694],[26.9285304,37.0594378],[26.9289201,37.059338],[26.9300592,37.058553],[26.9304435,37.0580208],[26.9308677,37.0576499],[26.9313611,37.0573223],[26.9319681,37.057028],[26.9326246,37.0565026],[26.9337786,37.0555774],[26.9341216,37.0554338],[26.9344242,37.0554083],[26.9347558,37.0550779],[26.9349353,37.0547761],[26.9351609,37.0545588],[26.9354793,37.0543616],[26.9357157,37.0540764],[26.9361202,37.0537781],[26.9367598,37.0534559],[26.936868,37.053345],[26.9373369,37.0532613],[26.9380587,37.0530272],[26.938334,37.0530046],[26.9386526,37.0529764],[26.9392824,37.0526905],[26.9398598,37.0525049],[26.9400427,37.0525815],[26.9401992,37.0525596],[26.9410505,37.052187],[26.9414893,37.0519058],[26.9415852,37.0517683],[26.9418173,37.0516634],[26.9426848,37.0508399],[26.943026,37.0506512],[26.943111,37.0505229],[26.9437615,37.0501914],[26.9456695,37.050108],[26.9462458,37.0498954],[26.9471928,37.0496736],[26.9474399,37.0496675],[26.9478981,37.0495232],[26.9481841,37.0494327],[26.9483245,37.049285],[26.9485358,37.0492257],[26.9501938,37.048423],[26.95062,37.048106],[26.951187,37.047362],[26.9512344,37.0472798],[26.951366,37.0470512],[26.9513275,37.0466377],[26.951552,37.045758],[26.9518564,37.0452007],[26.9521627,37.0441118],[26.9524625,37.0435997],[26.9522569,37.0435147],[26.9519824,37.0436838],[26.9518182,37.0437059],[26.9513563,37.0437714],[26.9511804,37.0438749],[26.9508003,37.0439295],[26.9503574,37.0441027],[26.9501433,37.04409],[26.9501391,37.043982],[26.9503343,37.0437969],[26.950042,37.0437951],[26.9502386,37.0433577],[26.9502166,37.0430789],[26.9508638,37.0426663],[26.9508498,37.0425946],[26.9505621,37.0424215],[26.9504438,37.0422713],[26.9500405,37.042198],[26.9495154,37.0425715],[26.9488869,37.0425961],[26.9483976,37.0427344],[26.9481344,37.0429032],[26.9477651,37.0434012],[26.9474696,37.0436068],[26.947313,37.0436287],[26.9472429,37.0435584],[26.9472605,37.0434318],[26.9476986,37.0428442],[26.9477844,37.0421572],[26.9483559,37.0418186],[26.9485181,37.0416524],[26.9484914,37.0415449],[26.9481602,37.041409]]},{"id":16413,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u03a0\u03b1\u03bb\u03b9\u03cc\u03bd\u03b7\u03c3\u03bf\u03c2-\u03c0\u03b1\u03c1\u03b1\u03bb\u03af\u03b1 \u03a3\u03b9\u03ba\u03ac\u03c4\u03b7","description_GR":"\u0394\u03b9\u03b1\u03c3\u03ba\u03b5\u03bb\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c4\u03bf\u03c5 \u03c3\u03c4\u03b5\u03bd\u03bf\u03cd \u03c4\u03b7\u03c2 \u03a0\u03b1\u03bb\u03b9\u03bf\u03bd\u03ae\u03c3\u03bf\u03c5","path":"Islands\/Islands_Kalymnos_Trail_14","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":2890,"name_EN":"Kalymnos Isl: Palionisos-Sikati beach","description_EN":"Crossing the Palionisos Pass","ascent_time":50,"descent_time":55,"marker":"No_marks","level":13,"ascent":112,"descent":118,"maxelev":116,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.95321 37.0418,26.97115 37.0597)","views":63,"millestones":"0,26.9711531,37.0417969#1,26.9636572,37.0476372#2,26.9570994,37.0530251#2.9,26.9532864,37.0596999","x":26.9585952,"y":37.0502546,"coor":[[26.9711531,37.0417969],[26.9705151,37.0421553],[26.9701025,37.0422422],[26.9697424,37.0424833],[26.969623,37.0425741],[26.9691345,37.0430189],[26.9691948,37.0431255],[26.9686937,37.0435345],[26.9673127,37.0441548],[26.9665889,37.0443486],[26.9661386,37.0446933],[26.965934,37.0448516],[26.9653694,37.0449311],[26.965197,37.0451246],[26.9650429,37.0460746],[26.9649478,37.0462302],[26.9646207,37.0464907],[26.9645343,37.0468713],[26.9643543,37.0471552],[26.9634347,37.0477909],[26.9627931,37.0480592],[26.9623416,37.0481922],[26.962293,37.0482069],[26.9613292,37.048285],[26.9610853,37.0483722],[26.9606693,37.048662],[26.9593818,37.0499557],[26.9585952,37.0502546],[26.9581871,37.0504563],[26.9578936,37.0510043],[26.9574029,37.051395],[26.9571706,37.0514751],[26.95747,37.0516569],[26.9580624,37.0518584],[26.9575987,37.0526561],[26.9571882,37.0529592],[26.956943,37.0531411],[26.9559716,37.0541835],[26.9554162,37.0546457],[26.955314,37.0549096],[26.9553357,37.0551794],[26.9549464,37.0555765],[26.9546237,37.0562424],[26.9542059,37.0567754],[26.9541963,37.0568185],[26.9540524,37.0574551],[26.9538603,37.0577212],[26.9533766,37.0580036],[26.9533379,37.0581667],[26.9531985,37.0583414],[26.9534175,37.0591492],[26.9534266,37.0593833],[26.9533148,37.059564],[26.9532074,37.0596928],[26.9532864,37.0596999]]},{"id":16414,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u0395\u03bc\u03c0\u03bf\u03c1\u03b9\u03cc\u03c2-\u0391\u03c0\u03b9\u03c4\u03cd\u03ba\u03bf\u03b9","description_GR":"\u0395\u03bc\u03c0\u03bf\u03c1\u03b9\u03cc\u03c2-\u0391\u03bb\u03ad\u03be\u03b7\u03c2-\u0391\u03c0\u03b9\u03c4\u03cd\u03ba\u03bf\u03b9-\u0395\u03bc\u03c0\u03bf\u03c1\u03b9\u03cc\u03c2","path":"Islands\/Islands_Kalymnos_Trail_16","activity_type":32,"assistance":2,"difficulty":2,"scenic_value":4,"length":4198,"name_EN":"Kalymnos Isl: Eborios-Apitiki","description_EN":"Eborios-Alexi beach-Apitiki beach-Eborios","ascent_time":100,"descent_time":95,"marker":"No_marks","level":13,"ascent":228,"descent":228,"maxelev":165,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.91864 37.04408,26.92992 37.05511)","views":72,"millestones":"0,26.9300387,37.0470982#1,26.9224996,37.0444710#2,26.9185113,37.0508242#3,26.9253993,37.0531686#4.2,26.9300401,37.0470981","x":26.9200646,"y":37.0523094,"coor":[[26.9300387,37.0470982],[26.9299386,37.0466343],[26.9297599,37.04608],[26.9297422,37.0460219],[26.9298383,37.045979],[26.9297422,37.0460219],[26.9297599,37.04608],[26.9291239,37.0462219],[26.9280542,37.0461763],[26.9278111,37.0465787],[26.9276347,37.0463758],[26.9271084,37.0461365],[26.9268929,37.0460878],[26.926683,37.046111],[26.9265082,37.0462415],[26.9261895,37.0461412],[26.9258863,37.0461487],[26.9255122,37.0460678],[26.9253575,37.046155],[26.9250941,37.0463034],[26.9247637,37.046262],[26.9237886,37.0457544],[26.9237349,37.0452331],[26.9235094,37.0449232],[26.9234051,37.0445474],[26.9232294,37.0443625],[26.9230932,37.0443298],[26.9226383,37.0444852],[26.9218932,37.0444044],[26.9215488,37.044289],[26.9213177,37.0444208],[26.9212353,37.0449095],[26.9211401,37.045065],[26.9210045,37.0451202],[26.9207578,37.0451352],[26.9204744,37.0453675],[26.920095,37.0454399],[26.9198541,37.0456081],[26.9194145,37.0464952],[26.9196523,37.0468318],[26.9196331,37.0472107],[26.919699,37.0473533],[26.9197561,37.047487],[26.9196871,37.0476307],[26.9195688,37.0478791],[26.919671,37.048201],[26.9196147,37.0484907],[26.9199179,37.049069],[26.920067,37.0497321],[26.9196886,37.0498316],[26.9193096,37.0502104],[26.9186685,37.0504965],[26.9185406,37.0506799],[26.9184836,37.0509516],[26.918595,37.0512192],[26.9190939,37.0516214],[26.9191132,37.0516299],[26.9196117,37.0519331],[26.9200646,37.0523094],[26.9204071,37.0524451],[26.9208801,37.0526677],[26.920906,37.0527572],[26.9208312,37.0528582],[26.9206417,37.0530296],[26.9208439,37.0530246],[26.9209873,37.0532463],[26.9212747,37.0534104],[26.9215451,37.0537192],[26.9215686,37.0537456],[26.9225533,37.054208],[26.9232858,37.0548387],[26.9237862,37.0549885],[26.9239379,37.0548406],[26.924072,37.0548193],[26.9240464,37.0541711],[26.9241997,37.0540074],[26.924346,37.0540128],[26.9244746,37.0538474],[26.9250047,37.0536001],[26.9256306,37.0529178],[26.9258522,37.0527952],[26.9262802,37.0525593],[26.9267768,37.0522092],[26.9269624,37.052119],[26.9271542,37.0518439],[26.9277472,37.0514778],[26.9281079,37.0506444],[26.9282705,37.0504872],[26.9282847,37.0502706],[26.9283594,37.0502034],[26.9282705,37.0504872],[26.9282847,37.0502706],[26.9286323,37.0499556],[26.928939,37.0500382],[26.9291054,37.04998],[26.9292458,37.0501207],[26.9293314,37.0500104],[26.9294574,37.0500704],[26.9295557,37.0499959],[26.9295847,37.0498533],[26.9296222,37.0496789],[26.9295213,37.049393],[26.9290606,37.049107],[26.9288313,37.0486982],[26.9286457,37.0485496],[26.9282762,37.0482411],[26.9281844,37.0479009],[26.9282923,37.0477811],[26.9285176,37.0477936],[26.9286387,37.0477275],[26.9286739,37.0474743],[26.9288513,37.0474451],[26.9289944,37.0474213],[26.9295079,37.0473275],[26.9298571,37.047346],[26.9298884,37.0472461],[26.9300401,37.0470981]]},{"id":16415,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u03a4\u03ad\u03bb\u03b5\u03bd\u03b4\u03bf\u03c2-\u0386\u03b3\u03b9\u03bf\u03c2 \u039a\u03c9\u03bd\u03c3\u03c4\u03b1\u03bd\u03c4\u03af\u03bd\u03bf\u03c2","description_GR":"\u0397 \u03ba\u03bb\u03b1\u03c3\u03b9\u03ba\u03ae \u03c0\u03bf\u03c1\u03b5\u03af\u03b1 \u03c3\u03c4\u03b7\u03bd \u03a4\u03ad\u03bb\u03b5\u03bd\u03b4\u03bf","path":"Islands\/Islands_Kalymnos_Trail_17","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":3023,"name_EN":"Kalymnos Isl: Telendos-Aghios Konstandinos","description_EN":"The classic hike in Telendos","ascent_time":75,"descent_time":65,"marker":"Blue_dots","level":13,"ascent":251,"descent":55,"maxelev":197,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.91247 36.99744,26.92433 37.01469)","views":49,"millestones":"0,26.9211524,36.9975221#1,26.9237198,37.0054993#2,26.9177751,37.0118485#3,26.9125078,37.0115488","x":26.9210027,"y":37.009862,"coor":[[26.9211524,36.9975221],[26.9220247,36.9984445],[26.9221617,36.9985943],[26.9224363,36.9987227],[26.9227371,36.9991163],[26.9230755,36.9999212],[26.9239516,37.0010891],[26.9242813,37.0017748],[26.9243807,37.0021328],[26.9243349,37.0024786],[26.92435,37.0025053],[26.9244852,37.0028083],[26.9244197,37.0031524],[26.9245161,37.0033212],[26.9245743,37.0039595],[26.9244422,37.0043232],[26.9240899,37.0045122],[26.9239614,37.0046775],[26.9237488,37.0052865],[26.9236959,37.0056663],[26.9237218,37.0057558],[26.9237304,37.0059808],[26.9236339,37.0060463],[26.9233966,37.0063044],[26.9234029,37.0064665],[26.9232787,37.0064515],[26.9231369,37.0065632],[26.9231386,37.0066082],[26.9232999,37.0067123],[26.9232153,37.0068496],[26.92285,37.0069937],[26.9228314,37.0070933],[26.9229134,37.0071814],[26.9227359,37.0072399],[26.9225632,37.0074243],[26.9226844,37.0076556],[26.9226271,37.0079747],[26.9225839,37.0080208],[26.9226354,37.0081908],[26.9224749,37.008402],[26.9223806,37.0088729],[26.9217438,37.0095554],[26.9215129,37.0096872],[26.9210027,37.009862],[26.9208657,37.0100997],[26.9204074,37.0104534],[26.9199455,37.0107171],[26.9197017,37.0108042],[26.9194177,37.0110184],[26.919196,37.011096],[26.9189688,37.0113268],[26.9187821,37.0114396],[26.9181168,37.0116722],[26.9177311,37.0118709],[26.9175244,37.0120472],[26.9172318,37.0120364],[26.9169413,37.0120796],[26.916722,37.0122201],[26.916523,37.0121957],[26.9164407,37.0123397],[26.916274,37.0124992],[26.9157617,37.0126538],[26.9154285,37.0129233],[26.9146609,37.0134197],[26.9132255,37.0146715],[26.9132217,37.0145725],[26.9133159,37.0143899],[26.91328,37.0140394],[26.9133194,37.0138942],[26.9132801,37.0134537],[26.9131813,37.0132218],[26.913199,37.0130952],[26.9130743,37.0127739],[26.9127243,37.0127284],[26.9128133,37.0124108],[26.9126843,37.0122698],[26.9127594,37.0121779],[26.9126111,37.0121184],[26.9125458,37.0121741],[26.9124111,37.0121774],[26.9123846,37.0121465],[26.9124934,37.0120537],[26.9123672,37.0119847],[26.9124427,37.0119018],[26.9124266,37.011776],[26.9125552,37.0116107],[26.9125078,37.0115488]]},{"id":16416,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u03a7\u03ce\u03c1\u03b1-\u039c\u03b5\u03c4\u03cc\u03c7\u03b9 \u0392\u03b1\u03b8\u03ad\u03c9\u03c2","description_GR":"\u0394\u03b9\u03b1\u03c3\u03ba\u03b5\u03bb\u03b9\u03c3\u03bc\u03cc\u03c2 \u03c4\u03bf\u03c5 \u03ba\u03cd\u03c1\u03b9\u03bf\u03c5 \u03cc\u03b3\u03ba\u03bf\u03c5 \u03c4\u03b7\u03c2 \u039a\u03b1\u03bb\u03cd\u03bc\u03bd\u03bf\u03c5","path":"Islands\/Islands_Kalymnos_Trail_2","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6027,"name_EN":"Kalymnos Isl: Chora-Metochi","description_EN":"Crossing the islands highest mountain","ascent_time":135,"descent_time":140,"marker":"Red_dots","level":12,"ascent":365,"descent":423,"maxelev":454,"minelev":40,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.95831 36.96513,26.99835 36.98712)","views":28,"millestones":"0,26.9575116,36.9666141#1,26.9617806,36.9729711#2,26.9642361,36.9809344#3,26.9712638,36.9854686#4,26.9797404,36.9846706#5,26.9895178,36.9827292#6,26.9990636,36.9832100","x":26.9683643,"y":36.9853699,"coor":[[26.9575116,36.9666141],[26.9577732,36.9664093],[26.9583205,36.9663326],[26.9586382,36.9661265],[26.9587538,36.9667926],[26.9589515,36.9671482],[26.9589096,36.9672281],[26.9591696,36.9681407],[26.9592765,36.9683994],[26.9592445,36.9686795],[26.9592634,36.9688773],[26.9595168,36.9693305],[26.9603551,36.9697714],[26.9611846,36.970021],[26.961369,36.9701426],[26.9614766,36.9703111],[26.9615754,36.9708313],[26.9615076,36.9714007],[26.9617048,36.9720874],[26.961871,36.9726622],[26.9617619,36.9730344],[26.9617941,36.9732859],[26.9620596,36.9737974],[26.9621536,36.9739032],[26.9622749,36.9741006],[26.9622798,36.9742267],[26.9623941,36.9742779],[26.962317,36.9743158],[26.9623029,36.9745325],[26.9623302,36.9746579],[26.9623976,36.9746562],[26.9623821,36.9748369],[26.9622011,36.9750937],[26.9621446,36.9756628],[26.9622294,36.9758229],[26.9621785,36.9762477],[26.9622802,36.9762631],[26.9622976,36.9763145],[26.9623811,36.976549],[26.9623485,36.9768652],[26.9625746,36.9771929],[26.9626949,36.9771088],[26.9628572,36.97724],[26.9628372,36.9775919],[26.9629942,36.9778763],[26.9631246,36.9783416],[26.9633672,36.9785158],[26.9635537,36.9789797],[26.9639471,36.9792763],[26.9640578,36.9795258],[26.9640111,36.9800586],[26.9641254,36.9803982],[26.9640794,36.9806607],[26.9642323,36.9808371],[26.9642393,36.9810171],[26.9643781,36.9811218],[26.9646313,36.981566],[26.9647063,36.9817624],[26.9646708,36.9822949],[26.9648279,36.9825793],[26.9649779,36.9826837],[26.9649853,36.9828728],[26.9650309,36.9829257],[26.9654684,36.9834554],[26.9662013,36.9841039],[26.9664537,36.9842418],[26.966688,36.9844882],[26.9670667,36.984695],[26.9672844,36.9847166],[26.9674459,36.9848612],[26.9674788,36.9851308],[26.967961,36.9851097],[26.9678292,36.9851851],[26.9680669,36.9852332],[26.9684015,36.9851707],[26.9683054,36.9852993],[26.9684281,36.9852782],[26.9683643,36.9853699],[26.9689811,36.9853455],[26.9689941,36.9853902],[26.9705076,36.9856046],[26.9711557,36.9855163],[26.9714758,36.9853731],[26.9716165,36.9852344],[26.9717357,36.9854117],[26.972093,36.985646],[26.9724342,36.9857546],[26.9724931,36.9858252],[26.9723367,36.9858472],[26.9723497,36.9858558],[26.9726145,36.9860565],[26.9730497,36.9862708],[26.9732523,36.9862838],[26.9731205,36.9863592],[26.9735413,36.9864928],[26.9738569,36.9865209],[26.9750422,36.9863831],[26.9747953,36.9866776],[26.9750994,36.986697],[26.9753442,36.9866368],[26.9754799,36.9866604],[26.9757513,36.9864193],[26.9763334,36.9863687],[26.9766662,36.9862612],[26.9769608,36.9860376],[26.9774931,36.985862],[26.977944,36.9856164],[26.97826,36.9853652],[26.978617,36.9852481],[26.9788701,36.9851696],[26.9792643,36.9849074],[26.9799032,36.984585],[26.9801707,36.9845332],[26.9804442,36.9843461],[26.9811778,36.9841475],[26.9813928,36.9841871],[26.9815032,36.9841393],[26.9819257,36.9842616],[26.9823981,36.9842767],[26.9828238,36.9839597],[26.9831004,36.9838536],[26.9833722,36.9836215],[26.9835072,36.9836271],[26.9837491,36.9834949],[26.9841523,36.9831783],[26.9846643,36.9830573],[26.9853021,36.9829962],[26.9856352,36.9828977],[26.9865557,36.9828836],[26.9878244,36.9825813],[26.9880631,36.982368],[26.9881752,36.9823629],[26.9883344,36.982413],[26.9887851,36.982735],[26.9891786,36.9830315],[26.989313,36.9828434],[26.9897549,36.9826002],[26.9904223,36.9830069],[26.9909122,36.9831838],[26.9911433,36.9833492],[26.9921994,36.9835343],[26.9924933,36.9835809],[26.9928838,36.9837108],[26.9933013,36.9838489],[26.9938876,36.9839062],[26.9942334,36.9841318],[26.9949375,36.9840419],[26.9959014,36.9841482],[26.9963582,36.9840556],[26.9972298,36.983993],[26.9978079,36.9837689],[26.9979159,36.983658],[26.9988439,36.9832651],[26.9990636,36.98321]]},{"id":16417,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u039f \u0399\u03c4\u03b1\u03bb\u03b9\u03ba\u03cc\u03c2 \u0394\u03c1\u03cc\u03bc\u03bf\u03c2","description_GR":"\u0394\u03b9\u03b1\u03c3\u03ba\u03b5\u03bb\u03b9\u03c3\u03bc\u03cc\u03c2 \u03b1\u03bd\u03ac\u03bc\u03b5\u03c3\u03b1 \u03c3\u03c4\u03bf \u0392\u03b1\u03b8\u03cd \u03ba\u03b1\u03b9 \u03c4\u03b7\u03bd \u03a0\u03cc\u03b8\u03b9\u03b1","path":"Islands\/Islands_Kalymnos_Trail_3","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6593,"name_EN":"Kalymnos Isl: The Italian Way","description_EN":"Crossing between Vathis and Pothia","ascent_time":150,"descent_time":150,"marker":"Red_dots","level":12,"ascent":362,"descent":386,"maxelev":382,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.98523 36.94915,27.00956 36.97888)","views":169,"millestones":"0,27.0107020,36.9782385#1,27.0039920,36.9768251#2,26.9999275,36.9717983#3,26.9976172,36.9654730#4,26.9896160,36.9612458#5,26.9873211,36.9555303#6.6,26.9847046,36.9497786","x":26.9901293,"y":36.9620614,"coor":[[27.010702,36.9782385],[27.0098364,36.9776477],[27.0091175,36.9773596],[27.0087226,36.9773155],[27.0085418,36.9769484],[27.0082309,36.9764697],[27.0078357,36.9755606],[27.0073533,36.975111],[27.0066034,36.9751751],[27.0060426,36.97491],[27.0056015,36.974831],[27.0049878,36.9750223],[27.0052713,36.9753755],[27.0052598,36.9756552],[27.0054613,36.9762088],[27.005054,36.9764173],[27.0047714,36.9764605],[27.0043756,36.9766778],[27.0039553,36.9768416],[27.0037649,36.9768555],[27.0035973,36.9760217],[27.0037206,36.9757302],[27.0036416,36.9756849],[27.0027642,36.9749186],[27.0026656,36.9746959],[27.0025162,36.9746095],[27.002163,36.974195],[27.0020447,36.9741507],[27.0021057,36.974095],[27.0016533,36.973728],[27.0012164,36.9737571],[27.0012354,36.9736665],[27.0008907,36.9735941],[27.0007711,36.9735701],[27.0008349,36.9734784],[27.0005053,36.9733786],[27.0000676,36.9731013],[27.0004799,36.9730188],[27.0000296,36.9727058],[27.0002757,36.9726816],[27.0002056,36.9726112],[27.0004514,36.972578],[26.9997763,36.9722617],[27.0000887,36.9722087],[26.999791,36.972063],[26.9994305,36.9717478],[26.9997471,36.9718028],[27.0001846,36.9717918],[27.0004174,36.9717138],[27.0003262,36.9716801],[27.0003799,36.9716156],[27.0003478,36.9710848],[27.0002366,36.9711146],[27.0002688,36.9707894],[27.0001493,36.9708916],[27.0001036,36.9705864],[26.9998982,36.9707898],[26.9998047,36.9702673],[26.9994296,36.9704389],[26.9993375,36.9698105],[26.9989997,36.9692153],[26.9982955,36.9684401],[26.997901,36.9681167],[26.997708,36.9677792],[26.9977921,36.9676329],[26.997527,36.9674593],[26.9972444,36.9671241],[26.996818,36.9668465],[26.9971638,36.966216],[26.997665,36.9655207],[26.9969409,36.9648091],[26.9958595,36.9641516],[26.9957686,36.9641246],[26.9941661,36.9636357],[26.9936718,36.9636301],[26.9933728,36.9637368],[26.992866,36.9642722],[26.9923989,36.9638154],[26.9923831,36.9636987],[26.9922282,36.9637567],[26.992081,36.9637243],[26.9918937,36.9635308],[26.9909481,36.9631852],[26.9906431,36.9628505],[26.9903036,36.9622102],[26.9901293,36.9620614],[26.9895791,36.9612012],[26.9893334,36.9609461],[26.9886564,36.9605757],[26.9882139,36.9604607],[26.9879825,36.9602863],[26.987463,36.9602093],[26.9875085,36.9599378],[26.9872476,36.9592956],[26.9869636,36.9589242],[26.9868977,36.9586736],[26.9869779,36.9584283],[26.9869575,36.9581945],[26.9872429,36.9583135],[26.9873098,36.9580144],[26.9880235,36.9576],[26.9875411,36.9576121],[26.9879807,36.9573668],[26.9876894,36.9573831],[26.9876645,36.9573207],[26.9878248,36.9568818],[26.9878572,36.9567932],[26.9878862,36.9560986],[26.9877571,36.9559577],[26.9874855,36.9559014],[26.9875054,36.9558378],[26.9873056,36.9558969],[26.9874199,36.9556598],[26.9873308,36.95568],[26.9873582,36.9555172],[26.9872474,36.955556],[26.9872407,36.9553849],[26.9866638,36.95585],[26.9866669,36.9553543],[26.9861664,36.9557634],[26.9861979,36.9554202],[26.9858018,36.9556284],[26.985923,36.9552829],[26.9854842,36.9555463],[26.9856808,36.9551178],[26.9849342,36.9555511],[26.9844387,36.9558182],[26.984333,36.9558253],[26.9849666,36.9548001],[26.9849631,36.9547101],[26.9847535,36.9545171],[26.9849142,36.9544275],[26.9847649,36.9542893],[26.9848255,36.9541166],[26.9849377,36.9540056],[26.9849878,36.9539593],[26.984896,36.9539076],[26.9846452,36.9537562],[26.9846406,36.9536392],[26.9847373,36.9535286],[26.9846409,36.9534139],[26.9847135,36.953367],[26.9845304,36.9532252],[26.9845888,36.9531944],[26.9847549,36.9531159],[26.98487,36.9530634],[26.985039,36.9528609],[26.9852352,36.9524235],[26.9855901,36.9520248],[26.9855978,36.9519345],[26.9856984,36.951923],[26.9858166,36.9520732],[26.9859939,36.9520867],[26.9861674,36.9519292],[26.9862312,36.9518735],[26.9864881,36.9516958],[26.9866557,36.9515835],[26.9864408,36.9514357],[26.9863209,36.9513306],[26.9862136,36.9512252],[26.9861181,36.951133],[26.9860152,36.9510319],[26.9859007,36.9509222],[26.9857076,36.9507378],[26.9855756,36.9506105],[26.9854981,36.9505313],[26.9853945,36.9504303],[26.9852734,36.9503117],[26.9850502,36.9500943],[26.9847046,36.9497786]]},{"id":16418,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u0392\u03bb\u03c5\u03c7\u03ac\u03b4\u03b9\u03b1-\u03a0\u03cc\u03b8\u03b9\u03b1","description_GR":"\u0392\u03bb\u03c5\u03c7\u03ac\u03b4\u03b9\u03b1-\u03a0\u03b5\u03b6\u03bf\u03cd\u03bb\u03b5\u03c2-\u03a0\u03cc\u03b8\u03b9\u03b1","path":"Islands\/Islands_Kalymnos_Trail_4","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6320,"name_EN":"Kalymnos Isl: Vlychadia-Pothia","description_EN":"Vlychadia-Pezoules-Pothia","ascent_time":160,"descent_time":150,"marker":"Blue_dots","level":9,"ascent":244,"descent":244,"maxelev":142,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.96593 36.92846,26.98653 36.94758)","views":30,"millestones":"0,26.9653236,36.9318188#1,26.9731299,36.9299608#2,26.9833005,36.9291262#3,26.9845802,36.9366617#4,26.9791261,36.9421117#5,26.9814736,36.9462335#6,26.9866685,36.9450771#6.3,26.9848823,36.9469987","x":26.9828853,"y":36.9358121,"coor":[[26.9653236,36.9318188],[26.9655815,36.9313235],[26.9657038,36.9312934],[26.9658646,36.9313885],[26.9663398,36.931068],[26.9665669,36.9307019],[26.9665729,36.9305665],[26.9667309,36.9304815],[26.9670091,36.9307088],[26.967123,36.930697],[26.9673319,36.9305476],[26.9673953,36.9305009],[26.9676687,36.9303139],[26.9681551,36.9301215],[26.9686366,36.9303798],[26.9692512,36.9305987],[26.9692692,36.9306298],[26.9696485,36.9312916],[26.9699309,36.931627],[26.9702981,36.931834],[26.9705669,36.9318183],[26.9714802,36.9313449],[26.9721197,36.9307612],[26.9729005,36.9303451],[26.973067,36.9300075],[26.9741141,36.9292244],[26.9745051,36.9291785],[26.9747119,36.9290111],[26.9751433,36.9288471],[26.9759878,36.9289161],[26.9769448,36.9287029],[26.9775555,36.9287506],[26.9778336,36.9289013],[26.979195,36.929561],[26.9798649,36.9294721],[26.9800703,36.9295571],[26.9807319,36.9295404],[26.9809155,36.9293556],[26.9811145,36.9292785],[26.9821545,36.9293042],[26.9825414,36.9293148],[26.9827846,36.9292185],[26.9831652,36.929191],[26.9833635,36.9290959],[26.9836011,36.929144],[26.9837609,36.9294824],[26.9839838,36.9297291],[26.9842035,36.9304715],[26.9839219,36.9313076],[26.9836444,36.931675],[26.9835992,36.9321177],[26.9835306,36.9327862],[26.9832706,36.933027],[26.9829482,36.9336839],[26.9830741,36.9340322],[26.9830243,36.934484],[26.9827801,36.9351299],[26.982921,36.9355769],[26.9828853,36.9358121],[26.9829218,36.9358833],[26.9831887,36.9359284],[26.9837579,36.9360245],[26.984332,36.9363525],[26.9846033,36.936688],[26.9845577,36.9369595],[26.9846885,36.9377222],[26.984609,36.9379855],[26.9846339,36.9383363],[26.9843175,36.9388038],[26.9842625,36.9388863],[26.9842713,36.9391114],[26.9841346,36.9393491],[26.9833367,36.9399008],[26.9827265,36.9400874],[26.9811197,36.9406233],[26.9805719,36.9409705],[26.9794238,36.9414679],[26.9790782,36.9415307],[26.9786927,36.9417206],[26.9784235,36.9417273],[26.9782991,36.9419918],[26.978638,36.9420621],[26.9807009,36.9422806],[26.981678,36.9422921],[26.9822643,36.9423585],[26.984145,36.9427978],[26.9844296,36.9428988],[26.9847188,36.9431168],[26.9848219,36.9434566],[26.9844445,36.9441419],[26.984162,36.9443833],[26.9834069,36.9448281],[26.9830756,36.9450234],[26.982225,36.9459549],[26.9812708,36.9463168],[26.980832,36.9465801],[26.980532,36.9469481],[26.9805283,36.947214],[26.9811149,36.9469244],[26.982543,36.9465146],[26.9832075,36.9462816],[26.9837581,36.9460065],[26.9843837,36.9459277],[26.9846711,36.9458123],[26.9848169,36.9458086],[26.9850696,36.9456671],[26.9862166,36.9448543],[26.9865958,36.9445023],[26.9870233,36.9439509],[26.9871232,36.9439213],[26.9871427,36.9442408],[26.987074,36.9444948],[26.9866486,36.9451002],[26.9860971,36.9455849],[26.9851134,36.9462675],[26.9850559,36.9468096],[26.9848823,36.9469987]]},{"id":16419,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u0386\u03c1\u03b3\u03bf\u03c2-\u0392\u03bb\u03c5\u03c7\u03ac\u03b4\u03b9\u03b1","description_GR":"\u0386\u03c1\u03b3\u03bf\u03c2-\u03bc\u03bf\u03bd\u03ae \u0391\u03b3. \u0391\u03b9\u03ba\u03b1\u03c4\u03b5\u03c1\u03af\u03bd\u03b7\u03c2-\u03bc\u03bf\u03bd\u03ae \u0391\u03b3. \u039a\u03c5\u03c0\u03c1\u03b9\u03b1\u03bd\u03bf\u03cd-\u0392\u03bb\u03c5\u03c7\u03ac\u03b4\u03b9\u03b1","path":"Islands\/Islands_Kalymnos_Trail_5","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6426,"name_EN":"Kalymnos Isl: Arghos-Vlychadia","description_EN":"Arghos-Aghia Ekaterini mon.-Aghios Kyprianos mon.-Vlychadia","ascent_time":155,"descent_time":155,"marker":"Blue_dots","level":13,"ascent":300,"descent":492,"maxelev":342,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.93515 36.93022,26.96526 36.95574)","views":28,"millestones":"0,26.9437426,36.9555259#1,26.9358555,36.9497392#2,26.9348099,36.9413729#3,26.9407880,36.9354102#4,26.9480480,36.9343974#5,26.9562633,36.9308749#6.4,26.9653230,36.9318210","x":26.9436571,"y":36.9341176,"coor":[[26.9437426,36.9555259],[26.9434844,36.955235],[26.9427814,36.9547658],[26.9422255,36.9543809],[26.9421454,36.9540494],[26.9412967,36.9532955],[26.9405272,36.952846],[26.9403026,36.9525542],[26.9397065,36.9522356],[26.9395668,36.9521985],[26.9390371,36.9520539],[26.9384779,36.9515271],[26.9379329,36.9513694],[26.9378614,36.951263],[26.9376235,36.9511878],[26.937615,36.9511857],[26.9374955,36.9510716],[26.9374605,36.9510364],[26.9373203,36.9508957],[26.937061,36.950866],[26.9368742,36.9507535],[26.9367263,36.950595],[26.9365932,36.9504541],[26.9365982,36.9502918],[26.9365326,36.9503385],[26.936431,36.9503229],[26.9363704,36.9502073],[26.936177,36.95014],[26.935764,36.9496186],[26.93575,36.9495468],[26.9358464,36.9494273],[26.93576,36.9492222],[26.9358276,36.9486438],[26.935693,36.9486471],[26.9357121,36.9483966],[26.9354404,36.9480631],[26.9352833,36.9474813],[26.9351397,36.9472505],[26.9352874,36.9470036],[26.9352191,36.9469782],[26.9354869,36.9463499],[26.9354639,36.946044],[26.9352489,36.9457069],[26.9352073,36.9455007],[26.9352338,36.9450225],[26.9354152,36.9447747],[26.9352749,36.9443366],[26.9353784,36.9441088],[26.9353683,36.9438477],[26.9353191,36.9436259],[26.9353142,36.9436057],[26.9351471,36.9433485],[26.9351647,36.9432219],[26.9348232,36.9428069],[26.9346367,36.9423339],[26.9348676,36.9410396],[26.9348531,36.9406615],[26.9349099,36.9406781],[26.9349492,36.9404789],[26.9350322,36.9400623],[26.9352692,36.9398041],[26.9356612,36.939488],[26.9360258,36.9387491],[26.9360627,36.9385409],[26.9367328,36.9378666],[26.9371031,36.9378078],[26.9373465,36.9377703],[26.9376822,36.9377777],[26.9378752,36.9376535],[26.9382267,36.9371582],[26.9384125,36.9370275],[26.9396989,36.9366172],[26.9405451,36.9361456],[26.9408425,36.9357057],[26.9404202,36.935599],[26.9408245,36.9354764],[26.9407552,36.935424],[26.9410976,36.9352804],[26.94128,36.9350596],[26.9413997,36.9346692],[26.941969,36.9342946],[26.9424443,36.9341026],[26.9426787,36.9340697],[26.9436571,36.9341176],[26.9444165,36.9343623],[26.9444869,36.9343853],[26.9446929,36.9344884],[26.9447994,36.9346299],[26.9449273,36.9345817],[26.9454215,36.9343712],[26.9458659,36.934252],[26.946052,36.9342744],[26.9461543,36.9343079],[26.9462539,36.9342694],[26.9461731,36.93392],[26.9461192,36.933687],[26.9460453,36.9335176],[26.9457332,36.9332821],[26.9456857,36.9331616],[26.9458459,36.9331486],[26.9461554,36.9331139],[26.9463372,36.9331725],[26.9472417,36.933961],[26.9479235,36.9344667],[26.9485716,36.9340992],[26.9487269,36.9340503],[26.9490819,36.9339423],[26.9494629,36.9339239],[26.9495732,36.9341644],[26.949538,36.9344176],[26.9497,36.9342514],[26.9498567,36.9340042],[26.9497998,36.9333455],[26.9497747,36.933042],[26.9498266,36.9329326],[26.9501211,36.932709],[26.9511796,36.9322141],[26.9517021,36.932084],[26.9530042,36.9315019],[26.9545931,36.9310839],[26.9554312,36.9310405],[26.9558701,36.9310161],[26.9560928,36.93097],[26.9564006,36.9308001],[26.9564876,36.9304375],[26.9568804,36.9304367],[26.9571928,36.9309696],[26.9571672,36.9311775],[26.9572751,36.931355],[26.9573605,36.9316412],[26.9574561,36.9319723],[26.9576559,36.9319132],[26.9578776,36.932133],[26.9581128,36.9321181],[26.9583006,36.9323297],[26.9585028,36.9323337],[26.9588125,36.9325062],[26.9588878,36.9327115],[26.9588408,36.932947],[26.9589315,36.9329718],[26.9592081,36.9328658],[26.9594018,36.932942],[26.959786,36.9326621],[26.9598772,36.9328085],[26.9601684,36.9327922],[26.960835,36.9326134],[26.9613352,36.9321954],[26.9617659,36.9320135],[26.9619909,36.9317375],[26.9623466,36.9316476],[26.9625864,36.9314613],[26.9628919,36.9315258],[26.9628198,36.9314015],[26.9629091,36.9313902],[26.9629025,36.9312192],[26.963152,36.9309967],[26.9632867,36.930705],[26.9634191,36.9306476],[26.9635579,36.9307522],[26.9637033,36.9307396],[26.9637987,36.930593],[26.9640212,36.9305785],[26.9642745,36.9315769],[26.9643488,36.9317553],[26.9644918,36.9318058],[26.9647409,36.9318626],[26.965323,36.931821]]},{"id":16420,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u039a\u03b1\u03bd\u03c4\u03bf\u03cd\u03bd\u03b9-\u0386\u03b3\u03b9\u03bf\u03c2 \u03a6\u03ce\u03c4\u03b9\u03bf\u03c2","description_GR":"\u0395\u03c5\u03c7\u03ac\u03c1\u03b9\u03c3\u03c4\u03b7 \u03c0\u03b1\u03c1\u03ac\u03ba\u03c4\u03b9\u03b1 \u03b4\u03b9\u03b1\u03b4\u03c1\u03bf\u03bc\u03ae","path":"Islands\/Islands_Kalymnos_Trail_6","activity_type":32,"assistance":1,"difficulty":1,"scenic_value":4,"length":2946,"name_EN":"Kalymnos Isl: Kantouni-Aghios Fotios","description_EN":"A nice coastal walk","ascent_time":55,"descent_time":55,"marker":"Blue_dots","level":13,"ascent":224,"descent":119,"maxelev":187,"minelev":9,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.91438 36.95204,26.93331 36.96921)","views":91,"millestones":"0,26.9339503,36.9687243#1,26.9269580,36.9633619#2,26.9211786,36.9569489#2.9,26.9137680,36.9528213","x":26.9234376,"y":36.9599996,"coor":[[26.9339503,36.9687243],[26.9336647,36.9686547],[26.933096,36.9681732],[26.9330515,36.9681315],[26.932712,36.9677704],[26.9325078,36.9675344],[26.9321288,36.9676069],[26.9319581,36.967548],[26.9315868,36.9674761],[26.9309601,36.9672392],[26.9307205,36.9668487],[26.9300366,36.9665862],[26.9299376,36.9663454],[26.9297277,36.9661433],[26.9290429,36.9661512],[26.9283489,36.965916],[26.9281005,36.9656248],[26.9280196,36.9655276],[26.9280614,36.9654455],[26.9277545,36.9650566],[26.9280776,36.9641115],[26.9272605,36.9638883],[26.9269121,36.9632932],[26.9263662,36.96282],[26.9261145,36.9627001],[26.92587,36.9624718],[26.9249447,36.9621162],[26.9246611,36.962042],[26.9242757,36.9616551],[26.9233153,36.9609128],[26.9232729,36.9603912],[26.9234376,36.9599996],[26.9235895,36.9598607],[26.92345,36.959738],[26.923191,36.9597174],[26.9232317,36.9596082],[26.9226455,36.9589603],[26.9226371,36.9584469],[26.9227993,36.9579923],[26.9220914,36.9576854],[26.9216185,36.9574312],[26.9213699,36.9572976],[26.9210234,36.9566596],[26.9200266,36.9564318],[26.9196243,36.9561894],[26.919249,36.9560635],[26.9190581,36.9557708],[26.9185223,36.9555587],[26.9184618,36.9554431],[26.9179922,36.9552023],[26.9179279,36.9549876],[26.9177988,36.9549525],[26.9177123,36.9549298],[26.9168368,36.9543476],[26.9167959,36.9541594],[26.9164066,36.9539617],[26.9161875,36.9535165],[26.9159233,36.9533608],[26.9149603,36.9525464],[26.9147003,36.9524988],[26.9141068,36.9525787],[26.913752,36.9526955],[26.913768,36.9528213]]},{"id":16421,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u039c\u03b5\u03c4\u03cc\u03c7\u03b9-\u039a\u03ac\u03c3\u03c4\u03b5\u03bb\u03bb\u03b1\u03c2","description_GR":"\u03a4\u03bf \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9 \u03c0\u03c1\u03bf\u03c2 \u03c4\u03bf\u03bd \u03c0\u03c1\u03bf\u03ca\u03c3\u03c4\u03bf\u03c1\u03b9\u03ba\u03cc \u03bf\u03b9\u03ba\u03b9\u03c3\u03bc\u03cc","path":"Islands\/Islands_Kalymnos_Trail_7","activity_type":32,"assistance":2,"difficulty":2,"scenic_value":4,"length":4637,"name_EN":"Kalymnos Isl: Metochis-Kastelas","description_EN":"The trail to the prehistoric settlement","ascent_time":100,"descent_time":100,"marker":"Blue_dots","level":13,"ascent":308,"descent":308,"maxelev":337,"minelev":32,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.99909 36.99542,27.00465 36.98294)","views":24,"millestones":"0,27.0030582,36.9829828#1,27.0010314,36.9875862#2,26.9992051,36.9949121#3,27.0019727,36.9911974#4.6,27.0030582,36.9829828","x":27.0012678,"y":36.9935439,"coor":[[27.0030582,36.9829828],[27.0020109,36.9833765],[27.0012654,36.9835576],[27.0010892,36.9836273],[27.0007788,36.9837501],[27.0004555,36.9838123],[27.0000368,36.9837328],[26.9992322,36.9832666],[26.9990233,36.983202],[26.9992475,36.9835838],[26.9993777,36.9840401],[26.9996553,36.9845287],[26.999878,36.9847844],[26.9999808,36.9848268],[27.0005562,36.9848934],[27.0009153,36.9848843],[27.0008824,36.9849031],[27.0009035,36.9851549],[27.0009667,36.9853335],[27.0010834,36.9855333],[27.0011245,36.9857215],[27.0010498,36.9858225],[27.0011352,36.9862799],[27.0009859,36.9864819],[27.0010462,36.9865885],[27.000974,36.9867526],[27.0009875,36.9870946],[27.0009188,36.9873487],[27.0010655,36.9876513],[27.0010466,36.9877419],[27.0011095,36.9879116],[27.0011222,36.9882356],[27.0010027,36.9883378],[27.0011531,36.9884511],[27.0011448,36.9885234],[27.0010245,36.9886075],[27.0010808,36.9891828],[27.0011752,36.9892976],[27.0010883,36.9893719],[27.0011925,36.9897387],[27.0011554,36.9899379],[27.0012121,36.9905221],[27.0011925,36.9905947],[27.001081,36.9906156],[27.0010822,36.9909309],[27.0009236,36.9908989],[27.0009139,36.9912235],[27.0008143,36.9912621],[27.0006161,36.9910779],[27.0006696,36.9915811],[27.0006482,36.9916087],[27.0004764,36.9915229],[27.0003184,36.9920766],[27.0002118,36.9922235],[27.0001965,36.9924041],[27.0002815,36.9928525],[27.0001353,36.9928472],[27.0000663,36.9930922],[26.9999993,36.9931029],[27.0000299,36.9933094],[26.9999097,36.9936819],[26.9998347,36.9937739],[26.9997543,36.9937309],[26.9997236,36.9940921],[26.9995978,36.9943205],[26.9995417,36.994322],[26.9993489,36.9945611],[26.9991954,36.9949435],[26.9990854,36.9952887],[26.999158,36.995422],[26.9993974,36.9954024],[26.9997642,36.995303],[26.9994674,36.9951844],[26.9992461,36.9949827],[26.9994158,36.9950145],[27.0002652,36.9949029],[27.0000365,36.9948005],[27.0002799,36.9947043],[27.0005856,36.9944803],[27.0007357,36.9942963],[27.0010653,36.9941077],[27.0011613,36.9939791],[27.0012678,36.9935439],[27.001233,36.9935178],[27.00109,36.9935935],[27.0011607,36.9933934],[27.0011477,36.9933487],[27.0010923,36.9933681],[27.0010902,36.9933141],[27.00127,36.9930302],[27.001181,36.9930505],[27.0011799,36.9930235],[27.0017499,36.9923783],[27.0017937,36.9923502],[27.0019298,36.9923828],[27.0020504,36.9923076],[27.0022306,36.9920327],[27.0023505,36.9919396],[27.0024622,36.9916394],[27.0024867,36.9914045],[27.0022237,36.9915733],[27.0015168,36.9918796],[27.0021113,36.9909995],[27.0021092,36.9909455],[27.0019296,36.99095],[27.002074,36.990622],[27.0022266,36.9899333],[27.0021946,36.9896908],[27.0017914,36.9900074],[27.0017484,36.9891975],[27.0020991,36.9884046],[27.0021994,36.9883841],[27.0025167,36.9881688],[27.0021838,36.987988],[27.0020365,36.9879557],[27.0020438,36.9878564],[27.0019421,36.9878409],[27.0017647,36.9878995],[27.0016486,36.9878033],[27.0015142,36.9875274],[27.0014241,36.9875206],[27.0014695,36.9872491],[27.0014001,36.9871968],[27.0014436,36.9871597],[27.0014183,36.9870882],[27.0015154,36.9869867],[27.0015434,36.9868418],[27.0016202,36.9867948],[27.0015714,36.9866969],[27.0014693,36.9866724],[27.0014542,36.9865737],[27.0016961,36.9864414],[27.001689,36.985973],[27.0017748,36.9858718],[27.0019056,36.9858955],[27.0026715,36.9859482],[27.0028062,36.9859448],[27.0030151,36.9858313],[27.0031975,36.9858988],[27.0036709,36.9859409],[27.0038484,36.9858823],[27.0040443,36.9857242],[27.0042711,36.9858851],[27.0040443,36.9857242],[27.0034994,36.98531],[27.0030879,36.9851289],[27.0032158,36.9849545],[27.0034023,36.9848416],[27.0037202,36.984356],[27.0038103,36.9843627],[27.0039095,36.984207],[27.0040119,36.9842404],[27.0041104,36.9841749],[27.0041598,36.9840024],[27.0041244,36.9839583],[27.0042396,36.9837481],[27.0044724,36.9836701],[27.0046684,36.983512],[27.0042727,36.9831615],[27.0042211,36.9829916],[27.0039509,36.983012],[27.0035792,36.9829854],[27.0033008,36.9830465],[27.0030582,36.9829828]]},{"id":16422,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u039c\u03b5\u03c4\u03cc\u03c7\u03b9 \u0392\u03b1\u03b8\u03ad\u03c9\u03c2-\u03b4\u03b9\u03b1\u03c3. \u03a3\u03c4\u03b1\u03c5\u03c1\u03af-\u03c0\u03b1\u03c1\u03b1\u03bb\u03af\u03b1 \u03a0\u03b5\u03b6\u03ce\u03bd\u03c4\u03b1","description_GR":"\u03a4\u03bf \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9 \u03b3\u03b9\u03b1 \u03c4\u03bf\u03bd \u03b1\u03c0\u03ac\u03bd\u03b5\u03bc\u03bf \u03a0\u03b5\u03b6\u03ce\u03bd\u03c4\u03b1","path":"Islands\/Islands_Kalymnos_Trail_8","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":4779,"name_EN":"Kalymnos Isl: Metochi-Stavri Pass-Pezontas beach","description_EN":"The trail to the leeward Pezontas beach","ascent_time":110,"descent_time":110,"marker":"Blue_dots","level":13,"ascent":276,"descent":303,"maxelev":320,"minelev":9,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.99986 36.98264,27.02174 37.00333)","views":20,"millestones":"0,26.9990643,36.9832100#1,27.0078450,36.9869522#2,27.0158361,36.9918150#3,27.0220553,36.9948470#4,27.0153133,37.0000734#4.8,27.0084977,37.0031151","x":27.0188077,"y":36.9935088,"coor":[[26.9990643,36.98321],[26.9993679,36.9840764],[26.9996553,36.9845287],[26.9997848,36.9847349],[27.000162,36.984847],[27.0008591,36.9848654],[27.0012023,36.9849153],[27.0016462,36.9847779],[27.0022188,36.9847724],[27.0025864,36.9849794],[27.0030865,36.9851289],[27.0033941,36.9852383],[27.0040226,36.9857067],[27.0042704,36.9858852],[27.00462,36.9861872],[27.0049158,36.9864433],[27.0056306,36.9869117],[27.0064168,36.9869098],[27.0074687,36.9867548],[27.0081704,36.9871199],[27.0083634,36.9872795],[27.0091093,36.9879634],[27.0104391,36.9886415],[27.0110008,36.9886791],[27.0113325,36.9885445],[27.0115004,36.9885313],[27.0119876,36.988636],[27.0129206,36.9889367],[27.0144979,36.9896265],[27.0149856,36.9900286],[27.0153092,36.990543],[27.0153522,36.9907762],[27.0151758,36.9908618],[27.0151202,36.9911606],[27.0152189,36.9913834],[27.0154125,36.9914505],[27.0157409,36.9918026],[27.0161362,36.9918556],[27.0163346,36.9917605],[27.0169102,36.9918269],[27.0166702,36.9922926],[27.0167839,36.9923258],[27.0167765,36.9924251],[27.0170122,36.9924191],[27.0167949,36.9926048],[27.0169408,36.9926011],[27.0170117,36.9926894],[27.0172808,36.9927299],[27.01764,36.9930091],[27.0174051,36.9930331],[27.0181466,36.9933206],[27.018538,36.9932746],[27.0190109,36.9930192],[27.0192115,36.9929781],[27.0190363,36.9933227],[27.0188077,36.9935088],[27.0189056,36.9935693],[27.0191008,36.9935689],[27.0192404,36.9936014],[27.0191697,36.9938014],[27.0192808,36.9937715],[27.0192619,36.9938621],[27.0194292,36.9938308],[27.0193654,36.9939226],[27.0195888,36.9938899],[27.0197835,36.993984],[27.0200069,36.9939513],[27.0208755,36.9943257],[27.021122,36.9943644],[27.0210937,36.9945003],[27.0216426,36.9944593],[27.0218242,36.9946845],[27.0220508,36.9947328],[27.0220704,36.9952279],[27.0220207,36.9955513],[27.021981,36.9958068],[27.0222801,36.9962678],[27.0218817,36.9963861],[27.0215084,36.9966028],[27.0212959,36.9966263],[27.0209551,36.9968152],[27.0207807,36.9972341],[27.0207816,36.9975404],[27.0204681,36.9981341],[27.0204682,36.9984225],[27.0198501,36.9986995],[27.0196555,36.9988937],[27.0191804,36.9990951],[27.0188117,36.9994288],[27.0177642,36.9996447],[27.0172457,36.9996038],[27.0170943,36.9996618],[27.0164932,36.9998933],[27.0159987,36.9998879],[27.0157536,36.9999392],[27.0152984,37.0000769],[27.0148388,37.0003859],[27.0146161,37.0004366],[27.0143,37.0003996],[27.0136829,37.0007037],[27.0132382,37.0008231],[27.0128679,37.0008325],[27.0125954,37.0010467],[27.0122388,37.0011188],[27.0113982,37.0014555],[27.0107552,37.0019585],[27.0103257,37.0021766],[27.0098943,37.0023498],[27.0093374,37.002472],[27.0092638,37.0026],[27.0084977,37.0031151]]},{"id":16423,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u0394\u03b9\u03b1\u03c3. \u03a3\u03c4\u03b1\u03c5\u03c1\u03af-\u03a0\u03b1\u03bd\u03b1\u03b3\u03b9\u03ac \u039a\u03c5\u03c1\u03ac \u03a8\u03b7\u03bb\u03ae","description_GR":"\u03a4\u03bf \u03bc\u03bf\u03bd\u03bf\u03c0\u03ac\u03c4\u03b9 \u03b3\u03b9\u03b1 \u03c4\u03b7\u03bd \u03a0\u03b1\u03bd\u03b1\u03b3\u03b9\u03ac \u039a\u03c5\u03c1\u03ac \u03a8\u03b7\u03bb\u03ae","path":"Islands\/Islands_Kalymnos_Trail_8a","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":753,"name_EN":"Kalymnos Isl: Stavri Pass-Panagia Kyra Psili","description_EN":"The trail to Panagia Kyra Psili","ascent_time":20,"descent_time":15,"marker":"Blue_dots","level":13,"ascent":143,"descent":22,"maxelev":455,"minelev":315,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(27.01912 36.99308,27.02571 36.99404)","views":16,"millestones":"0,27.0251833,36.9933778#0.8,27.0251833,36.9933778","x":27.0238149,"y":36.9934308,"coor":[[27.0191022,36.9935688],[27.0200392,36.9934008],[27.0202636,36.9933951],[27.0206154,36.9934853],[27.0212656,36.9934507],[27.0219024,36.9933624],[27.022123,36.9932576],[27.0226584,36.9931629],[27.0229563,36.9933085],[27.0234627,36.9933316],[27.0238149,36.9934308],[27.024485,36.9939003],[27.0246957,36.9938318],[27.0251457,36.9938474],[27.0250541,36.9938047],[27.0257319,36.9936162],[27.025492,36.9935141],[27.0251875,36.9934859],[27.0252759,36.9934476],[27.0251833,36.9933778]]},{"id":16424,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u039c\u03b5\u03c4\u03cc\u03c7\u03b9-\u0391\u03c1\u03b3\u03b9\u03bd\u03ce\u03bd\u03c4\u03b1\u03c2","description_GR":"\u039c\u03b5\u03c4\u03cc\u03c7\u03b9 \u0392\u03b1\u03b8\u03ad\u03c9\u03c2-\u039c\u03cc\u03bd\u03c4\u03b5 \u03a1\u03af\u03c4\u03bf-\u039b\u03b1\u03b3\u03ba\u03bf\u03c5\u03bd\u03ac\u03c1\u03b1-\u0391\u03c1\u03b3\u03b9\u03bd\u03ce\u03bd\u03c4\u03b1\u03c2","path":"Islands\/Islands_Kalymnos_Trail_9","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6430,"name_EN":"Kalymnos Isl: Metochi-Arghinontas","description_EN":"Metochi Vatheos-Monte Rito-Lagounara-Arghinontas","ascent_time":155,"descent_time":150,"marker":"Blue_dots","level":13,"ascent":347,"descent":375,"maxelev":382,"minelev":12,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.96911 36.98313,27.00225 37.01537)","views":27,"millestones":"0,26.9990643,36.9832100#1,27.0018158,36.9900008#2,26.9997466,36.9949464#3,26.9920458,36.9989268#4,26.9886518,37.0057175#5,26.9796801,37.0091028#6,26.9710602,37.0129750#6.4,26.9691091,37.0153738","x":26.995752,"y":36.9959226,"coor":[[26.9990643,36.98321],[26.9991724,36.9833875],[26.9993679,36.9840764],[26.9996553,36.9845287],[26.9997848,36.9847349],[26.9999432,36.9848165],[27.0001522,36.9848473],[27.0004797,36.984893],[27.0008605,36.9848654],[27.0008971,36.9852249],[27.0009694,36.9853492],[27.001073,36.9856282],[27.0011112,36.9863121],[27.0010144,36.9864226],[27.0010446,36.9866201],[27.0009627,36.9868204],[27.000975,36.9871355],[27.0009159,36.9873443],[27.0010633,36.9876649],[27.0010509,36.9877959],[27.0013782,36.9877831],[27.0014954,36.9879063],[27.0017195,36.9878916],[27.0017773,36.9879352],[27.0019323,36.9878772],[27.002034,36.9878927],[27.0020488,36.9879824],[27.0024515,36.9882245],[27.0020788,36.9884592],[27.0017273,36.989234],[27.0017704,36.9900439],[27.0021063,36.9897291],[27.0021971,36.9897538],[27.0022038,36.9899248],[27.0021398,36.9902959],[27.0020437,36.9905664],[27.0019072,36.9909506],[27.0019198,36.9909863],[27.0020776,36.9910003],[27.001506,36.9918889],[27.0022016,36.9915829],[27.0024422,36.9914146],[27.0024703,36.9915581],[27.0023393,36.9919399],[27.0020707,36.992253],[27.0019403,36.9923645],[27.0017278,36.9923879],[27.0014137,36.9926842],[27.0011687,36.9930238],[27.0012595,36.9930485],[27.0010902,36.9933141],[27.001092,36.9933591],[27.0011481,36.9933577],[27.0011607,36.9933934],[27.0010893,36.9935755],[27.0011131,36.9936109],[27.001233,36.9935178],[27.0012678,36.9935439],[27.0010646,36.9940897],[27.0007567,36.9942597],[27.0002581,36.9947229],[27.0000242,36.9947738],[27.0000369,36.9948095],[27.0002522,36.9948582],[27.0002544,36.9949122],[26.9993018,36.9949723],[26.9992699,36.9950182],[26.999317,36.9950711],[26.9997537,36.9953213],[26.9991261,36.9954138],[26.9988862,36.9954559],[26.998649,36.9954213],[26.9985569,36.9954192],[26.9984039,36.9952428],[26.9982787,36.9952009],[26.9981261,36.9950336],[26.998036,36.9950268],[26.9979258,36.9950837],[26.9977385,36.9950163],[26.9976541,36.9951536],[26.9971697,36.9951208],[26.9968499,36.9952731],[26.9961816,36.9957045],[26.995752,36.9959226],[26.9956552,36.9960332],[26.9950279,36.9963644],[26.9948224,36.9965678],[26.9944378,36.9967848],[26.9941548,36.9970172],[26.9935832,36.997338],[26.9933013,36.9975974],[26.9930443,36.9979193],[26.992964,36.9981646],[26.9927326,36.9982786],[26.9926439,36.998416],[26.9915674,36.9993262],[26.9913956,36.9995288],[26.991269,36.9997392],[26.9911954,37.0001556],[26.9916063,37.0020375],[26.9917765,37.0023667],[26.9919526,37.0025605],[26.9925897,37.003049],[26.9920626,37.0034137],[26.9917161,37.0034585],[26.9914299,37.0036099],[26.9913766,37.0036833],[26.9905871,37.0038925],[26.9901666,37.0040563],[26.9896633,37.0044024],[26.9892572,37.0049352],[26.9890272,37.0050852],[26.9887663,37.0055964],[26.9882484,37.0061411],[26.9878107,37.0067288],[26.9873888,37.007145],[26.9867715,37.0074489],[26.9868298,37.0075015],[26.9857203,37.0078628],[26.9850363,37.007898],[26.9847248,37.007978],[26.9841096,37.0080475],[26.9835428,37.008206],[26.9832456,37.0080783],[26.9828815,37.0082496],[26.9813585,37.008378],[26.9811413,37.0082303],[26.9810897,37.0080604],[26.981022,37.0080531],[26.9808642,37.0083274],[26.9805952,37.0086315],[26.9802673,37.008865],[26.9790613,37.0093459],[26.9785611,37.0094846],[26.978325,37.0094815],[26.977702,37.0096413],[26.9772296,37.0099145],[26.9771236,37.0100794],[26.9768841,37.0102746],[26.9766822,37.0104103],[26.9759831,37.0106351],[26.974823,37.0114302],[26.9745214,37.0114738],[26.9743733,37.0114234],[26.9742561,37.0113002],[26.974132,37.0112853],[26.9738983,37.0113452],[26.9736451,37.0114777],[26.9726685,37.0117906],[26.9721879,37.0118567],[26.9717381,37.0118499],[26.9717336,37.0120213],[26.9716318,37.0120058],[26.9715035,37.0118829],[26.971413,37.0118671],[26.9714287,37.0122722],[26.9711923,37.0125485],[26.9711298,37.0129285],[26.9707138,37.0132092],[26.9704341,37.0135834],[26.9704418,37.0137815],[26.970399,37.0138366],[26.9701812,37.0140133],[26.9694227,37.0144468],[26.9694922,37.0147875],[26.9694395,37.0151673],[26.9691091,37.0153738]]},{"id":16425,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u03a0\u03cc\u03b8\u03b9\u03b1-\u0392\u03bb\u03c5\u03c7\u03ac\u03b4\u03b1","description_GR":"\u03a0\u03cc\u03b8\u03b9\u03b1-\u03a7\u03c9\u03c3\u03c4\u03cc-\u0392\u03bb\u03c5\u03c7\u03ac\u03b4\u03b1","path":"Islands\/Islands_Kalymnos_Trails_4","activity_type":32,"assistance":1,"difficulty":2,"scenic_value":4,"length":6500,"name_EN":"Kalymnos Isl: Pothia-Vlychada","description_EN":"Pothia-Chosto-Vlychada","ascent_time":145,"descent_time":145,"marker":"Blue_dots","level":13,"ascent":261,"descent":261,"maxelev":142,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.96589 36.94756,26.98651 36.92848)","views":15,"millestones":"0,26.9848825,36.9470032#1,26.9818490,36.9467110#2,26.9821465,36.9423581#3,26.9842658,36.9390453#4,26.9839217,36.9313361#5,26.9758860,36.9289377#6.5,26.9652798,36.9317928","x":26.9829597,"y":36.9336724,"coor":[[26.9848825,36.9470032],[26.9850274,36.9468869],[26.9850457,36.9467986],[26.9851147,36.9462652],[26.9862074,36.9454988],[26.9866837,36.9450633],[26.9870253,36.9446132],[26.9871283,36.9443763],[26.9870992,36.9439174],[26.9870109,36.9439557],[26.9867025,36.944396],[26.9862921,36.9448118],[26.9856172,36.9453515],[26.984816,36.9458222],[26.9836797,36.946049],[26.9828523,36.9464212],[26.9811874,36.9469136],[26.9806705,36.9471879],[26.9805688,36.9471724],[26.9806245,36.9468737],[26.9807956,36.9466531],[26.9812771,36.9463346],[26.9822283,36.9459683],[26.983068,36.9450461],[26.984362,36.9442567],[26.9845876,36.9439987],[26.9847958,36.9435789],[26.9848392,36.9432534],[26.9846275,36.9430064],[26.9844666,36.9429114],[26.9831835,36.9425381],[26.9818836,36.9423095],[26.9806366,36.9422868],[26.9789683,36.9421124],[26.9782766,36.941972],[26.9783793,36.9417262],[26.978524,36.9416955],[26.9786597,36.9417191],[26.9790908,36.9415461],[26.9794255,36.9414927],[26.9800332,36.9412431],[26.9811543,36.9406292],[26.9827271,36.9400851],[26.9832381,36.9399461],[26.9840277,36.9394667],[26.9842726,36.9391271],[26.984253,36.9389113],[26.9845739,36.9385068],[26.9846759,36.9382429],[26.9846051,36.9381546],[26.9846895,36.9377289],[26.9845587,36.9369663],[26.9845797,36.9366413],[26.984429,36.936519],[26.9843442,36.9363589],[26.9841392,36.936283],[26.9839184,36.9360903],[26.983543,36.9359645],[26.9829227,36.93589],[26.9829434,36.9355561],[26.9827916,36.9351184],[26.9830565,36.9344269],[26.9830221,36.9344097],[26.9830431,36.9340848],[26.9831069,36.9339931],[26.9829534,36.9337987],[26.9829597,36.9336724],[26.9832821,36.9330155],[26.9835421,36.9327746],[26.9836216,36.9325113],[26.9836023,36.9320162],[26.9836772,36.9316359],[26.9839558,36.9312954],[26.9839708,36.9311058],[26.9841488,36.930777],[26.9841425,36.9306149],[26.9842245,36.9304146],[26.9839833,36.9296998],[26.9835793,36.9291242],[26.983296,36.9291111],[26.9831769,36.9292222],[26.9828861,36.9292475],[26.9826422,36.9293257],[26.9811035,36.9293013],[26.9808505,36.9294338],[26.980765,36.9295441],[26.9800698,36.9295616],[26.9797863,36.9294876],[26.9791832,36.9295658],[26.9786008,36.9293101],[26.9784621,36.9292054],[26.9782126,36.9291396],[26.9775811,36.928777],[26.9772195,36.928714],[26.976649,36.9287643],[26.9759489,36.9289441],[26.9751377,36.9288653],[26.9747624,36.9290279],[26.9745549,36.9291773],[26.9743331,36.9292459],[26.9741964,36.9291953],[26.9741411,36.9292147],[26.9737689,36.9294583],[26.9730396,36.9300443],[26.9730014,36.9302164],[26.9728844,36.9303816],[26.9721253,36.930779],[26.9714858,36.9313628],[26.9709608,36.9317183],[26.9705743,36.9318812],[26.9702694,36.9318348],[26.9698317,36.9315483],[26.9696432,36.9313188],[26.969269,36.9306433],[26.9686317,36.9304159],[26.9681852,36.9301928],[26.9679837,36.9302069],[26.9675867,36.930388],[26.9674143,36.9305725],[26.9671083,36.9307874],[26.9668343,36.9306681],[26.9666833,36.9305367],[26.9663942,36.9310599],[26.9667358,36.9311865],[26.9671966,36.931202],[26.9672562,36.9312906],[26.9664498,36.9319145],[26.9660832,36.9316871],[26.9658922,36.9313945],[26.965799,36.9313068],[26.9656855,36.9312736],[26.9655649,36.9313487],[26.9652798,36.9317928]]},{"id":17801,"author":"AnaDigit","name_GR":"\u039a\u03ac\u03bb\u03c5\u03bc\u03bd\u03bf\u03c2: \u03a1\u03c9\u03bc\u03b1\u03ca\u03ba\u03ae \u03ba\u03b1\u03b9 \u03b2\u03c5\u03b6\u03b1\u03bd\u03c4\u03b9\u03bd\u03ae \u03a4\u03ad\u03bb\u03b5\u03bd\u03b4\u03bf\u03c2","description_GR":"\u039f\u03b9 \u03c0\u03b1\u03bb\u03b1\u03b9\u03bf\u03c7\u03c1\u03b9\u03c3\u03c4\u03b9\u03b1\u03bd\u03b9\u03ba\u03ad\u03c2 \u03b2\u03b1\u03c3\u03b9\u03bb\u03b9\u03ba\u03ad\u03c2, \u03c4\u03bf \u03c1\u03c9\u03bc\u03b1\u03ca\u03ba\u03cc \u03b8\u03ad\u03b1\u03c4\u03c1\u03bf \u03ba\u03b1\u03b9 \u03b7 \u03bd\u03b5\u03ba\u03c1\u03cc\u03c0\u03bf\u03bb\u03b7","path":"ISLANDS\/Islands_Kalymnos_Trail_18","activity_type":31,"assistance":2,"difficulty":1,"scenic_value":5,"length":2029,"name_EN":"Kalymnos Isl: Roman and byzantine Telendos","description_EN":"The early cristian basilicas, the roman theater and the necropolis","ascent_time":40,"descent_time":40,"marker":"No_marks","level":13,"ascent":31,"descent":31,"maxelev":25,"minelev":0,"link_logo":"","link_ref":"","pdf_link":"","bbox":"LINESTRING(26.9179 36.9935,26.92254 37.0002)","views":12,"millestones":"0,26.9211524,36.9975221#1,26.9187664,36.9961335#2,26.9211524,36.9975221","x":26.9177199,"y":36.9949235,"coor":[[26.9211524,36.9975221],[26.9220247,36.9984445],[26.9221617,36.9985943],[26.9224363,36.9987227],[26.9227544,36.9991271],[26.9222389,36.9994552],[26.9221785,36.9996369],[26.9222688,36.9999411],[26.9220501,37.0000997],[26.9218818,37.0001038],[26.9216742,36.9999648],[26.9209687,36.9997298],[26.9208354,36.9997691],[26.9206533,36.999251],[26.920424,36.9988556],[26.9197839,36.9985515],[26.9194683,36.9985232],[26.9190767,36.9982715],[26.9192163,36.9981036],[26.9191393,36.9979636],[26.9191029,36.9979465],[26.9192321,36.9972134],[26.9189542,36.9964092],[26.9188079,36.9964038],[26.9187871,36.996152],[26.9184962,36.9958889],[26.9183137,36.9955239],[26.9176977,36.9949849],[26.9177199,36.9949235],[26.9179753,36.9948451],[26.9186449,36.9947295],[26.9190293,36.9947921],[26.9192507,36.9949084],[26.9191857,36.9947162],[26.9195352,36.9944553],[26.9195106,36.9941045],[26.919591,36.993911],[26.9195637,36.9937675],[26.9195277,36.9935791],[26.9196629,36.9935713],[26.919942,36.9936906],[26.9201594,36.9937934],[26.9202901,36.9939794],[26.9205183,36.9940729],[26.9206851,36.9943211],[26.9210158,36.9944481],[26.92111,36.994563],[26.9211309,36.9948148],[26.9209929,36.9950254],[26.9209767,36.995188],[26.9207311,36.9954689],[26.9204661,36.9958809],[26.9204287,36.9960801],[26.9204221,36.9964948],[26.9205833,36.9967431],[26.9211524,36.9975221]]}],{"extent":[26.91247,36.92596,27.03892,37.06464],"advPath":"http:\/\/www.topoguide.gr\/adventure.php?l=en&ul=1&a=","style":{"default":{"color":"#ff612f","width":6,"action":{"type":"redirect"}},"Islands\/Islands_Zakynthos_Kalamaki_Skopiotisa":{"url":"http:\/\/www.topoguide.gr\/hiking_in_zakynthos.php#test","color":"#ff612f","width":5,"exclude":false,"useStyle":true},"Islands\/Islands_Zakynthos_Kiliomeno_Pandokratoras":{"url":null,"color":"#2f2fff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Yperaghathos_Loucha":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Volima_AgAndreas":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Vassilikos":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Prodromos_Kalithea":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Loucha_Kalithea":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Klima_Schinari":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Kiliomeno_Yperaghathos":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Keri_ParaliaKeriou2":{"url":"#advlist","color":"#2f2fff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Keri_ParaliaKeriou":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Keri_Faros":{"url":null,"color":"#2f2fff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Keri_Agalas":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Kalithea_Lagopodo":{"url":null,"color":"#2f2fff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Zakynthos_Argasi_Skopiotisa":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Zakynthos_Agalas_Kiliomenos":{"url":null,"color":"#1d950d","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Sikinos_02_Chorio_Loop":{"url":null,"color":"#08bc25","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Sikinos_01_Chorio_Alopronia":{"url":null,"color":"#ff2fc5","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Sikinos_03_Kastro_Alopronia":{"url":null,"color":"#253bdd","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Sikinos_04_Kastro_Malta":{"url":null,"color":"#2feeff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Sikinos_05_Kastro_Loop":{"url":null,"color":"#ffd52f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Sikinos_06_Episkopi_AgMarina":{"url":null,"color":"#2fdddd","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Sikinos_07_Kastro_Alopronia":{"url":null,"color":"#2fff2f","width":6,"exclude":false,"useStyle":true},"Islands\/Islands_Skopelos_monasteries_Loop":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Skopelos_Loutraki_Klima":{"url":null,"color":"#1ab933","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Skopelos_Loutraki_Faros_loop":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Skopelos_Loutraki_Taxiarches":{"url":null,"color":"#2f7aff","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kefalonia_Foukalida":{"url":null,"color":"#02981a","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kefalonia_Damoulianata_AgThekli":{"url":null,"color":"#02981a","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kefalonia_Vilatoria_Petani":{"url":null,"color":"#02981a","width":6,"exclude":false,"useStyle":true},"Car_touring\/CAR_Kefalonia_Gerogombos":{"url":null,"color":"#f029e0","width":6,"exclude":false,"useStyle":true},"Geology\/GEO_Kefalonia_4_karst_formations":{"url":null,"color":"#fff741","width":6,"exclude":false,"useStyle":true},"Islands\/Islands_Kefalonia_Ainos":{"url":null,"color":"#02981a","width":6,"exclude":false,"useStyle":true},"Islands\/Islands_Kefalonia_Anavasi_AgDinati":{"url":null,"color":"#02981a","width":6,"exclude":false,"useStyle":true},"Islands\/Islands_Kefalonia_Fiskardo_Battery":{"url":null,"color":"#02981a","width":6,"exclude":false,"useStyle":true},"Islands\/Islands_Kefalonia_Gyro_apo_Zoodocho_Pigi":{"url":null,"color":"#02981a","width":6,"exclude":false,"useStyle":true},"Islands\/Islands_Kefalonia_Sami_Poros":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"SUV_4x4\/SUV_Kefalonia_Ainos":{"url":null,"color":"#e62fff","width":6,"exclude":false,"useStyle":true},"SUV_4x4\/SUV_Kefalonia_Livadi-AgEleni_beach":{"url":null,"color":"#f72fff","width":6,"exclude":false,"useStyle":true},"GEOLOGY\/GEO_Kefalonia_Mntzavinata_formations":{"url":null,"color":"#f7ff2f","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kefalonia_Antisamos_Fanentes":{"url":null,"color":"#02981a","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kefalonia_Proni_acropolis":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kefalonia_Ainos_traverse":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kefalonia_Assos_castle":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kefalonia_AgDinati_loop":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kefalonia_Atros_ascent":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kefalonia_Ainos_ridge":{"url":null,"color":"#e99429","width":6,"exclude":false,"useStyle":true},"ISLANDS\/Islands_Kefalonia_Koutavos_loop":{"url":null,"color":"#ff612f","width":6,"exclude":false,"useStyle":false},"ISLANDS\/Islands_Kefalonia_Sami_Fanentes":{"url":null,"color":"#3ee373","width":6,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/MTB_Kalymnos_Vathys_loop":{"url":null,"color":"#e80fb4","width":6,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/Roadbike_Kalymnos_Arginontas_loop":{"url":null,"color":"#e80fb4","width":6,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/Roadbike_Kalymnos_Arginontas_Palionisos":{"url":null,"color":"#e80fb4","width":6,"exclude":false,"useStyle":true},"MTB_ROADBIKE\/Roadbike_Kalymnos_Arginontas_Eborios":{"url":null,"color":"#e80fb4","width":6,"exclude":false,"useStyle":true}}}); function getPoiCollection(key, data, meta) { this.passedOl = undefined; this.modal = undefined; this.key = key; this.data = data; this.item = []; //this.meta = meta; this.gsMap = null; this.features = []; //this.lineFeatures = [] ; var self = this; //console.log(data); this.initOl = function (ol,modal) { this.passedOl = ol; this.modal = modal; this.source = new this.passedOl.source.Vector({ wrapX: false, noWrap: true }); this.layer = new this.passedOl.layer.Vector({ source: this.source, //clusterSource visible: true }); } this.registerMap = function (gsMap) { this.gsMap = gsMap; this.gsMap.map.addLayer(this.layer); this.createFeatures(); } this.createFeatures = function () { this.features = []; var self = this; for (var i in this.data) { //console.log(this.data[i]); var newItem = this.getItem(this.data[i]); newItem.style = this.getIconStyle(newItem); var f = this.gsMap.feature_from_coor(this.data[i].x, this.data[i].y, this.pointMsp(newItem)); //var s = this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 1, 5, "");//this.adventureIconPointStyle(this.data[i].activity_type,this.data[i].difficulty);//this.gsMap.pointStyle("#ff0000", [0, 0, 0, 0.5], 0, 5, ""); f.setStyle(newItem.style); f.show = function () { // var div = document.getElementById("myModal"); self.modal.dom.innerHTML = '
'; setTimeout(function () { self.modal.show(); // self.passed$('#myModal').modal('show'); }, 200); } newItem.feature = f; this.item.push(newItem); this.features.push(f); } this.source.addFeatures(this.features); this.gsMap.registerOnZoomChangedFunction(function () { self.refresh(); }); this.refresh(); } this.zoomTo = function () { this.gsMap.map.getView().fit(this.gsMap.ll2xy(this.meta.extent), this.gsMap.map.getSize()); } this.pointMsp = function (item) { var modal = this.modal; return { width: item.width, height: item.height, photoPath: item.photoPath, name: item.name, description: item.description, parent: this, click: [function (s, f, l) { //var div = document.getElementById("myModal"); var self = f.get('msp'); //#34b0ff modal.dom.innerHTML = '
' + '
' + self.name.replace("
", ": ") + '
' + self.parent.getImagetItem(self.photoPath, self.width, self.height) + '
' + self.description + '
' + '
'; setTimeout(function () { modal.show(); // $('#myModal').modal('show'); }, 200); }] }; } this.poiIconPointStyle = function (activity_type, difficulty) { var iconpath = 'https://anadigit.fr/TopoMedia/Icons/activity_adv_loc/activity_' + activity_type + '_' + difficulty + '_adv_loc.png'; return new this.passedOl.style.Style({ image: new this.passedOl.style.Icon({ src: iconpath, //size: [liconsize, liconsize] scale: 0.5 })/*, stroke: new ol.style.Stroke({ color: (s_color ) ,width: 1+is301 + (map3.getZoom()-8) }) */}) } this.getIconStyle = function (myItem) { var icon_size = this.pop_info_adjust_size(myItem.type, this.gsMap.getZoom() - myItem.zoom_level) var icon_size_set = this.pop_info_adjust_size(myItem.type, this.gsMap.getZoom() - myItem.zoom_level) * icon_size / 100; var is = (icon_size > 0) ? icon_size : 9; var icon_index = myItem.icon_index; if (wpt_icon.anch_fraction_x[icon_index] >= 0) { var anch_x = wpt_icon.anch_fraction_x[icon_index]; var anch_y = wpt_icon.anch_fraction_y[icon_index]; } else { var anch_x = 0.5; var anch_y = 0.5; } if (wpt_icon.scale[icon_index] >= 0) { var scale = wpt_icon.scale[icon_index]; } else { if (icon_size_set > 0) { var scale = icon_size_set; } else { var scale = 0.3; } } scale = 0.2; var MarkerIcon = wpt_icon.url_s[icon_index]; var iconStyle = new this.passedOl.style.Style({ image: new this.passedOl.style.Icon(({ anchor: [anch_x, anch_y], anchorXUnits: 'fraction', anchorYUnits: 'fraction', //anchorYUnits: 'pixels', opacity: 0.95, src: MarkerIcon, scale: scale })) }); return iconStyle; } this.getItem = function (dat) { var type = dat.type * 1;//[3]*1; var icon = map_point_collection.get(type); var icon_index = icon.iconindex; var img_path = icon.path; return { image: dat.photo, name: dat.name, description: dat.description, link_en: dat.hlink_EN, type: dat.type * 1, dbid: dat.id, hlink: dat.hlink_GR, zoom_level: dat.zoom_level, width: dat.width * 1, height: dat.height * 1, owner: dat.owner, icon_index: icon_index, photoPath: img_path + dat.photo + '.jpg', thumb_path: img_path + 'thumbs/' + dat.photo + '.jpg', //tmpim:add_image(pop_info_tmp, fp.attributes.thumb_path,-230,3,-1,-1,null), path: (dat.type * 1 == 1) ? img_path + dat.photo + '.jpg' : "" } } this.pop_info_adjust_size = function (type, dl) { if (dl < 0) dl = 0; var new_size = 9 + (1.5 * dl); return new_size * 0.2; } this.refresh = function () { try { this.source.clear(); } catch (err) { } var zoom = this.gsMap.getZoom(); for (var i = 0; i < this.item.length; i++) { if (zoom >= this.item[i].zoom_level) this.source.addFeatures([this.item[i].feature]); } } this.getImagetItem = function (path, width, height) { /* PARADOXES - OLES OI EIKONES PIANOYN TO MEGISTO PLATOS - AN TO YPSOS EINEI MEGALYTERO TOY DIAUESIMOY H EIKONA KOVETAI KATV */ var minAvailableWidth = 568; //APO BOOTSTRAP, http://www.topoguide.gr/css/bootstrap.css, 5489, var maxAvailableHeight = browser.size()[1] - 250; var style = "", divStyle = ""; if (height > maxAvailableHeight) { var ratio = width / height; var renderWidth = maxAvailableHeight * ratio; var renderHeight = maxAvailableHeight; if (minAvailableWidth / ratio > maxAvailableHeight) divStyle += "height:" + renderHeight + "px;"; divStyle += "width:100%;"; style += "width:100%;"; } else { if (width < minAvailableWidth) style += "width:100%;"; } return '
'; } } var img_path = 'https://anadigit.fr/TopoMedia/map_points/img'; var map_point_collection = { 0: { iconindex: 14, path: img_path + "/Landscape/" }, 1: { iconindex: 17, path: img_path + "/Flora/" }, 2: { iconindex: 18, path: img_path + "/Animals/" }, 3: { iconindex: 19, path: img_path + "/Books/" }, 4: { iconindex: 20, path: img_path + "/Maps/" }, 5: { iconindex: 21, path: img_path + "/Apps/" }, 6: { iconindex: 22, path: img_path + "/Mushrooms/" }, 7: { iconindex: 23, path: img_path + "/Animals/" }, 8: { iconindex: 24, path: img_path + "/Animals/" }, 9: { iconindex: 25, path: img_path + "/Architecture/" }, 10: { iconindex: 26, path: img_path + "/Monuments/" }, 447: { iconindex: 38, path: img_path + "/Refuges/" }, 450: { iconindex: 41, path: img_path + "/Signposts/" }, 71: { iconindex: 36, path: img_path + "/Geology/" }, 72: { iconindex: 34, path: img_path + "/Geology/" }, 73: { iconindex: 35, path: img_path + "/Geology/" }, 204: { iconindex: 27, path: img_path + "/logos/" }, 206: { iconindex: 28, path: img_path + "/logos/" }, 200: { iconindex: 29, path: img_path + "/logos/" }, 201: { iconindex: 30, path: img_path + "/logos/" }, 205: { iconindex: 31, path: img_path + "/logos/" }, 202: { iconindex: 32, path: img_path + "/logos/" }, 203: { iconindex: 33, path: img_path + "/logos/" }, 301: { iconindex: 42, path: img_path + "/Beach/" }, 1001: { iconindex: 42, path: img_path + "/Water/" }, default: { iconindex: 28, path: "" } } map_point_collection.get = function (key) { return this[key] || this.default; } function wpt_icon_class() { this.count = 0; this.url = new Array(); this.url_s = new Array(); this.cx = new Array(); this.cy = new Array(); this.scx = new Array(); this.scy = new Array(); this.ix = new Array(); this.iy = new Array(); this.anch_fraction_x = new Array(); this.anch_fraction_y = new Array(); this.scale = new Array(); this.inwptwindow = new Array(); this.add = function (url, url_s, cx, cy, ix, iy, scx, scy, anch_fraction_x, anch_fraction_y, scale, inwptwindow) { this.count += 1; this.url[this.count] = "https://anadigit.fr/TopoMedia/" + url; this.url_s[this.count] = "https://anadigit.fr/TopoMedia/" + url_s; this.cx[this.count] = cx; this.cy[this.count] = cy; this.scx[this.count] = scx; //kentro simeiou gia xarti this.scy[this.count] = scy; this.ix[this.count] = ix; //offset sto icon list this.iy[this.count] = iy; this.anch_fraction_x[this.count] = anch_fraction_x; //offset sto icon list this.anch_fraction_y[this.count] = anch_fraction_y; this.scale[this.count] = scale; this.inwptwindow[this.count] = inwptwindow; } } var wpt_icon = new wpt_icon_class(); wpt_icon.add("Icons/WPT/pin_blue.png", "Icons/WPT/pin_blue_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/pin_green.png", "Icons/WPT/pin_green_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/pin_red.png", "Icons/WPT/pin_red_s.png", 28, 35, -15, 10, 1, 18, 0.0, 1.0, 1.0, true); wpt_icon.add("Icons/WPT/star_blue.png", "Icons/WPT/star_blue_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/star_green.png", "Icons/WPT/star_green_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/star_red.png", "Icons/WPT/star_red_s.png", 24, 24, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/lmk_red.png", "Icons/WPT/lmk_red_s.png", 32, 32, -3, 0, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/house_blue.png", "Icons/WPT/house_blue_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true);; wpt_icon.add("Icons/WPT/house_red.png", "Icons/WPT/house_red_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/monastery_red.png", "Icons/WPT/monastery_red_s.png", 32, 32, 5, 8, 11, 16, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/church_red.png", "Icons/WPT/church_red_s.png", 32, 32, 5, 8, 11, 16, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/anchor_blue.png", "Icons/WPT/anchor_blue_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); wpt_icon.add("Icons/WPT/anchor_red.png", "Icons/WPT/anchor_red_s.png", 32, 32, 5, 8, 11, 11, 0.5, 0.5, 1.0, true); //photo_points wpt_icon.add("Icons/WPT/landscape.png", "Icons/WPT/landscape.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("img/NAV_START.png", "img/NAV_START.png", 32 * 1.5, 42, -5, -48, 11, 11, 0.5, 1.0, 0.6, true); wpt_icon.add("img/NAV_END.png", "img/NAV_END.png", 32 * 1.5, 162, -5, -28, 11, 11, 0.5, 1.0, 0.6, true); wpt_icon.add("Icons/WPT/flora.png", "Icons/WPT/flora.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/bird.png", "Icons/WPT/bird.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/book.png", "Icons/WPT/book.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/map.png", "Icons/WPT/map.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/iphone.png", "Icons/WPT/iphone.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/mushroom.png", "Icons/WPT/mushroom.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/mammal.png", "Icons/WPT/mammal.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/turtle.png", "Icons/WPT/turtle.png", 30, 30, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/architecture.png", "Icons/WPT/architecture.png", 28, 28, 5, 8, 16, 16); wpt_icon.add("Icons/WPT/monument.png", "Icons/WPT/monument.png", 28, 28, 5, 8, 16, 16); // pop_info wpt_icon.add("pop_info/Icons/pop_info_1.png", "pop_info/Icons/pop_info_1.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 27 wpt_icon.add("pop_info/Icons/pop_info_2.png", "pop_info/Icons/pop_info_2.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 28 wpt_icon.add("pop_info/Icons/pop_info_3.png", "pop_info/Icons/pop_info_3.png", 32, 32, 5, 8, 32, 32); // iconindex= 29 wpt_icon.add("pop_info/Icons/pop_info_4.png", "pop_info/Icons/pop_info_4.png", 32, 32, 5, 8, 32, 32, 0.5, 1); // iconindex= 30 wpt_icon.add("pop_info/Icons/pop_info_5.png", "pop_info/Icons/pop_info_5.png", 32, 32, 5, 8, 32, 32); // iconindex= 31 wpt_icon.add("pop_info/Icons/pop_info_6.png", "pop_info/Icons/pop_info_6.png", 32, 32, 5, 8, 32, 32); // iconindex= 32 wpt_icon.add("pop_info/Icons/pop_info_7.png", "pop_info/Icons/pop_info_7.png", 32, 32, 5, 8, 32, 32); // iconindex= 33 wpt_icon.add("pop_info/Icons/pop_info_101.png", "pop_info/Icons/pop_info_101.png", 32, 32, 5, 8, 32, 32, 0.5, 0.5); // iconindex= 34 wpt_icon.add("pop_info/Icons/pop_info_102.png", "pop_info/Icons/pop_info_102.png", 32, 32, 5, 8, 32, 32); // iconindex= 35 wpt_icon.add("pop_info/Icons/pop_info_103.png", "pop_info/Icons/pop_info_103.png", 32, 32, 5, 8, 32, 32); // iconindex= 36 wpt_icon.add("Icons/WPT/POI_446_icon.png", "Icons/WPT/POI_446_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 37 wpt_icon.add("Icons/WPT/POI_447_icon.png", "Icons/WPT/POI_447_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 38 wpt_icon.add("Icons/WPT/POI_448_icon.png", "Icons/WPT/POI_448_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 39 wpt_icon.add("Icons/WPT/POI_449_icon.png", "Icons/WPT/POI_449_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 40 wpt_icon.add("Icons/WPT/POI_450_icon.png", "Icons/WPT/POI_450_icon.png", 32, 32, 5, 8, 32, 32); // iconindex= 41 wpt_icon.add("Icons/WPT/Fountain_blue.png", "Icons/WPT/Fountain_blue.png", 32, 32, 5, 8, 32, 32); // iconindex= 42 console.log('poi signature up to date');var poiCollection_kalymnos = new getPoiCollection("kalymnos",[{"name":"ALTERNET-Greece
Hotel Philoxenia","owner":"AnaDigit","x":26.941198436517,"y":37.003969304959,"photo":"Philoxenia_1","type":2001,"zoom_level":15,"id":3754,"hlink_GR":"http:\/\/www.philoxenia-kalymnos.com","hlink_EN":"http:\/\/www.philoxenia-kalymnos.com","description":"","height":400,"width":800},{"name":"KALYMNOS
The Castle","owner":"AnaDigit","x":26.960896579522,"y":36.968240996853,"photo":"DSC071812","type":10,"zoom_level":14,"id":3755,"hlink_GR":"","hlink_EN":"","description":"","height":823,"width":1600},{"name":"KALYMNOS
The church","owner":"AnaDigit","x":26.940404502648,"y":36.957971039648,"photo":"DSC071821","type":9,"zoom_level":15,"id":3756,"hlink_GR":"","hlink_EN":"","description":"","height":650,"width":1200},{"name":"KALYMNOS
The church of Aghios Konstantinos near Arghos","owner":"AnaDigit","x":26.937320119052,"y":36.950894289602,"photo":"DSC071841","type":9,"zoom_level":15,"id":3757,"hlink_GR":"","hlink_EN":"","description":"","height":998,"width":1600},{"name":"KALYMNOS
Chorio and the Profitis Ilias massif","owner":"AnaDigit","x":26.957432013381,"y":36.966018473407,"photo":"DSC071891","type":0,"zoom_level":14,"id":3758,"hlink_GR":"","hlink_EN":"","description":"","height":700,"width":1600},{"name":"KALYMNOS
The church","owner":"AnaDigit","x":26.934309775119,"y":36.937523522678,"photo":"DSC072041","type":9,"zoom_level":15,"id":3759,"hlink_GR":"","hlink_EN":"","description":"","height":1008,"width":1200},{"name":"KALYMNOS
Aghios Andreas","owner":"AnaDigit","x":26.939373,"y":36.93598,"photo":"DSC072101","type":9,"zoom_level":14,"id":3760,"hlink_GR":"","hlink_EN":"","description":"","height":754,"width":1200},{"name":"KALYMNOS
The Roukouni ravine","owner":"AnaDigit","x":26.942673,"y":36.990548,"photo":"DSC072181","type":0,"zoom_level":15,"id":3761,"hlink_GR":"","hlink_EN":"","description":"","height":1200,"width":900},{"name":"KALYMNOS
Thrashing floor","owner":"AnaDigit","x":26.945068,"y":36.999485,"photo":"DSC072191","type":0,"zoom_level":15,"id":3762,"hlink_GR":"","hlink_EN":"","description":"","height":806,"width":1200},{"name":"KALYMNOS
The Kasteli fortification","owner":"AnaDigit","x":26.938607,"y":37.016832,"photo":"DSC072241","type":10,"zoom_level":14,"id":3763,"hlink_GR":"","hlink_EN":"","description":"","height":1050,"width":1400},{"name":"KALYMNOS
The fortification on Lagounara","owner":"AnaDigit","x":26.984343548949,"y":37.001172361644,"photo":"DSC072262","type":10,"zoom_level":15,"id":3764,"hlink_GR":"","hlink_EN":"","description":"","height":639,"width":1200},{"name":"KALYMNOS
Olive groove and well near Arghinonta","owner":"AnaDigit","x":26.974078,"y":37.01128,"photo":"DSC072331","type":0,"zoom_level":15,"id":3765,"hlink_GR":"","hlink_EN":"","description":"","height":1000,"width":641},{"name":"KALYMNOS
Age-old olive grooves near Arghinonta","owner":"AnaDigit","x":26.98092,"y":37.008133,"photo":"DSC072351","type":0,"zoom_level":15,"id":3766,"hlink_GR":"","hlink_EN":"","description":"","height":900,"width":1200},{"name":"KALYMNOS
Ruined hut","owner":"AnaDigit","x":26.99162,"y":37.003625,"photo":"DSC072361","type":0,"zoom_level":15,"id":3767,"hlink_GR":"","hlink_EN":"","description":"","height":738,"width":1200},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.988128259277,"y":37.011239010338,"photo":"DSC072371","type":450,"zoom_level":16,"id":3768,"hlink_GR":"","hlink_EN":"","description":"","height":703,"width":1000},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.987570359802,"y":37.011718769938,"photo":"DSC072381","type":450,"zoom_level":17,"id":3769,"hlink_GR":"","hlink_EN":"","description":"","height":1000,"width":782},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.985725,"y":37.01482,"photo":"DSC072431","type":450,"zoom_level":17,"id":3770,"hlink_GR":"","hlink_EN":"","description":"","height":747,"width":1000},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.985068,"y":37.015096,"photo":"DSC072441","type":450,"zoom_level":17,"id":3771,"hlink_GR":"","hlink_EN":"","description":"","height":1000,"width":750},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.983173,"y":37.015558,"photo":"DSC072451","type":450,"zoom_level":17,"id":3772,"hlink_GR":"","hlink_EN":"","description":"","height":1000,"width":750},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.98021,"y":37.016745,"photo":"DSC072461","type":450,"zoom_level":17,"id":3773,"hlink_GR":"","hlink_EN":"","description":"","height":754,"width":1000},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.977971,"y":37.018631,"photo":"DSC072481","type":450,"zoom_level":17,"id":3774,"hlink_GR":"","hlink_EN":"","description":"","height":1000,"width":899},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.974103,"y":37.02287,"photo":"DSC072491","type":450,"zoom_level":16,"id":3775,"hlink_GR":"","hlink_EN":"","description":"","height":1000,"width":750},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.971825,"y":37.025618,"photo":"DSC072501","type":450,"zoom_level":17,"id":3776,"hlink_GR":"","hlink_EN":"","description":"","height":790,"width":1000},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.968941,"y":37.028606,"photo":"DSC072531","type":450,"zoom_level":17,"id":3777,"hlink_GR":"","hlink_EN":"","description":"","height":821,"width":1000},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.967478,"y":37.028601,"photo":"DSC072541","type":450,"zoom_level":17,"id":3778,"hlink_GR":"","hlink_EN":"","description":"","height":869,"width":1200},{"name":"KALYMNOS
The trail to Panaghia Ghalatiani","owner":"AnaDigit","x":26.967265,"y":37.028733,"photo":"DSC072561","type":450,"zoom_level":17,"id":3779,"hlink_GR":"","hlink_EN":"","description":"","height":1200,"width":900},{"name":"KALYMNOS
The chapel of Panaghia Ghalatiani","owner":"AnaDigit","x":26.968838,"y":37.029668,"photo":"DSC072651","type":9,"zoom_level":13,"id":3780,"hlink_GR":"","hlink_EN":"","description":"","height":1050,"width":1400},{"name":"KALYMNOS
Water collection near Panaghia Ghalatiani","owner":"AnaDigit","x":26.96704,"y":37.029736,"photo":"DSC072691","type":9,"zoom_level":17,"id":3781,"hlink_GR":"","hlink_EN":"","description":"","height":671,"width":1200},{"name":"KALYMNOS
The trail from Panaghia Ghalatiani to Skalia","owner":"AnaDigit","x":26.965791,"y":37.031428,"photo":"DSC072701","type":0,"zoom_level":14,"id":3782,"hlink_GR":"","hlink_EN":"","description":"","height":1200,"width":1600},{"name":"KALYMNOS
The trail from Panaghia Ghalatiani to Skalia","owner":"AnaDigit","x":26.963673,"y":37.03382,"photo":"DSC072721","type":0,"zoom_level":16,"id":3783,"hlink_GR":"","hlink_EN":"","description":"","height":900,"width":1200},{"name":"KALYMNOS
The trail from Panaghia Ghalatiani to Skalia","owner":"AnaDigit","x":26.962186,"y":37.034106,"photo":"DSC072731","type":0,"zoom_level":16,"id":3784,"hlink_GR":"","hlink_EN":"","description":"","height":900,"width":1200},{"name":"KALYMNOS
The trail from Panaghia Ghalatiani to Skalia","owner":"AnaDigit","x":26.962775,"y":37.034546,"photo":"DSC072741","type":0,"zoom_level":16,"id":3785,"hlink_GR":"","hlink_EN":"","description":"","height":900,"width":1200},{"name":"KALYMNOS
A large thrashing floor","owner":"AnaDigit","x":26.987875,"y":37.013143,"photo":"DSC072391","type":9,"zoom_level":17,"id":3786,"hlink_GR":"","hlink_EN":"","description":"","height":640,"width":1000},{"name":"KALYMNOS
An old farmhouse","owner":"AnaDigit","x":26.98739,"y":37.013515,"photo":"DSC072401","type":9,"zoom_level":15,"id":3787,"hlink_GR":"","hlink_EN":"","description":"","height":664,"width":1400},{"name":"KALYMNOS
Aghia Marina","owner":"AnaDigit","x":26.971570968629,"y":36.956745549159,"photo":"DSC073301","type":9,"zoom_level":16,"id":3788,"hlink_GR":"","hlink_EN":"","description":"","height":1007,"width":1200}],{});function createAdventureListWidgetContext(){};console.log('sort type: ');function createAdventureListWidgetContext(){var divHere = (document.getElementById('pathListDivId'))?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('pathListDivId').innerHTML="
Kalymnos Trail
Chora-Profitis Ilias
Rina-Aghia Irini basilica-Kambi beach
Kamari-Lagounara
Lagounara-Panagia Ghalatiani
Stavros-Pyrgos Patelas-Eborios
Palionisos-Sikati beach
Eborios-Apitiki
Telendos-Aghios Konstandinos
Chora-Metochi
The Italian Way
Vlychadia-Pothia
Arghos-Vlychadia
Kantouni-Aghios Fotios
Metochis-Kastelas
Metochi-Stavri Pass-Pezontas beach
Stavri Pass-Panagia Kyra Psili
Metochi-Arghinontas
Pothia-Vlychada
Roman and byzantine Telendos
";}else{console.log('adventure list widget activated but div missing. Requested id: pathListDivId');};}; var overrideUserOptions = {lng:23,lat:38,zoom:7,ac:["kalymnos"],pc:["kalymnos"],url: 'https://m1.anadigit.fr/tms/1.0.0/ntn_combo_en/{z}/{x}/{-y}.png',showLogo: 0,showZoomTool: 0}; var overrideAfterLoad = function(map){ adventureCollection_kalymnos.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); }