Writer to write the kml elements as xml to a kmz file
Writer to write the kml elements as xml to a kmz file
the kmz file name to write to
the kmz file name to write to
the encoding
if true, write xml declaration
if not null, write doctype declaration
add a resource file to the set that will be written to the kmz file.
add a resource file to the set that will be written to the kmz file. This needs to be done before the kmz file is written.
the name the resource file will have in the kmz file
the name of the file containing the resource
returns the resource files
returns the resource files
the resource files as a collection.mutable.Map.empty[String, FileInput]
writes all input kml objects and any resource files to the designated kmz file.
writes all input kml objects and any resource files to the designated kmz file. The kmz file has to exist, it is set during construction of a KmzPrintWriter. For example: new KmzPrintWriter("test.kmz"), cannot have new KmzPrintWriter(). Each kml object must have a corresponding file name in the input kmlMap.
Note: if the input kmlMap is empty, only the resource files will be written to the kmz file.
the Map of file names (keys) and kml objects (values)
the optional pretty printer to use
writes the kml object and any resource files to a kmz file.
writes the kml object and any resource files to a kmz file. The kmz file has to exist, it is set during construction of a KmzPrintWriter. For example: new KmzPrintWriter("test.kmz"), cannot have new KmzPrintWriter(). The kml file inside the kmz will be named the same as the kmz file but with the ".kml" extension. Following from the example, "test.kml"
the kml object to write to the kmz file
the optional pretty printer to use
Writer to write the kml elements as xml to a kmz file