Skip to main content

KmlFileProccessor

class KmlFileProccessor

Description: KML processor for tranforming a file

method transformKmlFileToModel

public void transformKmlFileToModel(String filePath, KmlFileTransformListener listener)

Description: Convert kml file to KML model object

Input parameters: filePath: file path listener: interface callback.

Output parameter: None。

Related parameters: None。

method saveKmlModelAsFile

public void saveKmlModelAsFile(Kml model, String filePath, SaveKmlListener listener)

Description: Save the KML object as a local kml file

Input parameters: model: KML model filePath: file path listener: interface callback.

Output parameter: None。

Related parameters: None。