(()=>{"use strict";var e,o={6317:(e,o,n)=>{var r=n(4804),t=n(9800),l=n(7761),i=n(9529),a=n(6424),c=n(5460),s=n(8456),d=n(7774),w=n(3969),u=n(5761),g=n(7908),Z=n(3797),m=n(4795),p=n(4949),f=n(4993),v=n(6818),b=n(196);const h=new g.Z({radius:5,fill:null,stroke:new d.Z({color:"red",width:1})}),y={Point:[new s.ZP({image:h})],LineString:[new s.ZP({stroke:new d.Z({color:"green",width:2})})],MultiLineString:[new s.ZP({stroke:new d.Z({color:"green",width:2})})],MultiPoint:[new s.ZP({image:h,text:new c.Z({text:"MP",stroke:new d.Z({color:"purple"})})})],MultiPolygon:[new s.ZP({stroke:new d.Z({color:"yellow",width:1}),fill:new w.Z({color:"rgba(255, 255, 0, 0.1)"})})],Polygon:[new s.ZP({stroke:new d.Z({color:"blue",width:3}),fill:new w.Z({color:"rgba(0, 0, 255, 0.1)"})})],GeometryCollection:[new s.ZP({stroke:new d.Z({color:"magenta",width:2}),fill:new w.Z({color:"magenta"}),image:new g.Z({radius:10,fill:null,stroke:new d.Z({color:"magenta"})})})],Circle:[new s.ZP({stroke:new d.Z({color:"red",width:2}),fill:new w.Z({color:"rgba(255,0,0,0.2)"})})]},P=new Z.Z({format:new m.Z,url:"data/geojson/ground_vector_data.geojson"}),k=new p.Z({source:P,style:function(e,o){const n=e.getGeometry();return n?y[n.getType()]:y.Point}});k.getSource().addFeature(new f.Z({geometry:new v.Z([16880133.570042003,-3565441.544459192],200)}));const O=new u.Z({layers:[new a.Z({source:new i.Z}),k],target:"map2d",controls:(0,l.c)({attributionOptions:{collapsible:!1}}),view:new t.ZP({center:[16880670.33392873,-3565966.2275828626],zoom:15})});Cesium.Ion.defaultAccessToken=b.x,k.set("altitudeMode","clampToGround");const x=new r.Z({map:O,target:"map3d"}),C=x.getCesiumScene();Cesium.createWorldTerrainAsync().then((e=>C.terrainProvider=e)),x.setEnabled(!0),window.toggleClampToGround=function(){let e;k.get("altitudeMode")||(e="clampToGround"),k.set("altitudeMode",e),O.removeLayer(k),O.addLayer(k)},window.ol3d=x,window.scene=C,document.getElementById("enable").addEventListener("click",(()=>x.setEnabled(!x.getEnabled()))),x.enableAutoRenderLoop()}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var l=n[e]={exports:{}};return o[e].call(l.exports,l,l.exports,r),l.exports}r.m=o,e=[],r.O=(o,n,t,l)=>{if(!n){var i=1/0;for(d=0;d<e.length;d++){for(var[n,t,l]=e[d],a=!0,c=0;c<n.length;c++)(!1&l||i>=l)&&Object.keys(r.O).every((e=>r.O[e](n[c])))?n.splice(c--,1):(a=!1,l<i&&(i=l));if(a){e.splice(d--,1);var s=t();void 0!==s&&(o=s)}}return o}l=l||0;for(var d=e.length;d>0&&e[d-1][2]>l;d--)e[d]=e[d-1];e[d]=[n,t,l]},r.d=(e,o)=>{for(var n in o)r.o(o,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r.j=632,(()=>{var e={632:0};r.O.j=o=>0===e[o];var o=(o,n)=>{var t,l,[i,a,c]=n,s=0;if(i.some((o=>0!==e[o]))){for(t in a)r.o(a,t)&&(r.m[t]=a[t]);if(c)var d=c(r)}for(o&&o(n);s<i.length;s++)l=i[s],r.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return r.O(d)},n=self.webpackChunkol_cesium=self.webpackChunkol_cesium||[];n.forEach(o.bind(null,0)),n.push=o.bind(null,n.push.bind(n))})();var t=r.O(void 0,[351],(()=>r(6317)));t=r.O(t)})();
//# sourceMappingURL=groundvectors.33d8ecb34d489355c8e1.js.map