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
806 B
JavaScript
2 lines
806 B
JavaScript
2 weeks ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{270:function(e,t,s){"use strict";s.r(t);var n=s(3),o=s(9),a=s(5),c=s(2);class i 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.a({target:s,layers:[new a.a({source:new o.b})],view:new c.a({center:[0,0],zoom:2})})}}customElements.define("ol-map",i)}},[[270,0]]]);
|
||
|
//# sourceMappingURL=es2015-custom-element.js.map
|