/// <summary> /// 将IFeatureSet转为KMZ,并返回KMZ的文件流 /// </summary> /// <param name="featureSet"></param> /// <param name="kmlName"></param> /// <returns>KMZ的文件流</returns> public static FileStream ToKMZ([NotNull] this IFeatureSet featureSet, [NotNull] string kmlName) { return(CoreSpatialConvert.ToKMZ(featureSet, kmlName)); }
/// <summary> /// 将IFeatureSet转为KMZ /// </summary> /// <param name="featureSet"></param> /// <param name="kmlName"></param> /// <param name="kmzPath"></param> public static void ToKMZ([NotNull] this IFeatureSet featureSet, [NotNull] string kmlName, [NotNull] string kmzPath) { CoreSpatialConvert.ToKMZ(featureSet, kmlName, kmzPath); }