!function(e){function t(t){for(var r,u,c=t[0],a=t[1],s=t[2],p=0,f=[];p<c.length;p++)u=c[p],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&f.push(o[u][0]),o[u]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(l&&l(t);f.length;)f.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,c=1;c<n.length;c++){var a=n[c];0!==o[a]&&(r=!1)}r&&(i.splice(t--,1),e=u(u.s=n[0]))}return e}var r={},o={13:0},i=[];function u(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=e,u.c=r,u.d=function(e,t,n){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(u.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)u.d(n,r,function(t){return e[t]}.bind(null,r));return n},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="";var c=window.webpackJsonp=window.webpackJsonp||[],a=c.push.bind(c);c.push=t,c=c.slice();for(var s=0;s<c.length;s++)t(c[s]);var l=a;i.push([206,0]),n()}({206:function(e,t,n){e.exports=n(207)},207:function(e,t,n){"use strict";n.r(t),n.d(t,"mvtLayer",(function(){return d}));var r=n(25),o=n(26),i=(n(160),n(17)),u=n(2),c=n(21),a=n(132),s=n(117),l=n(155),p=n(22),f=n(19),b=n(24);Cesium.Ion.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0MzAyNzUyYi0zY2QxLTQxZDItODRkOS1hNTA3MDU3ZTBiMDUiLCJpZCI6MjU0MSwiaWF0IjoxNTMzNjI1MTYwfQ.oHn1SUWJa12esu7XUUtEoc1BbEbuZpRocLetw6M6_AA";Object(u.k)("EPSG:3857");const d=function(e,t){const n=new l.a({url:e,attributions:"Schweizmobil",format:new a.a}),r=[new f.b({stroke:new p.a({color:"purple",width:4})})];return n.set("olcs_skip",!1),n.set("olcs_minimumLevel",6),new s.a({source:n,extent:[572215,5684416,1277662,6145307],opacity:.6,style:r})}("https://map.dev.schweizmobil-hosting.ch/api/4/mvt_routes/3857/{z}/{x}/{y}.pbf?olcs");const w=new o.a({layers:[function(){const e=new b.b;return new i.a({source:e})}(),d],target:"map",view:new c.a}),y=new r.a({map:w});y.getCesiumScene(),y.setEnabled(!1);const h=[572215,5684416,1277662,6145307];w.getView().fit([h[0]- -5e4,h[1]- -5e4,h[2]+-5e4,h[3]+-5e4]),document.getElementById("enable").addEventListener("click",()=>y.setEnabled(!y.getEnabled()))}});
//# sourceMappingURL=mvt.2599ac3ecffe9f75b3d0.js.map