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
2 lines
1.2 KiB
JavaScript
2 weeks ago
|
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8869],{28136:function(e,t,o){var r=o(91118),n=o(41376),a=o(3077),y=o(41372),s=o(95783),u=o(54354),c=o(69039),i=o(720),l=o(77975),p=o(77138),w=[new c.ZP({stroke:new i.Z({color:"blue",width:3}),fill:new l.Z({color:"rgba(0, 0, 255, 0.1)"})}),new c.ZP({image:new p.Z({radius:5,fill:new l.Z({color:"orange"})}),geometry:function(e){var t=e.getGeometry().getCoordinates()[0];return new a.Z(t)}})],g=new s.Z({features:(new r.Z).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]]]}}]})}),Z=new y.Z({source:g,style:w});new n.Z({layers:[Z],target:"map",view:new u.ZP({center:[0,3e6],zoom:2})})}},function(e){var t=function(t){return e(e.s=t)};t(9877),t(28136)}]);
|
||
|
//# sourceMappingURL=polygon-styles.js.map
|