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

(window.webpackJsonp=window.webpackJsonp||[]).push([[116],{345:function(e,o,t){"use strict";t.r(o);var r=t(30),a=t(3),n=t(73),y=t(19),s=t(10),w=t(2),c=t(11),i=t(15),p=t(21),l=t(48),u=[new c.c({stroke:new i.a({color:"blue",width:3}),fill:new p.a({color:"rgba(0, 0, 255, 0.1)"})}),new c.c({image:new l.a({radius:5,fill:new p.a({color:"orange"})}),geometry:function(e){var o=e.getGeometry().getCoordinates()[0];return new n.a(o)}})],g=new s.a({features:(new r.a).readFeatures({type:"FeatureCollection",crs:{type:"name",properties:{name:"EPSG:3857"}},features:[{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-5e6,6e6],[-5e6,8e6],[-3e6,8e6],[-3e6,6e6],[-5e6,6e6]]]}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-2e6,6e6],[-2e6,8e6],[0,8e6],[0,6e6],[-2e6,6e6]]]}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[1e6,6e6],[1e6,8e6],[3e6,8e6],[3e6,6e6],[1e6,6e6]]]}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-2e6,-1e6],[-1e6,1e6],[0,-1e6],[-2e6,-1e6]]]}}]})}),m=new y.a({source:g,style:u});new a.a({layers:[m],target:"map",view:new w.a({center:[0,3e6],zoom:2})})}},[[345,0]]]);
//# sourceMappingURL=polygon-styles.js.map