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
814 B
JavaScript
2 lines
814 B
JavaScript
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7424],{40118:function(e,t,n){var o=n(41376),r=n(7145),c=n(79847),a=n(42010),s=n(54354),i=n(92932),u=n(45830),m=new r.Z({coordinateFormat:(0,i.Fj)(4),projection:"EPSG:4326",className:"custom-mouse-position",target:document.getElementById("mouse-position")});new o.Z({controls:(0,u.ce)().extend([m]),layers:[new a.Z({source:new c.Z})],target:"map",view:new s.ZP({center:[0,0],zoom:2})});document.getElementById("projection").addEventListener("change",(function(e){m.setProjection(e.target.value)})),document.getElementById("precision").addEventListener("change",(function(e){var t=(0,i.Fj)(e.target.valueAsNumber);m.setCoordinateFormat(t)}))}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(40118)}]);
|
|
//# sourceMappingURL=mouse-position.js.map
|