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.

4,732 lines 96.1 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+/Yjp2rFF8Sx5atsRMgpbRWC7Q9tF2rfbYtpZQYKBRoS4aWpeFWD3DKluW0Hvd2oGnppKHAlps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EJSsuVFkeDMW8UAAACwSURBVJvlTfGWDKGANt+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="IGSVectorTileLayer.html">Class: IGSVectorTileLayer</h1>
        



<section>
    
<header>
    <h2></span>IGSVectorTileLayer
    
    
    </h2>
    
</header>  

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

    
    <p class="summary"><h5>支持如下方法:</h5>
<a href='#findSublayerById'>[1、根据子图层id查询图层]</a><br/>
<a href='#fromJSON'>[2、通过传入的json构造并返回一个新的IGSVectorTileLayer对象]</a><br/>
<a href='#toJSON'>[3、导出为json对象]</a><br/>
<a href="VectorTileLayer.html#getStyleLayer"><code>4、通过矢量瓦片样式图层的id,找到对应的矢量瓦片样式图层对象</code></a><br/>
<a href="VectorTileLayer.html#getStyleLayerIndex"><code>5、通过矢量瓦片样式图层的id,找到对应的矢量瓦片样式图层的序号</code></a><br/>
<a href="VectorTileLayer.html#getStyleLayerId"><code>6、通过矢量瓦片样式图层的序号,找到对应的矢量瓦片样式图层的id</code></a><br/>
<a href="VectorTileLayer.html#setStyleLayer"><code>7、设置样式图层属性对象</code></a><br/>
<a href="VectorTileLayer.html#deleteStyleLayer"><code>8、删除样式图层</code></a><br/>
<a href="VectorTileLayer.html#setStyleLayerVisibility"><code>9、设置样式图层可见性</code></a><br/>
<a href="VectorTileLayer.html#getStyleLayerVisibility"><code>10、获取样式图层可见性</code></a><br/>
<a href="VectorTileLayer.html#getPaintProperties"><code>11、获取样式图层绘制属性</code></a><br/>
<a href="VectorTileLayer.html#setPaintProperties"><code>12、设置样式图层绘制属性</code></a><br/>
<a href="VectorTileLayer.html#getLayoutProperties"><code>13、获取样式图层布局属性</code></a><br/>
<a href="VectorTileLayer.html#setLayoutProperties"><code>14、设置样式图层布局属性</code></a><br/>
<a href="VectorTileLayer.html#clone"><code>17、克隆图层</code></a><br/></p>
    
</dt>
<dd>
    
    
    <div class="description">
        <p>IGS矢量瓦片图层<br/>
支持IGS1.0和2.0两个服务版本<br/>
<br/>
支持通过如下三种方式来初始化矢量瓦片图层对象:<br/>
1、通过服务基地址来初始化矢量瓦片图层对象;<br/>
2、通过加载矢量瓦片样式文件的方式来初始化矢量瓦片图层对象;<br/>
3、通过设置矢量瓦片样式的方式来初始化矢量瓦片图层对象;<br/>
当加载MapGIS制作并由IGS发布的矢量瓦片时,如果矢量瓦片样式中有mapinfo参数,则子图层ID对应的是MapX中的图层索引;
如果没有mapinfo参数,则子图层ID对应的是矢量瓦片样式图层ID;<br/>
当加载第三方发布的矢量瓦片时,子图层ID对应的是矢量瓦片样式图层ID;<br/>
<br><br>[ES5引入方式]:<br/>
zondy.layer.IGSVectorTileLayer() <br/>
[ES6引入方式]:<br/>
import { IGSVectorTileLayer } 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>
<br/>
<br/>
注意:三维上,不支持简单Marker样式设定;二维上,简单Marker的颜色,外边线样式,旋转角度无法在图层初始化和初始化后修改,须在制作数据时进行指定</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>
IGS1.0的服务基地址为:http://{ip}:6163/igs/rest/mrcs/vtiles/{folder}:{serviceName}<br>
IGS2.0的服务基地址为:http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}/VectorTileServer<br>
参考示例:<a href='#igs-2'>[IGS2.0的矢量瓦片示例]</a><br/>
服务基地址也支持传入矢量瓦片样式文件地址:<br>
样式文件地址:http://{文件服务路径}/{样式文件名称}.json<br>
请注意当服务基地址内容为矢量瓦片样式文件地址时,请保证图层名和数据源名称一致,否则会导致接口请求异常<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>矢量瓦片的mvt样式对象,默认从服务中获取,用户也可主动传入mvt样式对象来构造一个矢量瓦片图层,此时会忽略用户输入的url参数<br/>
和url参数二者选其一<br>
参考示例:<a href='#mvt-style'>[通过mvt样式对象来构造矢量瓦片示例]</a></p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>sublayers</code></td>
            
            
            <td class="type">
            
                
