!function(e){function t(t){for(var o,l,i=t[0],u=t[1],c=t[2],s=0,w=[];s<i.length;s++)l=i[s],Object.prototype.hasOwnProperty.call(r,l)&&r[l]&&w.push(r[l][0]),r[l]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);for(d&&d(t);w.length;)w.shift()();return a.push.apply(a,c||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],o=!0,i=1;i<n.length;i++){var u=n[i];0!==r[u]&&(o=!1)}o&&(a.splice(t--,1),e=l(l.s=n[0]))}return e}var o={},r={5:0},a=[];function l(t){if(o[t])return o[t].exports;var n=o[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,l),n.l=!0,n.exports}l.m=e,l.c=o,l.d=function(e,t,n){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(l.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)l.d(n,o,function(t){return e[t]}.bind(null,o));return n},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="";var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=t,i=i.slice();for(var c=0;c<i.length;c++)t(i[c]);var d=u;a.push([191,0]),n()}({191:function(e,t,n){e.exports=n(192)},192:function(e,t,n){"use strict";n.r(t);var o=n(25),r=n(21),a=n(38),l=n(24),i=n(17),u=n(78),c=n(19),d=n(22),s=n(31),w=n(26),p=n(85),f=n(43),b=n(109),g=n(55),y=n(32),m=n(129);const h=new p.a({radius:5,fill:null,stroke:new d.a({color:"red",width:1})}),v={Point:[new c.b({image:h})],LineString:[new c.b({stroke:new d.a({color:"green",width:2})})],MultiLineString:[new c.b({stroke:new d.a({color:"green",width:2})})],MultiPoint:[new c.b({image:h,text:new u.a({text:"MP",stroke:new d.a({color:"purple"})})})],MultiPolygon:[new c.b({stroke:new d.a({color:"yellow",width:1}),fill:new s.a({color:"rgba(255, 255, 0, 0.1)"})})],Polygon:[new c.b({stroke:new d.a({color:"blue",width:3}),fill:new s.a({color:"rgba(0, 0, 255, 0.1)"})})],GeometryCollection:[new c.b({stroke:new d.a({color:"magenta",width:2}),fill:new s.a({color:"magenta"}),image:new p.a({radius:10,fill:null,stroke:new d.a({color:"magenta"})})})],Circle:[new c.b({stroke:new d.a({color:"red",width:2}),fill:new s.a({color:"rgba(255,0,0,0.2)"})})]},M=new f.a({format:new b.a,url:"data/geojson/ground_vector_data.geojson"}),O=new g.a({source:M,style:function(e,t){const n=e.getGeometry();return n?v[n.getType()]:v.Point}});O.getSource().addFeature(new y.a({geometry:new m.a([16880133.570042003,-3565441.544459192],200)}));const k=new w.a({layers:[new i.a({source:new l.b}),O],target:"map2d",controls:Object(a.a)({attributionOptions:{collapsible:!1}}),view:new r.a({center:[16880670.33392873,-3565966.2275828626],zoom:15})});Cesium.Ion.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0MzAyNzUyYi0zY2QxLTQxZDItODRkOS1hNTA3MDU3ZTBiMDUiLCJpZCI6MjU0MSwiaWF0IjoxNTMzNjI1MTYwfQ.oHn1SUWJa12esu7XUUtEoc1BbEbuZpRocLetw6M6_AA",O.set("altitudeMode","clampToGround");const j=new o.a({map:k,target:"map3d"}),P=j.getCesiumScene();P.terrainProvider=Cesium.createWorldTerrain(),j.setEnabled(!0),window.toggleClampToGround=function(){let e;O.get("altitudeMode")||(e="clampToGround"),O.set("altitudeMode",e),k.removeLayer(O),k.addLayer(O)},window.ol3d=j,window.scene=P,document.getElementById("enable").addEventListener("click",()=>j.setEnabled(!j.getEnabled())),j.enableAutoRenderLoop()}});
//# sourceMappingURL=groundvectors.8faae8903111451a74bb.js.map