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.2 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4506],{9541:function(e,t,a){var r,n=a(41376),o=a(52139),i=a(54354),s=a(31998),u={exposure:0,contrast:0,saturation:0},p=new o.Z({style:{exposure:["var","exposure"],contrast:["var","contrast"],saturation:["var","saturation"],variables:u},source:new s.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/tiles/satellite/{z}/{x}/{y}.jpg?key=get_your_own_D6rA4zTHduk6KOKTXzGB",maxZoom:20})}),c=(new n.Z({target:"map",layers:[p],view:new i.ZP({center:[0,0],zoom:0})}),function(){var e=r,t=document.getElementById(e),a=u[e];t.value=a.toString(),document.getElementById(e+"-value").innerText=a.toFixed(2);var n=function(t){var a=parseFloat(t.target.value);document.getElementById(e+"-value").innerText=a.toFixed(2);var r={};r[e]=a,p.updateStyleVariables(r)};t.addEventListener("input",n),t.addEventListener("change",n)});for(r in u)c()}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(9541)}]);
//# sourceMappingURL=webgl-tile-style.js.map