<span class="param-type"><a href="Collection.html">Collection</a>.&lt;<a href="IGSVectorTileSubLayer.html">IGSVectorTileSubLayer</a>></span>


            
            </td>
            
            
                <td class="default">
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>会通过该参数中指定的子图层列表对矢量瓦片服务中的子图层进行过滤,不在列表中的子图层将不会显示;如果没有指定该参数,则会按照矢量瓦片服务中的子图层的属性显示所有子图层;如果该参数为空数组,则矢量瓦片服务所有的子图层都不显示。<br>
目前支持的专题图如下:<br>
<a href="UniqueValueRenderer.html"><code>1、单值专题图</code></a><br/>
<a href="ClassBreakRenderer.html"><code>2、分段专题图</code></a><br/>
<a href="SimpleRenderer.html"><code>3、统一专题图</code></a><br/>
参考示例:<br/>
<a href='#showAllSubLayers'>[1、显示所有子图层]</a><br/>
<a href='#showSubLayersById'>[2、根据id显示子图层]</a><br/>
<a href='#showSubLayers-property'>[3、通过修改子图参数,设置子图层显隐]</a><br/>
<a href='#setLayerRenderer-unique'>[4、设置子图层专题图-单值专题图]</a><br/>
<a href='#setLayerRenderer-break'>[5、设置子图层专题图-分段专题图]</a><br/>
<a href='#setLayerRenderer-simple'>[6、设置子图层专题图-统一专题图]</a><br/>
<a href='#setLayerRenderer-property'>[7、通过修改子图参数,设置子图层专题图]</a><br/></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>指定矢量瓦片注记的渲染模式,仅在三维上有效<br/>
on-screen: 使用Cesium接口实时渲染注记<br/>
off-screen: 使用矢量瓦片来绘制注记<br/>
三维注记目前不支持修改透明度和显隐参数<br>
请注意模式切换时,会造成性能损失,在显卡较弱的机器上会出现卡顿现象<br/>
参考示例:<a href='#labels-3d'>[矢量瓦片三维注记]</a><a href='#labels-mode'>[切换三维注记模式]</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>
	
	
	
        <tr>
            
                <td class="name"><code>replaceStyleURL</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>初始化图层时,是否将样式中的基地址替换为图层的基地址</p></td>
        </tr>
	
	
	
        <tr>
            
                <td class="name"><code>replaceStyleURLRegExp</code></td>
            
            
            <td class="type">
            
                
<span class="param-type">RegExp</span>


            
            </td>
            
            
                <td class="default">
                
                    '预定义的正则表达式'
                
                </td>
            
            
            <td class="description last">
                
                    
                        <span class="optional"> 可选</span>
                    
                    
                        
                    
                
                <p>当replaceStyleURL设置为true时,将样式中的基地址替换为图层的基地址操作中使用的正则表达式</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='igs-1'>IGS1.0的矢量瓦片示例</h7></p>
    

    
    <pre class="prettyprint"><code>//初始化地图管理容器
