UNPKG

@mapgis/webclient-common

Version:

An important part of the MapGIS Client for JavaScript product, which provides interfaces and functions unrelated to the map engine.

7,715 lines 137 kB
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <title> MapGIS Client for JavaScript API </title>
<script type="text/javascript">

</script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
        <script src="scripts/jquery.min.js"></script>
    <script src="scripts/adminlte/app.min.js"></script>
    <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="styles/adminlte/AdminLTE.min.css">
    <link type="text/css" rel="stylesheet" href="styles/adminlte/skin-blue.min.css">
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/common.css">
    <link type="text/css" rel="stylesheet" href="styles/header.css">
    <link type="text/css" rel="stylesheet" href="styles/examples.css">
    <link type="text/css" rel="stylesheet" href="styles/style.customize.css">
    <link type="text/css" rel="stylesheet" href="styles/font-awesome.css">
    <link type="text/css" rel="stylesheet" href="styles/jaguar.css">
    <script src="scripts/bootstrap.min.js"></script>
</head>
<body class='sidebar-mini'>

<div id="wrap" class="clearfix">
    <header class="header-wrapper main-header mapgis-header">
        <nav class="navbar navbar-static-top lite">
            <div class="nav-header">
                <div class="navbar-header">
                    <div class="navbar-title" style="display: flex;align-items: center; ">
                        <a href="index.html">
                            <img  class="mapgis-webclient-logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAACXBIWXMAAAsSAAALEgHS3X78AAAgAElEQVR42u2de3gb5Z3vv+/Yjp2rFF8Sx5atsRMgpbRWC7Q9tF2rfbYtpZQYKBRoS4aWpeFWD3DKluW0Hvd2oGnppKHAlpsMI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SsuVFkeDMW8UAAACwSURBVJvlTfGWDKGANt+KA+1gTD31wFd85l01AUxaiq97PlRfjpwiqhFI02LVbbvAmDz94EUe8y6aAKYtRd/pmlVfBvj33GkUaW69YEwKPNJi+nkmgAZDeM1zs+vLwW8cD/l5itZxiWreKRPAjIpw9TOivsaMtknnT599pj1+qennmQBm8eZ94+krQPQe7by8x7wbJoCmFKI1MW+BKSaAppgAmmKKCaApJoCmmJJN+f8yRATGNXIUUAAAAABJRU5ErkJggg==">
                        </a>
                        <a class="navbar-brand">
                            <span class="mapgis-webclient-text"> MapGIS Client for JavaScript(Common) </span>
                        </a>
                        <div id="suffix-title">for MapboxGL</div>
                    </div>
                    <button
                        type="button"
                        class="navbar-toggle collapsed"
                        data-toggle="collapse"
                        data-target="#navbar-collapse"
                        aria-expanded="false"
                    >
                        <i class="fa fa-bars"></i>
                    </button>
                </div>
            </div>
        </nav>
    </header>
    <div class="navigationDiv">
    </div>
    <div class="main content-wrapper examples-container">
        <h1 class="page-title" data-filename="ArcGISVectorTileLayer.html">Class: ArcGISVectorTileLayer</h1>
        



<section>
    
<header>
    <h2></span>ArcGISVectorTileLayer
    
    
    </h2>
    
</header>  

<article>
    <div class="container-overview">
    
    
    
        
<dt>
    <div class="nameContainer">
        <h4 class="name" id="ArcGISVectorTileLayer">
            
            new ArcGISVectorTileLayer<span class="signature">(options)</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/arcgis/ArcGISVectorTileLayer.js, line 11
        </div>
        
    </div>

    
    <p class="summary"><h5>支持如下方法:</h5>
<a href='#fromJSON'>[1、通过传入的json构造并返回一个新的几何对象]</a><br/>
<a href="OGCLayer.html#toJSON"><code>2、导出为json对象</code></a><br/>
<a href="VectorTileLayer.html#getStyleLayer"><code>3、通过矢量瓦片样式图层的id,找到对应的矢量瓦片样式图层对象</code></a><br/>
<a href="VectorTileLayer.html#getStyleLayerIndex"><code>4、通过矢量瓦片样式图层的id,找到对应的矢量瓦片样式图层的序号</code></a><br/>
<a href="VectorTileLayer.html#getStyleLayerId"><code>5、通过矢量瓦片样式图层的序号,找到对应的矢量瓦片样式图层的id</code></a><br/>
<a href="VectorTileLayer.html#setStyleLayer"><code>6、设置样式图层属性对象</code></a><br/>
<a href="VectorTileLayer.html#deleteStyleLayer"><code>7、删除样式图层</code></a><br/>
<a href="VectorTileLayer.html#setStyleLayerVisibility"><code>8、设置样式图层可见性</code></a><br/>
<a href="VectorTileLayer.html#getStyleLayerVisibility"><code>9、获取样式图层可见性</code></a><br/>
<a href="VectorTileLayer.html#getPaintProperties"><code>10、获取样式图层绘制属性</code></a><br/>
<a href="VectorTileLayer.html#setPaintProperties"><code>11、设置样式图层绘制属性</code></a><br/>
<a href="VectorTileLayer.html#getLayoutProperties"><code>12、获取样式图层布局属性</code></a><br/>
<a href="VectorTileLayer.html#setLayoutProperties"><code>13、设置样式图层布局属性</code></a><br/>
<a href="VectorTileLayer.html#clone"><code>16、克隆图层</code></a><br/></p>
    
