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