@@ -1234,7 +1234,7 @@ export class WebMap extends Observable {
12341234 getTileArray . forEach ( data => {
12351235 if ( data . Constraint [ 0 ] . AllowedValues . Value [ 0 ] . toUpperCase ( ) === 'KVP' ) {
12361236 url = data . href ;
1237- }
1237+ }
12381238 } )
12391239 } else {
12401240 const reuslt = layer . ResourceURL . filter ( resource => {
@@ -3885,6 +3885,7 @@ export class WebMap extends Observable {
38853885 * @function ol.supermap.WebMap.prototype.getMBStyle
38863886 * @description 生成图层信息
38873887 * @param {object } mapInfo - 地图信息
3888+ * @param {object } layerInfo - 图层信息
38883889 */
38893890 getMBStyle ( mapInfo , layerInfo ) {
38903891 let _this = this ,
@@ -3930,10 +3931,11 @@ export class WebMap extends Observable {
39303931 } )
39313932 }
39323933 /**
3933- * mapboxstyle图层:1. layer id重复问题 2.叠加图层背景色问题
3934- * @param {web map Object } mapInfo 地图信息
3934+ * @private
3935+ * @function ol.supermap.WebMap.prototype.modifyMapboxstyleLayer
3936+ * @description mapboxstyle图层:1. layer id重复问题 2.叠加图层背景色问题
3937+ * @param {Object } mapInfo 地图信息
39353938 * @param {Object } layerInfo 当前要添加到地图的图层
3936- * @param {Number } zIndex 当前图层索引
39373939 */
39383940 modifyMapboxstyleLayer ( mapInfo , layerInfo ) {
39393941 let that = this ;
@@ -3954,9 +3956,11 @@ export class WebMap extends Observable {
39543956 } )
39553957 }
39563958 /**
3957- * mapboxstyle图层 id重复的layer添加后缀编码 (n)[参考mapstudio]
3959+ * @private
3960+ * @function ol.supermap.WebMap.prototype.renameLayerId
3961+ * @description mapboxstyle图层 id重复的layer添加后缀编码 (n)[参考mapstudio]
39583962 * @param {mapboxgl.Layer[] } layers 已添加到地图的图层组
3959- * @param {mapboxgl.Layer } layer 当前图层
3963+ * @param {mapboxgl.Layer } curLayer 当前图层
39603964 */
39613965 renameLayerId ( layers , curLayer ) {
39623966 if ( layers . find ( ( l ) => l . id === curLayer . id ) ) {
@@ -3989,7 +3993,9 @@ export class WebMap extends Observable {
39893993 }
39903994
39913995 /**
3992- * 判断url是否是iportal的代理地址
3996+ * @private
3997+ * @function ol.supermap.WebMap.prototype.renameLayerId
3998+ * @description 判断url是否是iportal的代理地址
39933999 * @param {* } serviceUrl
39944000 */
39954001 isIportalProxyServiceUrl ( serviceUrl ) {
@@ -4017,7 +4023,7 @@ export class WebMap extends Observable {
40174023 * @private
40184024 * @function ol.supermap.WebMap.prototype.createMVTLayer
40194025 * @description 创建矢量瓦片图层
4020- * @param {object } mapInfo - 图层信息
4026+ * @param {object } layerInfo - 图层信息
40214027 */
40224028 createMVTLayer ( layerInfo ) {
40234029 let that = this ;
0 commit comments