// ES5引入方式
const { IGSVectorTileLayer } = zondy.layer
const { SpatialReference } = zondy
// ES6引入方式
import { IGSVectorTileLayer, SpatialReference } from "@mapgis/webclient-common"
//初始化矢量瓦片图层
const igsVectorTileLayer = new IGSVectorTileLayer({
  // 矢量瓦片基地址
  url: ''
});</code></pre>
    

        <p class="code-caption"><h7 id='igs-2'>IGS2.0的矢量瓦片示例</h7></p>
    

    
    <pre class="prettyprint"><code> // ES5引入方式
const { IGSVectorTileLayer } = zondy.layer
// ES6引入方式
import { IGSVectorTileLayer } from "@mapgis/webclient-common"
// 初始化矢量瓦片图层
const igsVectorTileLayer = new IGSVectorTileLayer({
  // 矢量瓦片基地址
  url: ''
});</code></pre>
    

        <p class="code-caption"><h7 id='mvt-style'>通过mvt样式对象来构造矢量瓦片示例</h7></p>
    

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

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

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

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

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

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

    
    <pre class="prettyprint"><code>// ES5引入方式
const { LabelClass } = zondy
const { IGSVectorTileLayer } = zondy.layer
// ES6引入方式
import { IGSVectorTileLayer, LabelClass } from "@mapgis/webclient-common"
// 初始化一个额外的图标DOM对象
const iconImage = new Image()
iconImage.src = '图片地址或者base64字符串'
// 初始化矢量瓦片图层
const igsVectorTileLayer = new IGSVectorTileLayer({
  // 矢量瓦片基地址
  url: '',
  // 开启三维注记
  labelsRenderMode: 'on-screen',
  // 设置要应用三维主句的子图层
  sublayers: [{
    // 矢量瓦片子图层id
    id: '矢量瓦片子图层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='labels-mode'>切换三维注记模式</h7></p>
    

    
    <pre class="prettyprint"><code>// 矢量瓦片渲染模式
igsVectorTileLayer.labelsRenderMode = 'off-screen'
// Cesium三维渲染模式
igsVectorTileLayer.labelsRenderMode = 'on-screen'</code></pre>
    

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

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

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

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

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

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

        <p class="code-caption"><h7 id='showAllSubLayers'>显示所有子图层</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',
  //默认不设置sublayers,加载全部图层
});</code></pre>
    

        <p class="code-caption"><h7 id='showSubLayersById'>根据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',
  // 根据id显示子图层
  sublayers: [
     {
       // 子图层id
       id: '子图层id',
       // 显示子图层
       visible: true
     }
   ]
});</code></pre>
    

        <p class="code-caption"><h7 id='showSubLayers-property'>通过修改子图参数,设置子图层显隐</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'
});
igsVectorTileLayer.on('layerview-created', function (result) {
  console.log("加载完毕:", result.layer)
  // 根据id获取子图层
  const subLayer = igsVectorTileLayer.findSublayerById('图层id')
  // 设置子图层显隐
  subLayer.visible = false
})</code></pre>
    

        <p class="code-caption"><h7 id='setLayerRenderer-unique'>设置子图层专题图-单值专题图</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { IGSVectorTileLayer } = zondy.layer