</dt>
<dd>
    
    
    <div class="description">
        <p>ArcGIS矢量瓦片图层<br/>
<br/>
支持通过如下三种方式来初始化矢量瓦片图层对象:<br/>
1、通过服务基地址来初始化矢量瓦片图层对象;<br/>
2、通过加载矢量瓦片样式文件的方式来初始化矢量瓦片图层对象;<br/>
3、通过设置矢量瓦片样式的方式来初始化矢量瓦片图层对象;<br/>
<br><br>[ES5引入方式]:<br/>
zondy.layer.ArcGISVectorTileLayer() <br/>
[ES6引入方式]:<br/>
import { ArcGISVectorTileLayer } from &quot;@mapgis/webclient-common&quot; <br/>
<br/>
针对图层的操作请在图层加载完毕事件中进行<br/>
Layer.on('layerview-created', function (result) {<br/>
console.log(&quot;加载完毕:&quot;, result.layer)<br/>
});<br/>
如果不想在该事件中放入业务代码,则请确认图层资源以加载完毕后再进行操作<br/>
if(layer.loadStatus === 'loaded') {<br/>
// 你的业务逻辑<br/>
}
<br/><br/>
同时也支持二次开发自定义业务逻辑,示例如下:<br/>
<a href='#custom-es5'>[自定义矢量瓦片业务逻辑-es5]</a>,<a href='#custom-es6'>[自定义矢量瓦片业务逻辑-es6]</a></p>
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>options</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>构造参数</p>
                

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>url</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>服务基地址,和style参数二者选其一<br>
基地址格式如下:<br>
IGS发布的ArcGIS服务: http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/arcgis/VectorTileServer<br>
ArcGIS: https://{ip}:{port}/arcgis/rest/services/{serviceName}/VectorTileServer<br/>
参考示例:<a href='#vector-tile-server'>[加载矢量瓦片服务]</a><br/>
服务基地址也支持传入矢量瓦片样式文件地址,例如:<br>
'https://jsapi.maps.arcgis.com/sharing/rest/content/items/75f4dfdff19e445395653121a95a85db/resources/styles/root.json',<br>
参考示例:<a href='#vector-tile-json'>[加载矢量瓦片样式文件]</a><br/>
删除图层方法:<a href='#remove-layer'>[删除图层]</a></p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>style</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>矢量瓦片样式,也可以支持通过传入矢量瓦片样式的方式构造矢量瓦片,注意矢量瓦片样式要符合arcgis矢量瓦片的规范,<br>
和url参数二者选其一<br>
参考示例:<a href='#vector-tile-style'>[加载矢量瓦片样式对象]</a></p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>minScale</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>
            
            
                <td class="default">
                
                    0
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>最小显示比例尺,图层在视图中可见的最小比例尺。</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>maxScale</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>
            
            
                <td class="default">
                
                    0
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>最大显示比例尺,图层在视图中可见的最大比例尺。</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>opacity</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>
            
            
                <td class="default">
                
                    1
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,参考示例:<a href='#opacity'>[设置图层透明度]</a></p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>tokenKey</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    'token'
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>token名</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>tokenValue</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>token值,只有当tokenValue存在时,才会绑定token</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>visible</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Boolean</span>


            
            </td>
            
            
                <td class="default">
                
                    true
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>图层显示或隐藏,true则显示,false则隐藏,参考示例:<a href='#visible'>[设置图层显隐]</a></p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>labelsRenderMode</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    'off-screen'
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>指定矢量瓦片注记的渲染模式,仅在三维上有效。on-screen表示使用三维接口实时渲染注记;off-screen表示通过先将注记渲染到图片上,再通过三维接口渲染到屏幕。<br/>
参考示例:<a href='#labels-3d'>[矢量瓦片三维注记]</a><br/></p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>clippingArea</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Polygon.html">Polygon</a></span>
|

<span class="param-type"><a href="Extent.html">Extent</a></span>
|

<span class="param-type"><a href="Circle.html">Circle</a></span>
|

<span class="param-type"><a href="MultiPolygon.html">MultiPolygon</a></span>
|

<span class="param-type">null</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>图层空间裁剪范围,仅支持多多边形裁剪、多边形裁剪、矩形裁剪、圆形裁剪</p></td>
        </tr>
	
	
	</tbody>
</table>
            </td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
    <h5>Fires</h5>
    <ul>
        <li><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E5%258A%25A0%25E8%25BD%25BD%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">Layer#event:图层加载完毕事件</a></li>
    
        <li><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E9%2594%2580%25E6%25AF%2581%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">Layer#event:图层销毁完毕事件</a></li>
    
        <li>Layer#event:图层更新完毕事件</li>
    
        <li><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E6%2598%25BE%25E9%259A%2590%25E6%259B%25B4%25E6%2596%25B0%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">Layer#event:图层显隐更新完毕事件</a></li>
    
        <li><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E9%2580%258F%25E6%2598%258E%25E5%25BA%25A6%25E6%259B%25B4%25E6%2596%25B0%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">Layer#event:图层透明度更新完毕事件</a></li>
    </ul>
    

    

    
    
    
    
    
    
    
        <h5>Examples</h5>
        
        <p class="code-caption"><h7 id='vector-tile-server'>初始化矢量瓦片对象</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { ArcGISVectorTileLayer } = zondy.layer
