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
896 B
JavaScript
2 lines
896 B
JavaScript
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[566],{35408:function(e,n,t){var r=t(91118),o=t(48189),a=t(41376),s=t(79847),u=t(95783),c=t(54354),Z=t(75469),f=t(5265),i=t(85528),w=t(3077),d=t(88460),h=t(91988),m=t(41372),v=t(42010),g=t(12810),j=new u.Z;fetch("data/geojson/roads-seoul.geojson").then((function(e){return e.json()})).then((function(e){var n=(new r.Z).readFeatures(e,{featureProjection:"EPSG:3857"}),t=new jsts.io.OL3Parser;t.inject(Z.Z,f.Z,o.Z,i.ZP,w.Z,d.Z,h.Z);for(var a=0;a<n.length;a++){var s=n[a],u=t.read(s.getGeometry()).buffer(40);s.setGeometry(t.write(u))}j.addFeatures(n)}));var l=new m.Z({source:j}),P=new v.Z({source:new s.Z});new a.Z({layers:[P,l],target:document.getElementById("map"),view:new c.ZP({center:(0,g.mi)([126.979293,37.528787]),zoom:15})})}},function(e){var n=function(n){return e(e.s=n)};n(9877),n(35408)}]);
|
|
//# sourceMappingURL=jsts.js.map
|