const { UniqueValueRenderer } = zondy.renderer
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
const { Color } = zondy
// ES6引入方式
import { IGSVectorTileLayer,UniqueValueRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-common"
const igsVectorTileLayer = new IGSVectorTileLayer({
  // 服务基地址,当不指定图层名称时,默认查询第一个子图层
  url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
  // 设置子图层专题图
  sublayers: [
     {
       // 子图层id
       id: '子图层id',
       // 设置渲染样式-单值专题图
       renderer: new UniqueValueRenderer({
         //专题图过滤字段名
         field: '你的字段名',
         // 默认样式,当没有匹配到指定值时,会使用默认样式
         //因为该数据的几何类型为区,因此设置区样式
         defaultSymbol: new SimpleFillSymbol({
           // 填充颜色
           color: 'rgba(1,1,252,0)',
           // 外边线样式
           outline: new SimpleLineSymbol({
             //线颜色
             color: new Color(255, 1, 0, 1),
             //线宽
             width: 1
           })
         }),
         //单值专题图过滤调条件数组
         uniqueValueInfos: [{
           //指定字段值
           value: "指定的值",
           //匹配到该值后的样式
           //因为该数据的几何类型为区,因此设置区样式
           symbol: new SimpleFillSymbol({
             // 填充颜色
             color: 'rgba(1,1,252,1)',
             // 外边线样式
             outline: new SimpleLineSymbol({
               //线符号颜色
               color: new Color(255, 1, 0, 11),
               //线宽
               width: 1
               })
             })
           },{
             //指定字段值
             value: "指定的值",
             //匹配到该值后的样式
             //因为该数据的几何类型为区,因此设置区样式
             symbol: new SimpleFillSymbol({
               // 填充颜色
               color: new Color(211, 111, 11, 1)
             })
           }]
       })
     }
  ]
});</code></pre>
    

        <p class="code-caption"><h7 id='setLayerRenderer-break'>设置子图层专题图-分段专题图</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { IGSVectorTileLayer } = zondy.layer
const { ClassBreakRenderer } = zondy.renderer
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
const { Color } = zondy
// ES6引入方式
import { IGSVectorTileLayer,ClassBreakRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
const igsVectorTileLayer = new IGSVectorTileLayer({
  // 服务基地址,当不指定图层名称时,默认查询第一个子图层
  url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
  // 设置子图层专题图
  sublayers: [
    {
     // 子图层id
     id: '子图层id',
     // 设置渲染样式-分段专题图
     renderer: new ClassBreakRenderer({
       //专题图过滤字段名
       field: '你的字段名',
       // 默认样式,当没有匹配到指定值时,会使用默认样式
       // 因为该数据的几何类型为区,因此设置区样式
       defaultSymbol:  new SimpleFillSymbol({
         // 填充颜色
         color: 'rgba(222,1,252,1)',
         // 线符号样式
         outline: new SimpleLineSymbol({
           //线符号颜色
           color: new Color(255, 1, 0, 1),
           //线宽
           width: 1
         })
       }),
       //分段专题图过滤条件数组
       classBreakInfos: [{
         // 最大过滤范围,field对应的值小于maxValue
         maxValue: "最大范围",
         // 最小过滤范围,field对应的值大于等于minValue
         minValue: "最小范围",
         // 匹配到该值后的样式
         // 因为该数据的几何类型为区,因此设置区样式
         symbol:  new SimpleFillSymbol({
           // 填充颜色
           color: 'rgba(1,1,252,1)',
           // 线符号样式
           outline: new SimpleLineSymbol({
             //线符号颜色
             color: new Color(255, 1, 0, 1),
             //线宽
             width: 1
           })
         })
       }]
     })
   }
 ]
});</code></pre>
    

        <p class="code-caption"><h7 id='setLayerRenderer-property'>通过修改子图参数,设置子图层专题图</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { IGSVectorTileLayer } = zondy.layer
const { ClassBreakRenderer } = zondy.renderer
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
const { Color } = zondy
// ES6引入方式
import { IGSVectorTileLayer,ClassBreakRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
const igsVectorTileLayer = new IGSVectorTileLayer({
  // 服务基地址
  url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer'
});
// 根据id获取子图层
const subLayer = igsVectorTileLayer.findSublayerById('子图层id')
// 设置渲染样式-分段专题图
subLayer.renderer = new ClassBreakRenderer({
    // 专题图过滤字段名
    field: '你的字段名',
    // 默认样式,当没有匹配到指定值时,会使用默认样式
    // 因为该数据的几何类型为区,因此设置区样式
    defaultSymbol:  new SimpleFillSymbol({
      // 填充颜色
      color: 'rgba(222,1,252,1)',
      // 线符号样式
      outline: new SimpleLineSymbol({
        //线符号颜色
        color: new Color(255, 1, 0, 1),
        //线宽
        width: 1
      })
    }),
    //分段专题图过滤条件数组
    classBreakInfos: [{
      // 最大过滤范围,field对应的值小于maxValue
      maxValue: "最大范围",
      // 最小过滤范围,field对应的值大于等于minValue
      minValue: "最小范围",
      // 匹配到该值后的样式
      // 因为该数据的几何类型为区,因此设置区样式
      symbol:  new SimpleFillSymbol({
        // 填充颜色
        color: 'rgba(1,1,252,1)',
        // 线符号样式
        outline: new SimpleLineSymbol({
          //线符号颜色
          color: new Color(255, 1, 0, 1),
          //线宽
          width: 1
        })
      })
    }]
  })</code></pre>
    

        <p class="code-caption"><h7 id='setLayerRenderer-simple'>统一专题图</h7></p>
    

    
    <pre class="prettyprint"><code>// ES5引入方式
const { IGSVectorTileLayer } = zondy.layer
const { SimpleRenderer } = zondy.renderer
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
const { Color } = zondy
// ES6引入方式
import { IGSVectorTileLayer,SimpleRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
const igsVectorTileLayer = new IGSVectorTileLayer({
  // 服务基地址
  url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
  // 设置子图层专题图
  sublayers: [{
    // 子图层id
    id: '子图层id',
    // 设置渲染样式-统一专题图
    renderer: new SimpleRenderer({
    // 因为该数据的几何类型为区,因此设置区样式
    symbol: new SimpleFillSymbol({
      // 填充颜色
      color: new zondy.Color(255, 0, 0),
      // 外边线样式
      outline: new SimpleLineSymbol({
        // 线颜色
        color: new Color(0, 0, 0),
        // 线宽度
        width: 1
      })
    })
  })
  }]
})</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="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="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">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    IGS矢量瓦片图层</li></ul></dd>
    
    
    
    
    
    
    
</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">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    IGS矢量瓦片图层</li></ul></dd>
    
    
    
    
    
    
    
</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="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="replaceStyleURL">replaceStyleURL<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>
    true</li></ul></dd>
    
    
    
    
    
    
    
</dl>

    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="replaceStyleURLRegExp">replaceStyleURLRegExp<span class="type-signature type regexp">RegExp</span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>当replaceStyleURL设置为true时,将样式中的基地址替换为图层的基地址操作中使用的正则表达式</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="type">type<span class="type-signature type layertype"><a href="LayerType.html">LayerType</a></span> </h4>
    </div>
    
    
</dt>
<dd>
    
    <div class="description">
        <p>图层类型</p>
    </div>
    
    
    
<dl class="details">
    
        
    
    
    

    
    
    
    
    
    
    
    
    
    <dt class="tag-default">Default Value:</dt>
    <a href="LayerType.html#.IGSVectorTile">LayerType.IGSVectorTile</a></li></ul></dd>
    
    
    
    
    
    
    
</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>

        </dl>
    

    

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

    
</dt>
<dd>
    
    
    <div class="description">
        <p>通过传入的json构造并返回一个新的VectorTileLayer对象<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="IGSVectorTileLayer.html">IGSVectorTileLayer</a>
                        
                    
            </td>
            <td class="description last">新的VectorTileLayer对象</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="IGSVectorTileLayer.html">IGSVectorTileLayer</a>}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/igserver/IGSVectorTileLayer.js, line 1008
        </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="IGSVectorTileLayer.html">IGSVectorTileLayer</a>
                        
                    
            </td>
            <td class="description last">IGS矢量瓦片对象</td>
        </tr>
    
    </tbody>
</table>

    
    
    
</dd>

        
            
<dt>
    <div class="nameContainer">
        <h4 class="name" id="covertCustomStyleToMVTStyle">
            
            covertCustomStyleToMVTStyle<span class="signature">(customStyle)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
        </h4>
    
        
        <div class="tag-source">
            document/layer/igserver/IGSVectorTileLayer.js, line 628
        </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>
	
	
	</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="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="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="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="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/igserver/IGSVectorTileLayer.js, line 996
        </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:56 GMT+0800 (中国标准时间)
        </footer>
    </div>
</div>

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