// ES6引入方式
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
// 初始化矢量瓦片图层
const arcgisVectorTileLayer = new ArcGISVectorTileLayer({
  // 服务基地址
  url: 'https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer'
});</code></pre>
    

        <p class="code-caption"><h7 id='vector-tile-json'>加载矢量瓦片样式文件</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { ArcGISVectorTileLayer } = zondy.layer
// ES6引入方式
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
// 初始化矢量瓦片图层
const arcgisVectorTileLayer = new ArcGISVectorTileLayer({
  // 样式文件地址
  url: 'https://jsapi.maps.arcgis.com/sharing/rest/content/items/75f4dfdff19e445395653121a95a85db/resources/styles/root.json'
});</code></pre>
    

        <p class="code-caption"><h7 id='vector-tile-style'>加载矢量瓦片样式对象</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { ArcGISVectorTileLayer } = zondy.layer
// ES6引入方式
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
// 初始化矢量瓦片图层
const arcgisVectorTileLayer = new ArcGISVectorTileLayer({
  // 设置你的样式
  style: {}
});</code></pre>
    

        <p class="code-caption"><h7 id='custom-es5'>自定义矢量瓦片业务逻辑-es5</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { ArcGISVectorTileLayer } = zondy.layer
// ES6引入方式
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
// 初始化矢量瓦片图层
const arcGISVectorTileLayer = new ArcGISVectorTileLayer({
  // 矢量瓦片基地址
  url: ''
});
// 例如通过重写arcGISVectorTileLayer对象的covertCustomStyleToMVTStyle方法,来自定义矢量瓦片业务逻辑
arcGISVectorTileLayer.covertCustomStyleToMVTStyle = function(customStyle) {
  // 自定义你的业务逻辑
  // 此方法必须要返回一个符合MapBox标准的矢量瓦片
  return mvtStyle
}
// 在ES5模式下,如果更改了图层的业务逻辑,则必须通过图层的load方法来加载元信息,之后再添加图层
arcGISVectorTileLayer.load().then(() => {
  // 添加图层
  map.add(arcGISVectorTileLayer)
})</code></pre>
    

        <p class="code-caption"><h7 id='custom-es6'>自定义矢量瓦片业务逻辑-es6</h7></p>
    

    
    <pre class="prettyprint"><code>// ES6引入方式
import { ArcGISVectorTileLayer } from "@mapgis/webclient-common"
// 在ES6模式下继承IGSVectorTileLayer,并重写其业务逻辑
class ArcGISVectorTileLayerCustom extends ArcGISVectorTileLayer {
  constructor(options) {
    super(options)
  }
}
// 重写方法
ArcGISVectorTileLayerCustom.prototype.covertCustomStyleToMVTStyle = function (customStyle) {
  // 自定义你的业务逻辑
  // 此方法必须要返回一个符合MapBox标准的矢量瓦片
  return mvtStyle
}
const customLayer = new ArcGISVectorTileLayerCustom({
  // 矢量瓦片基地址
  url: ''
})</code></pre>
    

        <p class="code-caption"><h7 id='labels-3d'>矢量瓦片三维注记</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { LabelClass } = zondy
const { ArcGISVectorTileLayer } = zondy.layer
// ES6引入方式
import { ArcGISVectorTileLayer, LabelClass } from "@mapgis/webclient-common"
// 初始化一个额外的图标DOM对象
const iconImage = new Image()
iconImage.src = '图片地址或者base64字符串'
// 初始化矢量瓦片图层
const arcGISVectorTileLayer = new ArcGISVectorTileLayer({
  // 矢量瓦片基地址
  url: ''
})
// 加载图层元信息
arcGISVectorTileLayer.load().then((result) => {
  // 由于ArcGIS矢量瓦片没有子图层的概念,因此直接设置该属性到样式图层上
  arcGISVectorTileLayer.setExtendProperties('样式图层id', 'labelingInfo', [
    new LabelClass({
      symbol: {
        // 填充颜色 rgba or 16进制颜色
        color: 'rgba(255,255,255,1)',
        // 描边颜色
        haloColor: 'rgba(0,0,0,0.5)',
        // 描边宽度
        haloSize: 2,
        // 行高
        lineHeight: 1.1,
        // 文本间距
        letterSpacing: 2,
        // 字体样式 参考css
        font: {
          size: 14,
          family: '微软雅黑',
          weight: 'normal',
          style: 'normal'
        },
        // 额外的图标
        textExtraIcon: iconImage,
        // 图标的大小
        textExtraIconSize:20,
        // 图标方位
        textExtraIconAnchor:'left'
      },
      // 渲染方式 1.canvas 2.label 3.ground
      renderMode: 'canvas',
      // 最大可见范围
      minScale: 60000000,
      // 最小可见范围
      maxScale: 1,
      // 布局位置 可选 1.above-left 2.above-center 3.above-right 4.center-left 5.center-center 6.center-right 7.below-left 8.below-center 9.below-right
      labelPlacement: 'above-center',
      // 高程采样参数
      elevationInfo: {
        mode: 'OnTheGround',
        offset: 0
      }
    })
  ])
})</code></pre>
    

        <p class="code-caption"><h7 id='opacity'>设置图层透明度</h7></p>
    

    
    <pre class="prettyprint"><code>arcgisVectorTileLayer.opacity = 0.5</code></pre>
    

        <p class="code-caption"><h7 id='visible'>显示或隐藏图层</h7></p>
    

    
    <pre class="prettyprint"><code>arcgisVectorTileLayer.visible = !igsVectorTileLayer.visible</code></pre>
    

        <p class="code-caption"><h7 id='remove-layer'>删除图层</h7></p>
    

    
    <pre class="prettyprint"><code>map.remove(arcgisVectorTileLayer)</code></pre>
    

    
