You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
869 B
JavaScript

2 weeks ago
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2439],{8569:function(e,t,s){var n=s(41376),o=s(79847),c=s(42010),h=s(54354);class a extends HTMLElement{constructor(){super(),this.shadow=this.attachShadow({mode:"open"});const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href","css/ol.css"),this.shadow.appendChild(e);const t=document.createElement("style");t.innerText="\n :host {\n display: block;\n }\n ",this.shadow.appendChild(t);const s=document.createElement("div");s.style.width="100%",s.style.height="100%",this.shadow.appendChild(s),this.map=new n.Z({target:s,layers:[new c.Z({source:new o.Z})],view:new h.ZP({center:[0,0],zoom:2})})}}customElements.define("ol-map",a)}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(8569)}]);
//# sourceMappingURL=es2015-custom-element.js.map