From b8feff2227b45eab47c09576e1ce6cdb3b4dd680 Mon Sep 17 00:00:00 2001 From: luoxiao-supermap Date: Tue, 28 Jun 2022 18:47:15 +0800 Subject: [PATCH] [fix]fix api review by xiongjj --- build/jsdocs/template/typeLinkExt.js | 2 +- src/mapboxgl/overlay/theme/ThemeLayer.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/jsdocs/template/typeLinkExt.js b/build/jsdocs/template/typeLinkExt.js index 5a1813b241..65ee35258a 100644 --- a/build/jsdocs/template/typeLinkExt.js +++ b/build/jsdocs/template/typeLinkExt.js @@ -1,4 +1,4 @@ -var olapi = "https://openlayers.org/en/v6.4.3/apidoc/"; +var olapi = "https://openlayers.org/en/v6.14.1/apidoc/"; var lfapi = "https://leafletjs.com/reference-1.7.1.html"; var mbglapi = "https://www.mapbox.com/mapbox-gl-js/api/"; var mapv = "https://github.com/huiyan-fe/mapv/blob/master/src/"; diff --git a/src/mapboxgl/overlay/theme/ThemeLayer.js b/src/mapboxgl/overlay/theme/ThemeLayer.js index 8f4a19318b..6586a1bb88 100644 --- a/src/mapboxgl/overlay/theme/ThemeLayer.js +++ b/src/mapboxgl/overlay/theme/ThemeLayer.js @@ -265,7 +265,7 @@ export class Theme { } var succeed = featuresFailRemoved.length == 0 ? true : false; /** - * @event mapboxgl.supermap.ThemeLayer#featuresremoved + * @event ThemeLayer#featuresremoved * @description 要素删除之后触发。 * @property {Array.} features - 未被成功删除的要素。 * @property {boolean} succeed - 删除成功与否。 @@ -428,7 +428,7 @@ export class Theme { /** * @function ThemeLayer.prototype.toiClientFeature * @description 转为 iClient 要素。 - * @param {(Array.|Array.|Array.|SuperMap.ServerFeature|L.supermap.themeFeature|GeoJSONObject)} features - 待转要素。 + * @param {(Array.|Array.|Array.|ServerFeature|ThemeFeature|GeoJSONObject)} features - 待转要素。 * @returns {Array.} 转换后的 iClient 要素。 */ toiClientFeature(features) { @@ -463,7 +463,7 @@ export class Theme { * @function ThemeLayer.prototype.toFeature * @deprecated * @description 转为 iClient 要素,该方法将被弃用,由 {@link ThemeLayer#toiClientFeature} 代替。 - * @param {(Array.|Array.|Array.|SuperMap.ServerFeature|L.supermap.themeFeature|GeoJSONObject)} features - 待转要素。 + * @param {(Array.|Array.|Array.|ServerFeature|ThemeFeature|GeoJSONObject)} features - 待转要素。 * @returns {FeatureVector} 转换后的 iClient 要素。 */ toFeature(features) {