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
1.1 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7042],{26384:function(e,t,n){var o=n(41376),r=n(70492),i=n(42010),p=n(54354),a=n(31998),c=n(12810),u=n(92932),s=document.getElementById("popup"),l=document.getElementById("popup-content"),m=document.getElementById("popup-closer"),w=new r.Z({element:s,autoPan:{animation:{duration:250}}});m.onclick=function(){return w.setPosition(void 0),m.blur(),!1};new o.Z({layers:[new i.Z({source:new a.Z({attributions:'<a href="https://www.maptiler.com/copyright/" target="_blank">&copy; MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap contributors</a>',url:"https://api.maptiler.com/maps/streets/{z}/{x}/{y}.png?key=get_your_own_D6rA4zTHduk6KOKTXzGB",tileSize:512})})],overlays:[w],target:"map",view:new p.ZP({center:[0,0],zoom:2})}).on("singleclick",(function(e){var t=e.coordinate,n=(0,u.V7)((0,c.bU)(t));l.innerHTML="<p>You clicked here:</p><code>"+n+"</code>",w.setPosition(t)}))}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(26384)}]);
//# sourceMappingURL=popup.js.map