(()=>{"use strict";var e,t={6446:(e,t,n)=>{var r=n(4804),o=n(9800),a=n(7761),l=n(9529),c=n(6424),i=n(8456),d=n(4993),s=n(7774),u=n(8070),w=n(3969),m=n(5761),p=n(3797),v=n(1169),g=n(4949),f=n(196);const h=new p.Z({features:[]}),b=new g.Z({source:h,altitudeMode:"clampToGround"}),y=new Image;y.onload=()=>{const e=document.createElement("canvas"),t=e.getContext("2d");e.width=32,e.height=48,t.drawImage(y,0,0,e.width,e.height);const n=document.createElement("canvas").getContext("2d"),r=new d.Z({geometry:new v.ZP([[[-3e6,0],[-3e6,2e6],[-1e6,2e6],[-1e6,0],[-3e6,0]]])});r.setStyle(new i.ZP({stroke:new s.Z({color:"green",lineDash:[4],width:3}),fill:new w.Z({color:n.createPattern(e,"repeat")})})),h.addFeature(r)},y.src="data/icon.png";const O=new m.Z({interactions:(0,u.c)(),layers:[new c.Z({source:new l.Z}),b],target:"map2d",controls:(0,a.c)({attributionOptions:{collapsible:!1}}),view:new o.ZP({center:[-2e6,1e6],zoom:4})});Cesium.Ion.defaultAccessToken=f.x;const Z=new r.Z({map:O,target:"map3d"}),k=Z.getCesiumScene();Cesium.createWorldTerrainAsync().then((e=>k.terrainProvider=e)),Z.setEnabled(!0),window.ol3d=Z,window.scene=k,document.getElementById("enable").addEventListener("click",(()=>Z.setEnabled(!Z.getEnabled()))),Z.enableAutoRenderLoop(),window.toggleClampToGround=function(){let e;b.get("altitudeMode")||(e="clampToGround"),b.set("altitudeMode",e),O.removeLayer(b),O.addLayer(b)}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e].call(a.exports,a,a.exports,r),a.exports}r.m=t,e=[],r.O=(t,n,o,a)=>{if(!n){var l=1/0;for(s=0;s<e.length;s++){for(var[n,o,a]=e[s],c=!0,i=0;i<n.length;i++)(!1&a||l>=a)&&Object.keys(r.O).every((e=>r.O[e](n[i])))?n.splice(i--,1):(c=!1,a<l&&(l=a));if(c){e.splice(s--,1);var d=o();void 0!==d&&(t=d)}}return t}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[n,o,a]},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.j=667,(()=>{var e={667:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,a,[l,c,i]=n,d=0;if(l.some((t=>0!==e[t]))){for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(i)var s=i(r)}for(t&&t(n);d<l.length;d++)a=l[d],r.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return r.O(s)},n=self.webpackChunkol_cesium=self.webpackChunkol_cesium||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var o=r.O(void 0,[351],(()=>r(6446)));o=r.O(o)})();
//# sourceMappingURL=fillstyle.a41778c0e92728e53d20.js.map