@@ -183,7 +183,7 @@ export class GeoJSON extends JSONFormat {
183183 /**
184184 * @function SuperMap.Format.GeoJSON.extract.feature
185185 * @description 返回一个表示单个要素对象的 GeoJSON 的一部分。
186- * @param {Object } feature - iServer 要素对象。
186+ * @param {SuperMap.ServerFeature } feature - iServer 要素对象。
187187 * @returns {Object } 一个表示点的对象。
188188 */
189189 'feature' : function ( feature ) {
@@ -358,7 +358,7 @@ export class GeoJSON extends JSONFormat {
358358 /**
359359 * @function SuperMap.Format.GeoJSON.prototype.read
360360 * @description 反序列化一个 GeoJSON 字符串。
361- * @param {string } json - GeoJSON 字符串
361+ * @param {GeoJSONObject } json - GeoJSON 字符串
362362 * @param {Function } filter - 对象中每个层次每个键值对都会调用此函数得出一个结果。每个值都会被 filter 函数的结果所替换掉。这个函数可被用来将某些对象转化成某个类相应的对象,或者将日期字符串转化成Date对象。
363363 * @param {string } [type='FeaureCollection'] - 可选的字符串,它决定了输出的格式。支持的值有:"Geometry","Feature",和 "FeatureCollection",如果此值为null。
364364 * @returns {Object } 返回值依赖于 type 参数的值。
@@ -475,7 +475,7 @@ export class GeoJSON extends JSONFormat {
475475 /**
476476 * @function SuperMap.Format.GeoJSON.prototype.parseFeature
477477 * @description 将一个 GeoJSON 中的 feature 转化成 {@link SuperMap.Feature.Vector}> 对象。
478- * @param {Object } obj - 从 GeoJSON 对象中创建一个对象。
478+ * @param {GeoJSONObject } obj - 从 GeoJSON 对象中创建一个对象。
479479 * @returns {SuperMap.Feature.Vector } 一个要素。
480480 */
481481 parseFeature ( obj ) {
@@ -502,7 +502,7 @@ export class GeoJSON extends JSONFormat {
502502 /**
503503 * @function SuperMap.Format.GeoJSON.prototype.parseGeometry
504504 * @description 将一个 GeoJSON 中的几何要素转化成 {@link SuperMap.Geometry} 对象。
505- * @param {Object } obj - 从 GeoJSON 对象中创建一个对象。
505+ * @param {GeoJSONObject } obj - 从 GeoJSON 对象中创建一个对象。
506506 * @returns {SuperMap.Geometry } 一个几何要素。
507507 */
508508 parseGeometry ( obj ) {
@@ -544,9 +544,9 @@ export class GeoJSON extends JSONFormat {
544544 /**
545545 * @function SuperMap.Format.GeoJSON.write
546546 * @description 序列化一个要素对象,几何对象,要素对象数组为一个 GeoJSON 字符串。
547- * @param {Object } obj - 一个 {@link SuperMap.Feature.Vector}> 对象,一个 {@link SuperMap.Geometry} 对象或者一个要素对象数组。
547+ * @param {Object } obj - 一个 {@link SuperMap.Feature.Vector} 对象,一个 {@link SuperMap.Geometry} 对象或者一个要素对象数组。
548548 * @param {boolean } [pretty=false] - 是否使用换行和缩进来控制输出。
549- * @returns {string } 一个 GeoJSON 字符串,它表示了输入的几何对象,要素对象,或者要素对象数组。
549+ * @returns {GeoJSONObject } 一个 GeoJSON 字符串,它表示了输入的几何对象,要素对象,或者要素对象数组。
550550 */
551551 write ( obj , pretty ) {
552552 var geojson = {
@@ -584,7 +584,7 @@ export class GeoJSON extends JSONFormat {
584584 * @function SuperMap.Format.GeoJSON.createCRSObject
585585 * @description 从一个要素对象中创建一个坐标参考系对象。
586586 * @param {SuperMap.Feature.Vector } object - 要素对象。
587- * @returns {Object } 一个可作为 GeoJSON 对象的 CRS 属性使用的对象。
587+ * @returns {GeoJSONObject } 一个可作为 GeoJSON 对象的 CRS 属性使用的对象。
588588 */
589589 createCRSObject ( object ) {
590590 var proj = object . layer . projection . toString ( ) ;
0 commit comments