</dd>

    
    </div>
    
    
        <h3 class="subsection-title">Extends</h3>
        <ul>
            
            
            
            
            <li><a href="VectorTileLayer.html">VectorTileLayer</a></li>
            
            
        </ul>
    

    
    
    
    
    
    
    
    
    
        <h3 class="subsection-title">Members</h3>
        
        <dl>
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="allSublayers">allSublayers<span class="type-signature type collection"><a href="Collection.html">Collection</a></span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>所有子图层对象信息</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="capabilities">capabilities<span class="type-signature type object">Object</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层支持能力。图层支持能力分为客户端能力和服务端能力,其中客户端能力包含cesium、leaflet、mapboxgl引擎能力。默认图层客户端能力:所有引擎支持图层加载;默认图层服务端能力为空。</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="clippingArea">clippingArea<span class="type-signature type polygon"><a href="Polygon.html">Polygon</a></span> <span class="type-signature type extent"><a href="Extent.html">Extent</a></span> <span class="type-signature type circle"><a href="Circle.html">Circle</a></span> <span class="type-signature type multipolygon"><a href="MultiPolygon.html">MultiPolygon</a></span> <span class="type-signature type null">null</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>空间裁剪范围</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="copyright">copyright<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>版权所有</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="currentStyleInfo">currentStyleInfo<span class="type-signature type object">Object</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>当前的矢量瓦片样式信息,包含serviceUrl 、styleUrl 、spriteUrl 、glyphsUrl 以及style</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="description">description<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层描述</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="extendProps">extendProps<span class="type-signature type object">Object</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>额外属性,当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    {}</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="extensionOptions">extensionOptions<span class="type-signature type object">Object</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    {}</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="extent">extent<span class="type-signature type extent"><a href="Extent.html">Extent</a></span> <span class="type-signature type null">null</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层的范围。从元信息或数据中获取,默认为null表示取不到范围。</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="headers">headers<span class="type-signature type object">Object</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>设置服务请求头</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="httpMethod">httpMethod<span class="type-signature type fetchmethod"><a href="FetchMethod.html">FetchMethod</a></span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>http请求方式</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="id">id<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层id</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="labelsRenderMode">labelsRenderMode<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>指定矢量瓦片注记的渲染模式,仅在三维上有效;
on-screen: 使用Cesium接口实时渲染注记;
off-screen: 使用矢量瓦片来绘制注记;
请注意模式切换时,会造成性能损失,在显卡较弱的机器上会出现卡顿现象;</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="loaded">loaded<span class="type-signature type boolean">Boolean</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>是否加载完毕</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    false</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="loadError">loadError<span class="type-signature type object">Object</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>请求失败后的错误信息,toJSON方法不会导出该属性</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    null</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="loadStatus">loadStatus<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层加载状态</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    not-loaded</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="maxScale">maxScale<span class="type-signature type number">Number</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>最大显示比例尺,图层在视图中可见的最大比例尺(最放大)。如果地图被放大到超过这个比例,图层将不可见。默认值为0,如果图层是瓦片类型,maxScale、minScale的默认值能和tileInfo上的保持一致,如果图层是动态图层,则和地图视图保持一致。maxScale应该始终小于minScale。</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    0</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="minScale">minScale<span class="type-signature type number">Number</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>最小显示比例尺,图层在视图中可见的最小比例尺(最缩小)。如果地图被缩小到超过这个比例,图层将不可见。默认值为0,如果图层是瓦片类型,maxScale、minScale的默认值能和tileInfo上的保持一致,如果图层是动态图层,则和地图视图保持一致。minScale应该始终大于maxScale。</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    0</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="mvtExtent">mvtExtent<span class="type-signature type number">Number</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>mvt矢量瓦片相对坐标范围,默认为4096,表示矢量瓦片相对坐标的范围为0到4096</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    4096</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="opacity">opacity<span class="type-signature type number">Number</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="spatialReference">spatialReference<span class="type-signature type spatialreference"><a href="SpatialReference.html">SpatialReference</a></span> <span class="type-signature type null">null</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层坐标系对象</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="sublayers">sublayers<span class="type-signature type collection"><a href="Collection.html">Collection</a></span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>子图层列表对象</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="tileDisplayStrategy">tileDisplayStrategy<span class="type-signature type tiledisplaystrategy"><a href="TileDisplayStrategy.html">TileDisplayStrategy</a></span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>当瓦片图层的显示比例尺范围,超出瓦片数据自身的级别后的显示策略</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="tileInfo">tileInfo<span class="type-signature type tileinfo"><a href="TileInfo.html">TileInfo</a></span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>瓦片切图信息</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="title">title<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层名称</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="tokenAttachType">tokenAttachType<span class="type-signature type tokenattachtype"><a href="TokenAttachType.html">TokenAttachType</a></span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="tokenKey">tokenKey<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>token名</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    token</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="tokenValue">tokenValue<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>token值</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="type">type<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层类型</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="url">url<span class="type-signature type string">String</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>矢量瓦片服务地址</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="visible">visible<span class="type-signature type number">Number</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层显示或隐藏,true则显示,false则隐藏,会触发图层更新完毕事件</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        </dl>
    

    
        <h3 class="subsection-title">Events</h3>

        <dl>
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="event:%E5%9B%BE%E5%B1%82%E5%8A%A0%E8%BD%BD%E5%AE%8C%E6%AF%95%E4%BA%8B%E4%BB%B6">
            
                <span class="inherited"><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E5%258A%25A0%25E8%25BD%25BD%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">inherited</a></span>
            
            图层加载完毕事件
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 46
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>图层加载完毕事件</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>event</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            
            <td class="description last"> <p>事件对象</p>
                <h6>Properties</h6>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>type</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    'layerview-created'
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层加载完毕事件</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>message</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新描述</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>UpdateContent</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Array.&lt;<a href="UpdateContent.html">UpdateContent</a>></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新详情对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layer</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>地图图层对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layerView</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="MapView.html">MapView</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层的视图对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>sourceTarget</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件发起对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>target</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Map.html">Map</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件接收对象</p></td>
        </tr>
	
	
	</tbody>
