Skip to content

Commit b8feff2

Browse files
[fix]fix api review by xiongjj
1 parent da972cd commit b8feff2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/jsdocs/template/typeLinkExt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var olapi = "https://openlayers.org/en/v6.4.3/apidoc/";
1+
var olapi = "https://openlayers.org/en/v6.14.1/apidoc/";
22
var lfapi = "https://leafletjs.com/reference-1.7.1.html";
33
var mbglapi = "https://www.mapbox.com/mapbox-gl-js/api/";
44
var mapv = "https://github.com/huiyan-fe/mapv/blob/master/src/";

src/mapboxgl/overlay/theme/ThemeLayer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export class Theme {
265265
}
266266
var succeed = featuresFailRemoved.length == 0 ? true : false;
267267
/**
268-
* @event mapboxgl.supermap.ThemeLayer#featuresremoved
268+
* @event ThemeLayer#featuresremoved
269269
* @description 要素删除之后触发。
270270
* @property {Array.<FeatureVector>} features - 未被成功删除的要素。
271271
* @property {boolean} succeed - 删除成功与否。
@@ -428,7 +428,7 @@ export class Theme {
428428
/**
429429
* @function ThemeLayer.prototype.toiClientFeature
430430
* @description 转为 iClient 要素。
431-
* @param {(Array.<SuperMap.ServerFeature>|Array.<L.supermap.themeFeature>|Array.<GeoJSONObject>|SuperMap.ServerFeature|L.supermap.themeFeature|GeoJSONObject)} features - 待转要素。
431+
* @param {(Array.<ServerFeature>|Array.<ThemeFeature>|Array.<GeoJSONObject>|ServerFeature|ThemeFeature|GeoJSONObject)} features - 待转要素。
432432
* @returns {Array.<FeatureVector>} 转换后的 iClient 要素。
433433
*/
434434
toiClientFeature(features) {
@@ -463,7 +463,7 @@ export class Theme {
463463
* @function ThemeLayer.prototype.toFeature
464464
* @deprecated
465465
* @description 转为 iClient 要素,该方法将被弃用,由 {@link ThemeLayer#toiClientFeature} 代替。
466-
* @param {(Array.<SuperMap.ServerFeature>|Array.<L.supermap.themeFeature>|Array.<GeoJSONObject>|SuperMap.ServerFeature|L.supermap.themeFeature|GeoJSONObject)} features - 待转要素。
466+
* @param {(Array.<ServerFeature>|Array.<ThemeFeature>|Array.<GeoJSONObject>|ServerFeature|ThemeFeature|GeoJSONObject)} features - 待转要素。
467467
* @returns {FeatureVector} 转换后的 iClient 要素。
468468
*/
469469
toFeature(features) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy