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
745 B
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[89],{318:function(e,n,a){"use strict";a.r(n);var t=a(66),r=a(3),o=a(25),w=a(2),c=a(11),i=a(15),s=a(76),u=a(9),p=a(10),g=a(5),h=a(19),d=new g.a({source:new u.b}),f=new p.a,m=new h.a({source:f,style:function(e){var n=e.getGeometry(),a=[new c.c({stroke:new i.a({color:"#ffcc33",width:2})})];return n.forEachSegment((function(e,n){var t=n[0]-e[0],r=n[1]-e[1],w=Math.atan2(r,t);a.push(new c.c({geometry:new o.a(n),image:new s.a({src:"data/arrow.png",anchor:[.75,.5],rotateWithView:!0,rotation:-w})}))})),a}});new r.a({layers:[d,m],target:"map",view:new w.a({center:[-11e6,46e5],zoom:4})}).addInteraction(new t.c({source:f,type:"LineString"}))}},[[318,0]]]);
//# sourceMappingURL=line-arrows.js.map