</table>
            </td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
        <p class="code-caption"><h7>图层加载完毕事件</h7></p>
    

    
    <pre class="prettyprint"><code>Layer.on('layerview-created', function (result) {
  console.log("加载完毕:", result.layer)
});</code></pre>
    

    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="event:%E5%9B%BE%E5%B1%82%E6%98%BE%E9%9A%90%E6%9B%B4%E6%96%B0%E5%AE%8C%E6%AF%95%E4%BA%8B%E4%BB%B6">
            
                <span class="inherited"><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E6%2598%25BE%25E9%259A%2590%25E6%259B%25B4%25E6%2596%25B0%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">inherited</a></span>
            
            图层显隐更新完毕事件
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 90
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>图层显隐更新完毕事件,请注意该事件是图层更新事件(layerview-update)的子事件</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>event</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            
            <td class="description last"> <p>事件对象</p>
                <h6>Properties</h6>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>type</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    'layerview-update'
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层更新完毕事件</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>message</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新描述</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>updateContent</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Array.&lt;<a href="UpdateContent.html">UpdateContent</a>></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新详情对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layer</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>地图图层对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layerView</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="MapView.html">MapView</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层的视图对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>sourceTarget</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件发起对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>target</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Map.html">Map</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件接收对象</p></td>
        </tr>
	
	
	</tbody>
</table>
            </td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
        <p class="code-caption"><h5>图层显隐更新完毕事件</h5></p>
    

    
    <pre class="prettyprint"><code>Layer.on('layerview-update', function (event) {
  // 获取更新事件对象
  console.log("更新完毕:", event)
  // 获取更新详情数组
  const updateContent = event.updateContent
  // 循环数组,根据事件名进行后续操作
  for (let i = 0; i < updateContent.length; i++) {
    // 图层显隐事件
    if(updateContent[i].name === 'visible'){
      console.log("图层显隐更新事件:", event);
    }
  }
});</code></pre>
    

    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="event:%E5%9B%BE%E5%B1%82%E6%AF%94%E4%BE%8B%E5%B0%BA%E6%98%BE%E7%A4%BA%E9%9A%90%E8%97%8F%E7%8A%B6%E6%80%81%E6%9B%B4%E6%96%B0%E4%BA%8B%E4%BB%B6%E3%80%82%E5%BD%93%E5%89%8D%E4%BB%85%E6%94%AF%E6%8C%81%E9%9D%9E%E7%BB%84%E5%9B%BE%E5%B1%82%E4%BB%A5%E5%8F%8A%E5%9C%BA%E6%99%AF%E5%AD%90%E5%9B%BE%E5%B1%82">
            
                <span class="inherited"><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E6%25AF%2594%25E4%25BE%258B%25E5%25B0%25BA%25E6%2598%25BE%25E7%25A4%25BA%25E9%259A%2590%25E8%2597%258F%25E7%258A%25B6%25E6%2580%2581%25E6%259B%25B4%25E6%2596%25B0%25E4%25BA%258B%25E4%25BB%25B6%25E3%2580%2582%25E5%25BD%2593%25E5%2589%258D%25E4%25BB%2585%25E6%2594%25AF%25E6%258C%2581%25E9%259D%259E%25E7%25BB%2584%25E5%259B%25BE%25E5%25B1%2582%25E4%25BB%25A5%25E5%258F%258A%25E5%259C%25BA%25E6%2599%25AF%25E5%25AD%2590%25E5%259B%25BE%25E5%25B1%2582">inherited</a></span>
            
            图层比例尺显示隐藏状态更新事件。当前仅支持非组图层以及场景子图层
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 144
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>图层刷新完毕事件,请注意该事件是图层更新事件(layerview-update)的子事件</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>event</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            
            <td class="description last"> <p>事件对象</p>
                <h6>Properties</h6>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>type</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    'layerview-update'
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层更新完毕事件</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>message</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新描述</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>updateContent</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Array.&lt;<a href="UpdateContent.html">UpdateContent</a>></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新详情对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layer</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>地图图层对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layerView</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="MapView.html">MapView</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层的视图对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>sourceTarget</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件发起对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>target</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Map.html">Map</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件接收对象</p></td>
        </tr>
	
	
	</tbody>
</table>
            </td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>event</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="LayerViewScaleVisibleEvent.html">LayerViewScaleVisibleEvent</a></span>


            
            </td>
            
            
            
            
            <td class="description last"> <p>事件对象
