Convert GeoJson text to KML by using below GitHub Library.https://github.com/mapbox/tokml
Demo Application Steps:
Integration Steps: