generateBlank static method

String generateBlank(
  1. String id
)

Generates a blank KML document.

id is the identifier for the document.

Returns a string containing the KML code for a blank document.

Implementation

static String generateBlank(String id) =>
    '''<?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 id="$id">
</Document>
</kml>''';