layer.on('layerview-scale-visible', (event) =&gt; {
console.log(&quot;图层比例尺显示隐藏状态更新事件:&quot;, event)
})</p></td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
        <p class="code-caption"><h5>图层刷新完毕事件</h5></p>
    

    
    <pre class="prettyprint"><code>Layer.on('layerview-update', function (event) {
  // 获取更新事件对象
  console.log("更新完毕:", event)
  // 获取更新详情数组
  const updateContent = event.updateContent
  // 循环数组,根据事件名进行后续操作
  for (let i = 0; i < updateContent.length; i++) {
    // 图层刷新完毕事件
    if(updateContent[i].name === 'refresh'){
      console.log("图层刷新完毕事件:", event);
    }
  }
});

/**</code></pre>
    

    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="event:%E5%9B%BE%E5%B1%82%E8%A7%86%E5%9B%BE%E6%9B%B4%E6%96%B0%E4%BA%8B%E4%BB%B6">
            
                <span class="inherited"><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E8%25A7%2586%25E5%259B%25BE%25E6%259B%25B4%25E6%2596%25B0%25E4%25BA%258B%25E4%25BB%25B6">inherited</a></span>
            
            图层视图更新事件
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 80
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>图层视图更新事件</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>event</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="LayerViewUpdateEvent.html">LayerViewUpdateEvent</a></span>


            
            </td>
            
            
            
            
            <td class="description last"> <p>事件对象</p></td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
        <p class="code-caption"><h7>图层更新完毕事件</h7></p>
    

    
    <pre class="prettyprint"><code>Layer.on('layerview-update', function (result) {
  console.log("更新完毕:", result.layer)
});</code></pre>
    

    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="event:%E5%9B%BE%E5%B1%82%E9%80%8F%E6%98%8E%E5%BA%A6%E6%9B%B4%E6%96%B0%E5%AE%8C%E6%AF%95%E4%BA%8B%E4%BB%B6">
            
                <span class="inherited"><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E9%2580%258F%25E6%2598%258E%25E5%25BA%25A6%25E6%259B%25B4%25E6%2596%25B0%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">inherited</a></span>
            
            图层透明度更新完毕事件
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 117
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>图层透明度更新完毕事件,请注意该事件是图层更新事件(layerview-update)的子事件</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>event</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            
            <td class="description last"> <p>事件对象</p>
                <h6>Properties</h6>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>type</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    'layerview-update'
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层更新完毕事件</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>message</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新描述</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>updateContent</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Array.&lt;<a href="UpdateContent.html">UpdateContent</a>></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新详情对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layer</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>地图图层对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layerView</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="MapView.html">MapView</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层的视图对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>sourceTarget</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件发起对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>target</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Map.html">Map</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件接收对象</p></td>
        </tr>
	
	
	</tbody>
</table>
            </td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
        <p class="code-caption"><h5>图层透明度更新完毕事件</h5></p>
    

    
    <pre class="prettyprint"><code>Layer.on('layerview-update', function (event) {
  // 获取更新事件对象
  console.log("更新完毕:", event)
  // 获取更新详情数组
  const updateContent = event.updateContent
  // 循环数组,根据事件名进行后续操作
  for (let i = 0; i < updateContent.length; i++) {
    // 图层透明度更新事件
    if(updateContent[i].name === 'opacity'){
      console.log("图层透明度更新事件:", event);
    }
  }
});</code></pre>
    

    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="event:%E5%9B%BE%E5%B1%82%E9%94%80%E6%AF%81%E5%AE%8C%E6%AF%95%E4%BA%8B%E4%BB%B6">
            
                <span class="inherited"><a href="Layer.html#event:%25E5%259B%25BE%25E5%25B1%2582%25E9%2594%2580%25E6%25AF%2581%25E5%25AE%258C%25E6%25AF%2595%25E4%25BA%258B%25E4%25BB%25B6">inherited</a></span>
            
            图层销毁完毕事件
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 63
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>图层销毁完毕事件</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
        <h5 class="subsection-title">Properties:</h5>
        
        <dl>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>event</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            
            <td class="description last"> <p>事件对象</p>
                <h6>Properties</h6>

<table class="props">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>

		
		<th>Default</th>
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name" 
                ><code>type</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    'layerview-remove'
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层销毁完毕事件</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>message</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新描述</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>updateContent</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Array.&lt;<a href="UpdateContent.html">UpdateContent</a>></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>更新详情对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layer</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>要销毁的地图图层对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>layerView</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="MapView.html">MapView</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>图层的视图对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>sourceTarget</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Layer.html">Layer</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件发起对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name" 
                ><code>target</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Map.html">Map</a></span>


            
            </td>
            
            
                <td class="default">
                
                    null
                
                </td>
            
            
            
            <td class="description last"> 
                    <span class="optional">可选</span>
                <p>事件接收对象</p></td>
        </tr>
	
	
	</tbody>
</table>
            </td>
        </tr>
	
	
	</tbody>
</table></dl>
        
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
        <h5>Example</h5>
        
        <p class="code-caption"><h7>图层销毁完毕事件</h7></p>
    

    
    <pre class="prettyprint"><code>Layer.on('layerview-remove', function (result) {
  console.log("销毁完毕:", result.layer)
});</code></pre>
    

    
</dd>

        </dl>
    

    
        <h3 class="subsection-title">Methods</h3>
        
        <dl>
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id=".fromJSON">
            
            ArcGISVectorTileLayer.fromJSON<span class="signature">(json)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="ArcGISVectorTileLayer.html">ArcGISVectorTileLayer</a>}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/arcgis/ArcGISVectorTileLayer.js, line 588
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>通过传入的json构造并返回一个新的ArcGISVectorTileLayer对象<a id='fromJSON'></a></p>
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>json</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>JSON对象</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        <a href="ArcGISVectorTileLayer.html">ArcGISVectorTileLayer</a>
                        
                    
            </td>
            <td class="description last">一个新的ArcGISVectorTileLayer对象</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="_initMapInfo">
            
                <span class="inherited"><a href="VectorTileLayer.html#_initMapInfo">inherited</a></span>
            
            _initMapInfo<span class="signature">(customStyle)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{*}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 615
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>初始化mapInfo</p>
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>customStyle</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>
            
            
            
            <td class="description last">
                
                </td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        *
                        
                    
            </td>
            <td class="description last"></td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="clone">
            
            clone<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="ArcGISVectorTileLayer.html">ArcGISVectorTileLayer</a>}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/arcgis/ArcGISVectorTileLayer.js, line 605
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>克隆对象</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        <a href="ArcGISVectorTileLayer.html">ArcGISVectorTileLayer</a>
                        
                    
            </td>
            <td class="description last">ArcGIS矢量瓦片对象</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="covertCustomStyleToMVTStyle">
            
            covertCustomStyleToMVTStyle<span class="signature">(customStyle, tiles)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/arcgis/ArcGISVectorTileLayer.js, line 295
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>将自定义的style转成矢量瓦片的mvtStyle,可有子类或初始化时自定义</p>
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>customStyle</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>自定义的style</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>tiles</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Array.&lt;String></span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>瓦片实际地址</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            <td class="description last">修改好的符合矢量瓦片规范的样式对象</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="deleteStyleLayer">
            
                <span class="inherited"><a href="VectorTileLayer.html#deleteStyleLayer">inherited</a></span>
            
            deleteStyleLayer<span class="signature">(styleLayerId)</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 460
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='deleteStyleLayer'/>
删除样式图层
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="destroy">
            
                <span class="inherited"><a href="Layer.html#destroy">inherited</a></span>
            
            destroy<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{*}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 618
        </div>
        
    </div>

    
</dt>
<dd>
    
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        *
                        
                    
            </td>
            <td class="description last"></td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="findSublayerById">
            
                <span class="inherited"><a href="VectorTileLayer.html#findSublayerById">inherited</a></span>
            
            findSublayerById<span class="signature">(sublayerID)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{<a href="IGSVectorTileSubLayer.html">IGSVectorTileSubLayer</a>}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 894
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>根据子图层id查询图层</p>
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>sublayerID</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>图层ID</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        <a href="IGSVectorTileSubLayer.html">IGSVectorTileSubLayer</a>
                        
                    
            </td>
            <td class="description last">子图层</td>
        </tr>
    
    </tbody>
</table>

    
    
    
        <h5>Example</h5>
        
        <p class="code-caption"><h7 id='findSublayerById'>根据子图层id查询图层</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { IGSVectorTileLayer } = zondy.layer
// ES6引入方式
import { IGSVectorTileLayer} from "@mapgis/webclient-common"
const igsVectorTileLayer = new IGSVectorTileLayer({
  // 服务基地址
  url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer'
});
map.add(igsVectorTileLayer);
// 根据id获取子图层
const subLayer = igsVectorTileLayer.findSublayerById('子图层id')</code></pre>
    

    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="getExtendProperties">
            
                <span class="inherited"><a href="VectorTileLayer.html#getExtendProperties">inherited</a></span>
            
            getExtendProperties<span class="signature">(styleLayerId, key)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Any}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 602
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='getExtendProperties'/>
获取样式图层的额外属性
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>key</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>额外属性的属性名</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Any
                        
                    
            </td>
            <td class="description last">额外属性的属性值</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="getLayoutProperties">
            
                <span class="inherited"><a href="VectorTileLayer.html#getLayoutProperties">inherited</a></span>
            
            getLayoutProperties<span class="signature">(styleLayerId)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object|null}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 549
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='getLayoutProperties'/>
获取样式图层布局属性
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Object
                         | 
                    
                        null
                        
                    
            </td>
            <td class="description last">样式图层布局属性</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="getPaintProperties">
            
                <span class="inherited"><a href="VectorTileLayer.html#getPaintProperties">inherited</a></span>
            
            getPaintProperties<span class="signature">(styleLayerId)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object|null}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 514
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='getPaintProperties'/>
获取样式图层绘制属性
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Object
                         | 
                    
                        null
                        
                    
            </td>
            <td class="description last">返回样式图层绘制属性</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="getProperty">
            
                <span class="inherited"><a href="Layer.html#getProperty">inherited</a></span>
            
            getProperty<span class="signature">(path)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{*}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 818
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>获取属性</p>
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>path</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                </td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        *
                        
                    
            </td>
            <td class="description last">属性值</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="getStyleLayer">
            
                <span class="inherited"><a href="VectorTileLayer.html#getStyleLayer">inherited</a></span>
            
            getStyleLayer<span class="signature">(styleLayerId)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 379
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='getStyleLayer'/>
通过矢量瓦片样式图层的id,找到对应的矢量瓦片样式图层对象
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层的id</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            <td class="description last">样式图层对象</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="getStyleLayerId">
            
                <span class="inherited"><a href="VectorTileLayer.html#getStyleLayerId">inherited</a></span>
            
            getStyleLayerId<span class="signature">(index)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{String}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 407
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='getStyleLayerIndex'/>
通过矢量瓦片样式图层的序号,找到对应的矢量瓦片样式图层的id
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>index</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Number</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层的序号</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        String
                        
                    
            </td>
            <td class="description last">样式图层的id</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="getStyleLayerIndex">
            
                <span class="inherited"><a href="VectorTileLayer.html#getStyleLayerIndex">inherited</a></span>
            
            getStyleLayerIndex<span class="signature">(styleLayerId)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Number}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 395
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='getStyleLayerIndex'/>
通过矢量瓦片样式图层的id,找到对应的矢量瓦片样式图层的序号
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层的id</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Number
                        
                    
            </td>
            <td class="description last">样式图层的序号</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="getStyleLayerVisibility">
            
                <span class="inherited"><a href="VectorTileLayer.html#getStyleLayerVisibility">inherited</a></span>
            
            getStyleLayerVisibility<span class="signature">(styleLayerId)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Boolean}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 500
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>获取样式图层可见性
<a id='getStyleLayerVisibility'/></p>
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Boolean
                        
                    
            </td>
            <td class="description last">样式图层可见性状态</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="isLoaded">
            
                <span class="inherited"><a href="Layer.html#isLoaded">inherited</a></span>
            
            isLoaded<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Boolean}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 543
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>判断图层是否加载成功</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Boolean
                        
                    
            </td>
            <td class="description last">图层是否加载成功</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="refresh">
            
                <span class="inherited"><a href="Layer.html#refresh">inherited</a></span>
            
            refresh<span class="signature">()</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 747
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>刷新图层</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="setExtendProperties">
            
                <span class="inherited"><a href="VectorTileLayer.html#setExtendProperties">inherited</a></span>
            
            setExtendProperties<span class="signature">(styleLayerId, key, value)</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 585
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='setExtendProperties'/>
设置样式图层的额外属性
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>key</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>额外属性的属性名</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Any</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>额外属性的属性值</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="setLayoutProperties">
            
                <span class="inherited"><a href="VectorTileLayer.html#setLayoutProperties">inherited</a></span>
            
            setLayoutProperties<span class="signature">(styleLayerId, layout)</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 563
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='setLayoutProperties'/>
设置样式图层布局属性
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>layout</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>布局属性</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="setPaintProperties">
            
                <span class="inherited"><a href="VectorTileLayer.html#setPaintProperties">inherited</a></span>
            
            setPaintProperties<span class="signature">(styleLayerId, paint)</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 528
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='setPaintProperties'/>
设置样式图层绘制属性
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>paint</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>绘制属性</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="setProperty">
            
                <span class="inherited"><a href="Layer.html#setProperty">inherited</a></span>
            
            setProperty<span class="signature">(path, value)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Boolean}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/Layer.js, line 778
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>设置属性值或者属性路径对应的值。由于当前仅支持第一级属性响应,无法解决多级属性响应机制,此方法支持属性路径响应机制。例如:path输入'tileInfo.startLevel',则会响应式更新startLevel。</p>
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>path</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>属性路径,可以传入单个属性后者一个属性的路径</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>value</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">*</span>


            
            </td>
            
            
            
            <td class="description last">
                
                </td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Boolean
                        
                    
            </td>
            <td class="description last">是否设置成功</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="setStyleLayer">
            
                <span class="inherited"><a href="VectorTileLayer.html#setStyleLayer">inherited</a></span>
            
            setStyleLayer<span class="signature">(styleLayer, index)</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 419
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='setStyleLayer'/>
设置样式图层属性对象,可以对图层进行修改、重新排序等。布局属性和绘制属性推荐用setLayoutProperties和setPaintProperties实现。
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayer</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层对象</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>index</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层顺序</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer inherited">
        <h4 class="name" id="setStyleLayerVisibility">
            
                <span class="inherited"><a href="VectorTileLayer.html#setStyleLayerVisibility">inherited</a></span>
            
            setStyleLayerVisibility<span class="signature">(styleLayerId, visible)</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/baseLayer/VectorTileLayer.js, line 487
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <a id='setStyleLayerVisibility'/>
设置样式图层可见性,visible为true,显示图层,为false,隐藏图层
    </div>
    

    
    
    
    
    
        

<table class="params">
    <thead>
	<tr>
		
		<th>Name</th>
		
		
		<th>Type</th>
		
		
		
		<th class="last">Description</th>
	</tr>
	</thead>
	
	<tbody>
	
	
        <tr>
            
                <td class="name"><code>styleLayerId</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">String</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>样式图层id</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>visible</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">Boolean</span>


            
            </td>
            
            
            
            <td class="description last">
                
                <p>可见性</p></td>
        </tr>
	
	
	</tbody>
</table>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="toJSON">
            
            toJSON<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/arcgis/ArcGISVectorTileLayer.js, line 596
        </div>
        
    </div>

    
</dt>
<dd>
    
    
    <div class="description">
        <p>转换为json对象</p>
    </div>
    

    
    
    
    
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
</dl>

    
    

    

    
    
    
    
    
    <h5>Returns:</h5>
    


<table class="params">
    <thead>
    <tr>
        
        <th>Type</th>
        <th class="last">Description</th>
    </tr>
    </thead>
    <tbody>
    
        <tr>
            
            <td class="type">
            
                        Object
                        
                    
            </td>
            <td class="description last">json对象</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        </dl>
    
    
    

</article>

</section>  





        <footer>
            Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Fri Feb 06 2026 10:41:54 GMT+0800 (中国标准时间)
        </footer>
    </div>
</div>

<script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script>
<script src="scripts/main.js"></script>
</body>
</html>