body property

String body

Property that defines the KML body, with its name and content applied.

Implementation

//   String get body => '''
// <?xml version="1.0" encoding="UTF-8"?>
// <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
//   <Document>
//     <name>$name</name>
//     <open>1</open>
//     <Folder>
//       $content
//       $screenOverlay
//     </Folder>
//   </Document>
// </kml>
//   ''';

String get body => '''
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
  <name>$name</name>
  <open>1</open>
    $content
    $screenOverlay
</Document>
</kml>
''';