コード例 #1
0
 /// <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));
 }
コード例 #2
0
 /// <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);
 }