mapbox / tokml

Convert GeoJSON to KML.
http://mapbox.github.io/tokml/
BSD 2-Clause "Simplified" License
190 stars 91 forks source link

allow specifying document name (title) and description #9

Closed tyrasd closed 11 years ago

tyrasd commented 11 years ago

Adds two new options: documentName and documentDescription, that set the appropriate tags of the root document. This is useful for providing meaningful titles and descriptions for applications like google-earth.

The PR includes unit tests. Coverage is still at 4x100% ;)

Statements   : 100% ( 58/58 )
Branches     : 100% ( 23/23 )
Functions    : 100% ( 29/29 )
Lines        : 100% ( 55/55 )