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

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5861],{49398:function(r,t,e){var n=e(12739),a=e(41376),o=e(54354),l=e(64132),u=e(79847),i=e(95783),c=e(69039),f=e(42010),s=e(41372);function y(r,t){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var e=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==e)return;var n,a,o=[],l=!0,u=!1;try{for(e=e.call(r);!(l=(n=e.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(r){u=!0,a=r}finally{try{l||null==e.return||e.return()}finally{if(u)throw a}}return o}(r,t)||function(r,t){if(!r)return;if("string"==typeof r)return b(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return b(r,t)}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e<t;e++)n[e]=r[e];return n}var d=new n.Z({geometry:new l.Z([12127398.797692968,4063894.123105166],50)});d.setStyle(new c.ZP({renderer:function(r,t){var e=y(r,2),n=y(e[0],2),a=n[0],o=n[1],l=y(e[1],2),u=l[0],i=l[1],c=t.context,f=u-a,s=i-o,b=Math.sqrt(f*f+s*s),d=1.4*b,h=c.createRadialGradient(a,o,0,a,o,d);h.addColorStop(0,"rgba(255,0,0,0)"),h.addColorStop(.6,"rgba(255,0,0,0.2)"),h.addColorStop(1,"rgba(255,0,0,0.8)"),c.beginPath(),c.arc(a,o,b,0,2*Math.PI,!0),c.fillStyle=h,c.fill(),c.arc(a,o,b,0,2*Math.PI,!0),c.strokeStyle="rgba(255,0,0,1)",c.stroke()}})),new a.Z({layers:[new f.Z({source:new u.Z,visible:!0}),new s.Z({source:new i.Z({features:[d]})})],target:"map",view:new o.ZP({center:[12127398.797692968,4063894.123105166],zoom:19})})}},function(r){var t=function(t){return r(r.s=t)};t(9877),t(49398)}]);
//# sourceMappingURL=custom-circle-render.js.map