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
2 lines
1.1 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{244:function(e,t,o){"use strict";o.r(t);var a,r=o(30),l=o(3),n=o(19),d=o(10),i=o(2),w=o(57),c=o(21),p=o(11),g=o(15),s=o(4),h=document.createElement("canvas"),u=h.getContext("2d"),f=w.a,S=((a=u.createLinearGradient(0,0,512*f,0)).addColorStop(0,"red"),a.addColorStop(1/6,"orange"),a.addColorStop(2/6,"yellow"),a.addColorStop(.5,"green"),a.addColorStop(4/6,"aqua"),a.addColorStop(5/6,"blue"),a.addColorStop(1,"purple"),a),C=(h.width=8*f,h.height=8*f,u.fillStyle="white",u.fillRect(0,0,h.width,h.height),u.fillStyle="rgba(102, 0, 102, 0.5)",u.beginPath(),u.arc(4*f,4*f,3*f,0,2*Math.PI),u.fill(),u.fillStyle="rgb(55, 0, 170)",u.beginPath(),u.arc(4*f,4*f,1.5*f,0,2*Math.PI),u.fill(),u.createPattern(h,"repeat")),b=new c.a,y=new p.c({fill:b,stroke:new g.a({color:"#333",width:2})}),m=new n.a({source:new d.a({url:"data/geojson/countries.geojson",format:new r.a}),style:function(e){var t=e.getId();return b.setColor(t>"J"?S:C),y}});new l.a({layers:[m],target:"map",view:new i.a({center:Object(s.g)([16,48]),zoom:3})})}},[[244,0]]]);
|
|
//# sourceMappingURL=canvas-gradient-pattern.js.map
|