Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@placemarkio/tokml

tmcw62.2kMIT0.3.7TypeScript support: included

Convert GeoJSON to KML

kml, geojson

readme

tokml

Convert GeoJSON to KML.

Install

This package is @placemarkio/tokml

📕 API Documentation

Notes:

  • This method does not validate the GeoJSON inputs. Invalid FeatureCollections may produce an exception.
  • GeoJSON properties can have any kind of value, including objects and arrays. KML properties are strings. Any non-string GeoJSON properties will be stringified with JSON.stringify when converting to KML.