GeoJson转KML`` npm install --save tokml import otkml from 'tokml' //在要使用的地方加入 //准备你的geojson { "features": [ { "geometry": { "coordinates": [ [ [ 119.101111, 19.119722 ], [ 119.129167, 19.568611 ], [ 118.080556, 19.624167 ]