@@ -12,10 +12,10 @@ import {
1212
1313/**
1414 * @class L.supermap.dataFlowLayer
15- * @classdesc 实时数据图层源 。
15+ * @classdesc 数据流图层源 。
1616 * @category iServer DataFlow
1717 * @extends {L.LayerGroup }
18- * @param {string } url - 实时数据图层服务地址 。
18+ * @param {string } url - 数据流图层服务地址 。
1919 * @param {Object } options - 设置图层参数。
2020 * @param {Object } [options.render='normal'] - 绘制方式。可选值为'normal','mapv'。</br>
2121 'normal' 表示以 {( {@link L.LatLng}|{@link L.Polyline}|{@link L.Polygon}|{@link L.Marker} ) } 方式绘制实时数据。'mapv' 表示以 {@link L.supermap.mapVLayer} 方式绘制实时数据。
@@ -71,16 +71,16 @@ export var DataFlowLayer = L.LayerGroup.extend({
7171 excludeField : this . options . excludeField
7272 } ) . initSubscribe ( ) ;
7373 /**
74- * @description 初始化成功后触发。
7574 * @event L.supermap.dataFlowLayer#subscribesuccessed
75+ * @description 初始化成功后触发。
7676 * @property {Object } e - 事件对象。
7777 *
7878 */
7979 this . dataService . on ( 'subscribeSocketConnected' , ( e ) => this . fire ( "subscribesuccessed" , e ) ) ;
8080 this . dataService . on ( 'messageSuccessed' , ( msg ) => this . _onMessageSuccessed ( msg ) ) ;
8181 /**
82- * @description 过滤参数设置成功后触发。
8382 * @event L.supermap.dataFlowLayer#setfilterparamsuccessed
83+ * @description 过滤参数设置成功后触发。
8484 * @property {Object } e - 事件对象。
8585 */
8686 this . dataService . on ( 'setFilterParamSuccessed' , ( msg ) => this . fire ( "setfilterparamsuccessed" , msg ) ) ;
@@ -115,7 +115,7 @@ export var DataFlowLayer = L.LayerGroup.extend({
115115 /**
116116 * @function L.supermap.dataFlowLayer.prototype.setGeometry
117117 * @description 设置集合要素。
118- * @param {Object } geometry - 待设置的GeoJSON几何要素对象 。
118+ * @param {Object } geometry - 待设置的 GeoJSON 几何要素对象 。
119119 */
120120 setGeometry : function ( geometry ) {
121121 this . dataService . setGeometry ( geometry ) ;
0 commit comments