UNPKG

@mapgis/webclient-leaflet-plugin

Version:

开发时需要引入MapGIS Client for JavaScript(Leaflet)开发包;其中包括必备的 CSS 文件和 JS 文件;

6,676 lines 93.1 kB
<header id="page-title" class="page-title">
    
        <span class="page-title-main">类名</span>
        <span class="page-title-sub">rankSymbolThemeLayer</span>
    
</header>





<section>

<article>
    <div class="container-overview">
    
        
            <div class='vertical-section'>
                <div class="members">
                    <div class="member">
                        


    
    <h4 class="name" id="rankSymbolThemeLayer">
        <a class="href-link" href="#rankSymbolThemeLayer">#</a>
        
        <span class="code-name" id="rankSymbolThemeLayer" style="font-size:30px">
            
                new rankSymbolThemeLayer<span class="signature">(name, symbolType, options)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>符号专题图通过为每个要素绘制符号大小来反映其对应的专题值的大小;它只能表示单个个字段属性信息。
符号专题图多用于具有相关数量特征的地图上,比如表示不同地区粮食产量、GDP、人口等。
即通过制作一个符号专题图,就可以清晰展示各个区域相关Value的分布差异等。
目前提供的符号图形有:圆形(后续进行扩展 心形 五角星 多角心 图片等)</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            
            <th style="min-width: 100px;">默认值</th>
            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>name</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>专题图层名。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>symbolType</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.ChartType
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>符号类型。目前支持:&quot;Circle&quot;。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>options</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Object
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>参数。</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>isOverLay</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             boolean
    
</span>



  
  </td>

  
      <td class="default">
      
          true
      
      </td>
  

  <td class="description last"><p>是否进行压盖处理,如果设为 true,图表绘制过程中将隐藏对已在图层中绘制的图表产生压盖的图表。</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>themeFields</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>指定创建专题图字段。</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <td class="name"><code>id</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  
      <td class="default">
      
      </td>
  

  <td class="description last"><p>专题图层 ID。默认使用 CommonUtil.createUniqueID(&quot;themeLayer_&quot;) 创建专题图层 ID。</p></td>
</tr>


  
    
<tr class="deep-level-1">
  
      <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"><p>图层透明度。</p></td>
</tr>


  



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>
























                    </div>
                </div>
            </div>
        
    
    </div>
    
    
        <h3 class="subsection-title">继承关系</h3>

        


    <ul>
        <li><a link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html">zondy.themelayer.GraphThemeLayer</a></li>
    </ul>


    

    

    

    

    

    

    
        <div class='vertical-section'>
            <h3 id='member'>成员变量</h3>
            <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
            <div class="table-container">
                <table class="params table">
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>类型</th>
                        <th>描述</th>
                    </tr>
                    </thead>
                    <tbody>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#symbolSetting">symbolSetting</a></code></td>
                                <td class="name">
                                    <code>
                                        
<span class="param-type">
    
             Object
    
</span>



                                    </code>
                                </td>
                                <td class="name"><code><p>符号 Circle 配置对象。</p></code></td>
                            </tr>
                        
                    </tbody>
                </table>
            </div>
            <h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
            <div class="members">
            
                <div class="member">

    <span class="method-parameter is-pulled-right">
        <label>类型:</label>
        
<span class="param-type">
    
             Object
    
</span>



    </span>

<h4 class="name" id="symbolSetting">
    <a class="href-link" href="#symbolSetting">#</a>
    
    <span class="code-name">
        symbolSetting
    </span>
    
</h4>




<div class="description">
    <p>符号 Circle 配置对象。</p>
</div>





    <h5 class="subsection-title">属性:</h5>

    
<div class="table-container">
    <table class="props table">
        <thead>
        <tr>
            
            <th>Name</th>
            

            <th>Type</th>

            
            <th>Attributes</th>
            

            
            <th>Default</th>
            

            <th class="last">Description</th>
        </tr>
        </thead>

        <tbody>
        
            
<tr class="deep-level-0">
    
        <td class="name"><code>codomain</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             Array
    
</span>



    
    </td>

    
        <td class="attributes">
        

        
        </td>
    

    
        <td class="default">
        
        </td>
    

    <td class="description last"><p>值域,长度为 2 的一维数组,第一个元素表示值域下限,第二个元素表示值域上限。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>maxR</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             number
    
</span>



    
    </td>

    
        <td class="attributes">
        
            &lt;optional><br>
        

        
        </td>
    

    
        <td class="default">
        
        </td>
    

    <td class="description last"><p>圆形的最大半径。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>minR</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             number
    
</span>



    
    </td>

    
        <td class="attributes">
        
            &lt;optional><br>
        

        
        </td>
    

    
        <td class="default">
        
        </td>
    

    <td class="description last"><p>圆形的最小半径。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>fillColor</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             string
    
</span>



    
    </td>

    
        <td class="attributes">
        
            &lt;optional><br>
        

        
        </td>
    

    
        <td class="default">
        
        </td>
    

    <td class="description last"><p>圆形的填充色,如:fillColor: &quot;#FFB980&quot;。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>circleStyle</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             Object
    
</span>



    
    </td>

    
        <td class="attributes">
        
            &lt;optional><br>
        

        
        </td>
    

    
        <td class="default">
        
        </td>
    

    <td class="description last"><p>圆形的基础 style,此参数控制圆形基础样式,优先级低于 circleStyleByFields 和 circleStyleByCodomain。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>decimalNumber</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             number
    
</span>



    
    </td>

    
        <td class="attributes">
        
            &lt;optional><br>
        

        
        </td>
    

    
        <td class="default">
        
        </td>
    

    <td class="description last"><p>数据值数组 dataValues 元素值小数位数,数据的小数位处理参数,取值范围:[0, 16]。如果不设置此参数,在取数据值时不对数据做小数位处理。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>circleHoverStyle</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             Object
    
</span>



    
    </td>

    
        <td class="attributes">
        
            &lt;optional><br>
        

        
        </td>
    

    
        <td class="default">
        
        </td>
    

    <td class="description last"><p>圆形 hover 状态时的样式,circleHoverAble 为 true 时有效。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>circleHoverAble</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             boolean
    
</span>



    
    </td>

    
        <td class="attributes">
        
            &lt;optional><br>
        

        
        </td>
    

    
        <td class="default">
        
            true
        
        </td>
    

    <td class="description last"><p>是否允许圆形使用 hover 状态。同时设置 circleHoverAble 和 circleClickAble 为 false,可以直接屏蔽图形对专题图层事件的响应。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>circleClickAble</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             boolean
    
</span>



    
    </td>

    
        <td class="attributes">
        
            &lt;optional><br>
        

        
        </td>
    

    
        <td class="default">
        
            true
        
        </td>
    

    <td class="description last"><p>是否允许圆形被点击。同时设置 circleHoverAble 和 circleClickAble 为 false,可以直接屏蔽图形对专题图层事件的响应。</p></td>
</tr>

        
        </tbody>
    </table>
</div>



<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>





</div>
            
            </div>
        </div>
    

    
        <div class='vertical-section'>
            <h3 id='function'>方法</h3>
            <h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
            <div class="members">
            <div class="table-container">
                <table class="params table">
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>返回值类型</th>
                        <th>描述</th>
                    </tr>
                    </thead>
                    <tbody>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#addFeatures">addFeatures</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>向专题图图层中添加数据。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#clear">clear</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>清除图层。清除的内容包括数据(features) 、专题要素、缓存。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#clearCache">clearCache</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>判断图表是否大小合适,超过地图范围的1/4的不绘制。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#createThematicFeature">createThematicFeature</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                                
<span class="param-type">
    
             zondy.Theme
    
</span>



                                            
                                    </code>
                                </td>
                                <td class="name"><code><p>创建专题要素(图形)</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#destroyFeatures">destroyFeatures</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>销毁要素。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#drawCharts">drawCharts</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>绘制图表。包含压盖处理。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#getEvents">getEvents</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                                
<span class="param-type">
    
             Object
    
</span>



                                            
                                    </code>
                                </td>
                                <td class="name"><code><p>获取图层事件。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#getFeatureBy">getFeatureBy</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>在专题图的要素数组 features 里面遍历每一个 feature,当 feature[property] === value 时,返回此 feature(并且只返回第一个)。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#getFeatureById">getFeatureById</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>通过给定一个 ID,返回对应的矢量要素,如果不存在则返回 null。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#getFeatures">getFeatures</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                                
<span class="param-type">
    
             Array
    
</span>



                                            
                                    </code>
                                </td>
                                <td class="name"><code><p>查看当前图层中的有效数据。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#getFeaturesByAttribute">getFeaturesByAttribute</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                                
<span class="param-type">
    
             Array
    
</span>



                                            
                                    </code>
                                </td>
                                <td class="name"><code><p>通过给定一个属性的 key 值和 value 值,返回所有匹配的要素数组。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#getLocalXY">getLocalXY</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>地理坐标转为像素坐标。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#getShapesByFeatureID">getShapesByFeatureID</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>通过 FeatureID 获取 feature 关联的所有图形。如果不传入此参数,函数将返回所有图形。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#getWeightFieldValue">getWeightFieldValue</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>获取权重字段的值。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#initialize">initialize</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>初始化。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#isChartInMap">isChartInMap</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>判断图表是否在地图里。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#isPointInPoly">isPointInPoly</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>判断一个点是否在多边形里面。(射线法)</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#isQuadrilateralOverLap">isQuadrilateralOverLap</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>判断两个四边形是否有压盖。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#lineIntersection">lineIntersection</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                                
<span class="param-type">
    
             Object
    
</span>



                                            
                                    </code>
                                </td>
                                <td class="name"><code><p>判断两条线段是不是有交点。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#off">off</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>移除专题要素事件监听。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#on">on</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>添加专题要素事件监听。添加专题要素事件监听。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#onRemove">onRemove</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>删除某个地图。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#redraw">redraw</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>重绘该图层,成功则返回 true,否则返回 false。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#redrawThematicFeatures">redrawThematicFeatures</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>重绘所有专题要素 此方法包含绘制专题要素的所有步骤,包含用户数据到专题要素的转换,压盖处理,缓存等步骤。地图漫游时调用此方法进行图层刷新。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#removeAllFeatures">removeAllFeatures</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>清除当前图层所有的矢量要素。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#removeFeatures">removeFeatures</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>从专题图中删除 feature。这个函数删除所有传递进来的矢量要素(数据)。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#setChartsType">setChartsType</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>设置图表类型,此函数可动态改变图表类型。在调用此函数前请通过 chartsSetting 为新类型的图表做相关配置。图表类型,目前支持:&quot;Bar&quot;, &quot;Bar3D&quot;, &quot;Line&quot;,&quot;Point&quot;,&quot;Pie&quot;,&quot;Ring&quot;。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#setOpacity">setOpacity</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>设置图层的不透明度,取值 [0-1] 之间。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#setSymbolType">setSymbolType</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>设置符号类型,此函数可动态改变图表类型。在调用此函数前请通过 symbolSetting 为新类型的图表做相关配置。</p></code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a href="#update">update</a></code></td>
                                <td class="name">
                                    <code>
                                        
                                    </code>
                                </td>
                                <td class="name"><code><p>更新图层。</p></code></td>
                            </tr>
                        
                    </tbody>
                </table>
            </div>
            <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
            
                <div class="member">


    
    <h4 class="name" id="addFeatures">
        <a class="href-link" href="#addFeatures">#</a>
        
        <span class="code-name" id="addFeatures" style="font-size:30px">
            
                addFeatures<span class="signature">(features)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>向专题图图层中添加数据。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>features</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             L.features
    
</span>



  
  </td>

  

  <td class="description last"><p>待添加的要素。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="addFeatures" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#addFeatures">zondy.themelayer.GraphThemeLayer#addFeatures</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="clear">
        <a class="href-link" href="#clear">#</a>
        
        <span class="code-name" id="clear" style="font-size:30px">
            
                clear<span class="signature">()</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>清除图层。清除的内容包括数据(features) 、专题要素、缓存。</p>
    </div>
    













<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="clear" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#clear">zondy.themelayer.GraphThemeLayer#clear</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="clearCache">
        <a class="href-link" href="#clearCache">#</a>
        
        <span class="code-name" id="clearCache" style="font-size:30px">
            
                clearCache<span class="signature">(mapPxBounds, chartPxBounds)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>判断图表是否大小合适,超过地图范围的1/4的不绘制。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>mapPxBounds</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.Bounds
    
</span>



  
  </td>

  

  <td class="description last"><p>地图像素范围。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>chartPxBounds</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
         Array.&lt;Object>
    
</span>



  
  </td>

  

  <td class="description last"><p>图表范围的四边形节点数组。<br>
例如:[{&quot;x&quot;:1,&quot;y&quot;:1},{&quot;x&quot;:3,&quot;y&quot;:1},{&quot;x&quot;:6,&quot;y&quot;:4},{&quot;x&quot;:2,&quot;y&quot;:10},{&quot;x&quot;:1,&quot;y&quot;:1}]。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="zondy.themelayer.GraphThemeLayer.html#clearCache">zondy.themelayer.GraphThemeLayer#clearCache</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="createThematicFeature">
        <a class="href-link" href="#createThematicFeature">#</a>
        
        <span class="code-name" id="createThematicFeature" style="font-size:30px">
            
                createThematicFeature<span class="signature">(feature)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>创建专题要素(图形)</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>feature</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.Feature.Vector
    
</span>



  
  </td>

  

  <td class="description last"><p>要创建的专题图形要素</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    

    
    <dt class="tag-overrides">Overrides:</dt>
    <dd class="tag-overrides"><ul class="dummy"><li>
        <a href="zondy.themelayer.GraphThemeLayer.html#createThematicFeature">zondy.themelayer.GraphThemeLayer#createThematicFeature</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>


















    <div class='columns method-parameter'>
        <div class="column is-2"><label>返回值</label></div>
        <div class="column is-10">
            
                    

<div class="columns">
    
    <div class='param-desc column is-7'><p>专题图形</p></div>
    
    
    <div class='column is-5 has-text-left'>
        <label>类型: </label>
        
<span class="param-type">
    
             zondy.Theme
    
</span>



    </div>
    
</div>

                
        </div>
    </div>






</div>
            
                <div class="member">


    
    <h4 class="name" id="destroyFeatures">
        <a class="href-link" href="#destroyFeatures">#</a>
        
        <span class="code-name" id="destroyFeatures" style="font-size:30px">
            
                destroyFeatures<span class="signature">(features)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>销毁要素。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>features</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
         Array.&lt;zondy.Feature.Vector>
    
</span>



  
  </td>

  

  <td class="description last"><p>将被销毁的要素。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="destroyFeatures" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#destroyFeatures">zondy.themelayer.ThemeLayer#destroyFeatures</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="drawCharts">
        <a class="href-link" href="#drawCharts">#</a>
        
        <span class="code-name" id="drawCharts" style="font-size:30px">
            
                drawCharts<span class="signature">()</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>绘制图表。包含压盖处理。</p>
    </div>
    













<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="drawCharts" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#drawCharts">zondy.themelayer.GraphThemeLayer#drawCharts</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="getEvents">
        <a class="href-link" href="#getEvents">#</a>
        
        <span class="code-name" id="getEvents" style="font-size:30px">
            
                getEvents<span class="signature">()</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>获取图层事件。</p>
    </div>
    













<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="getEvents" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#getEvents">zondy.themelayer.ThemeLayer#getEvents</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>


















    <div class='columns method-parameter'>
        <div class="column is-2"><label>返回值</label></div>
        <div class="column is-10">
            
                    

<div class="columns">
    
    <div class='param-desc column is-7'><p>返回图层支持的事件。</p></div>
    
    
    <div class='column is-5 has-text-left'>
        <label>类型: </label>
        
<span class="param-type">
    
             Object
    
</span>



    </div>
    
</div>

                
        </div>
    </div>






</div>
            
                <div class="member">


    
    <h4 class="name" id="getFeatureBy">
        <a class="href-link" href="#getFeatureBy">#</a>
        
        <span class="code-name" id="getFeatureBy" style="font-size:30px">
            
                getFeatureBy<span class="signature">(property, value)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>在专题图的要素数组 features 里面遍历每一个 feature,当 feature[property] === value 时,返回此 feature(并且只返回第一个)。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>property</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>要的某个属性名。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>value</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>对应属性名得值。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="getFeatureBy" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#getFeatureBy">zondy.themelayer.ThemeLayer#getFeatureBy</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="getFeatureById">
        <a class="href-link" href="#getFeatureById">#</a>
        
        <span class="code-name" id="getFeatureById" style="font-size:30px">
            
                getFeatureById<span class="signature">(featureId)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>通过给定一个 ID,返回对应的矢量要素,如果不存在则返回 null。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>featureId</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             number
    
</span>



  
  </td>

  

  <td class="description last"><p>要素 ID。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="getFeatureById" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#getFeatureById">zondy.themelayer.ThemeLayer#getFeatureById</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="getFeatures">
        <a class="href-link" href="#getFeatures">#</a>
        
        <span class="code-name" id="getFeatures" style="font-size:30px">
            
                getFeatures<span class="signature">()</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>查看当前图层中的有效数据。</p>
    </div>
    













<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="getFeatures" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#getFeatures">zondy.themelayer.ThemeLayer#getFeatures</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>


















    <div class='columns method-parameter'>
        <div class="column is-2"><label>返回值</label></div>
        <div class="column is-10">
            
                    

<div class="columns">
    
    <div class='param-desc column is-7'><p>返回图层中的有效数据。</p></div>
    
    
    <div class='column is-5 has-text-left'>
        <label>类型: </label>
        
<span class="param-type">
    
             Array
    
</span>



    </div>
    
</div>

                
        </div>
    </div>






</div>
            
                <div class="member">


    
    <h4 class="name" id="getFeaturesByAttribute">
        <a class="href-link" href="#getFeaturesByAttribute">#</a>
        
        <span class="code-name" id="getFeaturesByAttribute" style="font-size:30px">
            
                getFeaturesByAttribute<span class="signature">(attrName, attrValue)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>通过给定一个属性的 key 值和 value 值,返回所有匹配的要素数组。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>attrName</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>key 值。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>attrValue</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>value 值。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="getFeaturesByAttribute" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#getFeaturesByAttribute">zondy.themelayer.ThemeLayer#getFeaturesByAttribute</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>


















    <div class='columns method-parameter'>
        <div class="column is-2"><label>返回值</label></div>
        <div class="column is-10">
            
                    

<div class="columns">
    
    <div class='param-desc column is-7'><p>返回所有匹配的要素数组。</p></div>
    
    
    <div class='column is-5 has-text-left'>
        <label>类型: </label>
        
<span class="param-type">
    
             Array
    
</span>



    </div>
    
</div>

                
        </div>
    </div>






</div>
            
                <div class="member">


    
    <h4 class="name" id="getLocalXY">
        <a class="href-link" href="#getLocalXY">#</a>
        
        <span class="code-name" id="getLocalXY" style="font-size:30px">
            
                getLocalXY<span class="signature">(coordinate)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>地理坐标转为像素坐标。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>coordinate</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Array
    
</span>



  
  </td>

  

  <td class="description last"></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="getLocalXY" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#getLocalXY">zondy.themelayer.ThemeLayer#getLocalXY</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="getShapesByFeatureID">
        <a class="href-link" href="#getShapesByFeatureID">#</a>
        
        <span class="code-name" id="getShapesByFeatureID" style="font-size:30px">
            
                getShapesByFeatureID<span class="signature">(featureID)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>通过 FeatureID 获取 feature 关联的所有图形。如果不传入此参数,函数将返回所有图形。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>featureID</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             number
    
</span>



  
  </td>

  

  <td class="description last"><p>要素 ID。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="getShapesByFeatureID" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#getShapesByFeatureID">zondy.themelayer.GraphThemeLayer#getShapesByFeatureID</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="getWeightFieldValue">
        <a class="href-link" href="#getWeightFieldValue">#</a>
        
        <span class="code-name" id="getWeightFieldValue" style="font-size:30px">
            
                getWeightFieldValue<span class="signature">(feature, weightField, defaultValue)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>获取权重字段的值。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>feature</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.Feature.Vector
    
</span>



  
  </td>

  

  <td class="description last"><p>矢量要素。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>weightField</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
         Array.&lt;string>
    
</span>



  
  </td>

  

  <td class="description last"><p>字段名数组。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>defaultValue</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             number
    
</span>



  
  </td>

  

  <td class="description last"><p>当通过 weightField 获取不到权重值时,使用 defaultValue 作为权重值。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="getWeightFieldValue" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#getWeightFieldValue">zondy.themelayer.GraphThemeLayer#getWeightFieldValue</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="initialize">
        <a class="href-link" href="#initialize">#</a>
        
        <span class="code-name" id="initialize" style="font-size:30px">
            
                initialize<span class="signature">(name, chartsType, options)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>初始化。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>name</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>专题图名。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>chartsType</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>图表类型。目前可用:&quot;Bar&quot;,&quot;Bar3D&quot;,&quot;Line&quot;,&quot;Point&quot;,&quot;Pie&quot;,&quot;Ring&quot;。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>options</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Object
    
</span>



  
  </td>

  

  <td class="description last"><p>需要设置的参数对象。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="initialize" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#initialize">zondy.themelayer.GraphThemeLayer#initialize</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="isChartInMap">
        <a class="href-link" href="#isChartInMap">#</a>
        
        <span class="code-name" id="isChartInMap" style="font-size:30px">
            
                isChartInMap<span class="signature">(mapPxBounds, chartPxBounds)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>判断图表是否在地图里。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>mapPxBounds</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.Bounds
    
</span>



  
  </td>

  

  <td class="description last"><p>地图像素范围。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>chartPxBounds</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
         Array.&lt;Object>
    
</span>



  
  </td>

  

  <td class="description last"><p>图表范围的四边形节点数组。
例如:[{&quot;x&quot;:1,&quot;y&quot;:1},{&quot;x&quot;:3,&quot;y&quot;:1},{&quot;x&quot;:6,&quot;y&quot;:4},{&quot;x&quot;:2,&quot;y&quot;:10},{&quot;x&quot;:1,&quot;y&quot;:1}]。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="isChartInMap" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#isChartInMap">zondy.themelayer.GraphThemeLayer#isChartInMap</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="isPointInPoly">
        <a class="href-link" href="#isPointInPoly">#</a>
        
        <span class="code-name" id="isPointInPoly" style="font-size:30px">
            
                isPointInPoly<span class="signature">(pt, poly)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>判断一个点是否在多边形里面。(射线法)</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>pt</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Object
    
</span>



  
  </td>

  

  <td class="description last"><p>需要判定的点对象,该对象含有属性x(横坐标),属性y(纵坐标)。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>poly</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
         Array.&lt;Object>
    
</span>



  
  </td>

  

  <td class="description last"><p>多边形节点数组。<br>
例如一个四边形:[{&quot;x&quot;:1,&quot;y&quot;:1},{&quot;x&quot;:3,&quot;y&quot;:1},{&quot;x&quot;:6,&quot;y&quot;:4},{&quot;x&quot;:2,&quot;y&quot;:10},{&quot;x&quot;:1,&quot;y&quot;:1}]</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="isPointInPoly" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#isPointInPoly">zondy.themelayer.GraphThemeLayer#isPointInPoly</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="isQuadrilateralOverLap">
        <a class="href-link" href="#isQuadrilateralOverLap">#</a>
        
        <span class="code-name" id="isQuadrilateralOverLap" style="font-size:30px">
            
                isQuadrilateralOverLap<span class="signature">(rect1, rect2)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>判断两个四边形是否有压盖。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>rect1</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
         Array.&lt;Object>
    
</span>



  
  </td>

  

  <td class="description last"><p>四边形节点数组。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>rect2</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
         Array.&lt;Object>
    
</span>



  
  </td>

  

  <td class="description last"><p>第二个四边形节点数组。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="isQuadrilateralOverLap" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#isQuadrilateralOverLap">zondy.themelayer.GraphThemeLayer#isQuadrilateralOverLap</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























    <h5>示例</h5>
    
    
        <pre class="prettyprint"><code>[{"x":1,"y":1},{"x":3,"y":1},{"x":6,"y":4},{"x":2,"y":10},{"x":1,"y":1}];</code></pre>
    


</div>
            
                <div class="member">


    
    <h4 class="name" id="lineIntersection">
        <a class="href-link" href="#lineIntersection">#</a>
        
        <span class="code-name" id="lineIntersection" style="font-size:30px">
            
                lineIntersection<span class="signature">(a1, a2, b1, b2)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>判断两条线段是不是有交点。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>a1</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.geometry.Point
    
</span>



  
  </td>

  

  <td class="description last"><p>第一条线段的起始节点。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>a2</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.geometry.Point
    
</span>



  
  </td>

  

  <td class="description last"><p>第一条线段的结束节点。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>b1</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.geometry.Point
    
</span>



  
  </td>

  

  <td class="description last"><p>第二条线段的起始节点。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>b2</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.geometry.Point
    
</span>



  
  </td>

  

  <td class="description last"><p>第二条线段的结束节点。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="lineIntersection" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#lineIntersection">zondy.themelayer.GraphThemeLayer#lineIntersection</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>


















    <div class='columns method-parameter'>
        <div class="column is-2"><label>返回值</label></div>
        <div class="column is-10">
            
                    

<div class="columns">
    
    <div class='param-desc column is-7'><p>如果相交返回交点,如果不相交返回两条线段的位置关系。</p></div>
    
    
    <div class='column is-5 has-text-left'>
        <label>类型: </label>
        
<span class="param-type">
    
             Object
    
</span>



    </div>
    
</div>

                
        </div>
    </div>






</div>
            
                <div class="member">


    
    <h4 class="name" id="off">
        <a class="href-link" href="#off">#</a>
        
        <span class="code-name" id="off" style="font-size:30px">
            
                off<span class="signature">(event, callback, context)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>移除专题要素事件监听。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>event</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Event
    
</span>



  
  </td>

  

  <td class="description last"><p>监听事件。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>callback</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             function
    
</span>



  
  </td>

  

  <td class="description last"><p>回调函数。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>context</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>信息。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="off" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#off">zondy.themelayer.ThemeLayer#off</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="on">
        <a class="href-link" href="#on">#</a>
        
        <span class="code-name" id="on" style="font-size:30px">
            
                on<span class="signature">(event, callback, context)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>添加专题要素事件监听。添加专题要素事件监听。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>event</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Event
    
</span>



  
  </td>

  

  <td class="description last"><p>监听事件。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>callback</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             function
    
</span>



  
  </td>

  

  <td class="description last"><p>回调函数。</p></td>
</tr>



        

            
<tr class="deep-level-0">
  
      <td class="name"><code>context</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>信息。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="on" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#on">zondy.themelayer.ThemeLayer#on</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="onRemove">
        <a class="href-link" href="#onRemove">#</a>
        
        <span class="code-name" id="onRemove" style="font-size:30px">
            
                onRemove<span class="signature">(map)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>删除某个地图。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>map</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             L.Map
    
</span>



  
  </td>

  

  <td class="description last"><p>要删除的地图。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="onRemove" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#onRemove">zondy.themelayer.ThemeLayer#onRemove</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="redraw">
        <a class="href-link" href="#redraw">#</a>
        
        <span class="code-name" id="redraw" style="font-size:30px">
            
                redraw<span class="signature">()</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>重绘该图层,成功则返回 true,否则返回 false。</p>
    </div>
    













<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="redraw" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#redraw">zondy.themelayer.GraphThemeLayer#redraw</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="redrawThematicFeatures">
        <a class="href-link" href="#redrawThematicFeatures">#</a>
        
        <span class="code-name" id="redrawThematicFeatures" style="font-size:30px">
            
                redrawThematicFeatures<span class="signature">(bounds)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>重绘所有专题要素 此方法包含绘制专题要素的所有步骤,包含用户数据到专题要素的转换,压盖处理,缓存等步骤。地图漫游时调用此方法进行图层刷新。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>bounds</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             L.bounds
    
</span>



  
  </td>

  

  <td class="description last"><p>重绘的范围。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="redrawThematicFeatures" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#redrawThematicFeatures">zondy.themelayer.GraphThemeLayer#redrawThematicFeatures</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="removeAllFeatures">
        <a class="href-link" href="#removeAllFeatures">#</a>
        
        <span class="code-name" id="removeAllFeatures" style="font-size:30px">
            
                removeAllFeatures<span class="signature">()</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>清除当前图层所有的矢量要素。</p>
    </div>
    













<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="removeAllFeatures" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#removeAllFeatures">zondy.themelayer.GraphThemeLayer#removeAllFeatures</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="removeFeatures">
        <a class="href-link" href="#removeFeatures">#</a>
        
        <span class="code-name" id="removeFeatures" style="font-size:30px">
            
                removeFeatures<span class="signature">(features)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>从专题图中删除 feature。这个函数删除所有传递进来的矢量要素(数据)。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>features</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             Object
    
</span>



  
  </td>

  

  <td class="description last"><p>待删除的要素。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="removeFeatures" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#removeFeatures">zondy.themelayer.GraphThemeLayer#removeFeatures</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="setChartsType">
        <a class="href-link" href="#setChartsType">#</a>
        
        <span class="code-name" id="setChartsType" style="font-size:30px">
            
                setChartsType<span class="signature">(chartsType)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>设置图表类型,此函数可动态改变图表类型。在调用此函数前请通过 chartsSetting 为新类型的图表做相关配置。图表类型,目前支持:&quot;Bar&quot;, &quot;Bar3D&quot;, &quot;Line&quot;,&quot;Point&quot;,&quot;Pie&quot;,&quot;Ring&quot;。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>chartsType</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             string
    
</span>



  
  </td>

  

  <td class="description last"><p>图表类型。目前可用:&quot;Bar&quot;, &quot;Bar3D&quot;, &quot;Line&quot;,&quot;Point&quot;,&quot;Pie&quot;,&quot;Ring&quot;。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="setChartsType" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#setChartsType">zondy.themelayer.GraphThemeLayer#setChartsType</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="setOpacity">
        <a class="href-link" href="#setOpacity">#</a>
        
        <span class="code-name" id="setOpacity" style="font-size:30px">
            
                setOpacity<span class="signature">(opacity)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>设置图层的不透明度,取值 [0-1] 之间。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>opacity</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             number
    
</span>



  
  </td>

  

  <td class="description last"><p>不透明度。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="setOpacity" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#setOpacity">zondy.themelayer.ThemeLayer#setOpacity</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="setSymbolType">
        <a class="href-link" href="#setSymbolType">#</a>
        
        <span class="code-name" id="setSymbolType" style="font-size:30px">
            
                setSymbolType<span class="signature">(symbolType)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>设置符号类型,此函数可动态改变图表类型。在调用此函数前请通过 symbolSetting 为新类型的图表做相关配置。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>symbolType</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             zondy.ChartType
    
</span>



  
  </td>

  

  <td class="description last"><p>目前支持:&quot;Circle&quot;。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
                <div class="member">


    
    <h4 class="name" id="update">
        <a class="href-link" href="#update">#</a>
        
        <span class="code-name" id="update" style="font-size:30px">
            
                update<span class="signature">(bounds)</span>
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>更新图层。</p>
    </div>
    









    <h4>参数</h4>
    
<div class="table-container">
    <table class="params table">
        <thead>
        <tr>
            
            <th>名称</th>
            

            <th>类型</th>

            

            <th class="last">描述</th>
        </tr>
        </thead>

        <tbody>
        

            
<tr class="deep-level-0">
  
      <td class="name"><code>bounds</code></td>
  

  <td class="type">
  
      
<span class="param-type">
    
             L.bounds
    
</span>



  
  </td>

  

  <td class="description last"><p>图层范围。</p></td>
</tr>



        
        </tbody>
    </table>
</div>






<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="update" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#update">zondy.themelayer.ThemeLayer#update</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>























</div>
            
            </div>
        </div>
    

    

    
        <div class='vertical-section' style='margin-top: 10px'>
            <h3 id='event'>事件</h3>
            <h4 style="margin-top: 20px;margin-bottom: 20px;">事件概述</h4>
            <div class="table-container">
                <table class="params table">
                    <thead>
                    <tr>
                        <th>名称</th>
                        <th>描述</th>
                    </tr>
                    </thead>
                    <tbody>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a  href="#beforefeaturesadded">beforefeaturesadded</a></code></td>
                                <td class="name"><code>beforefeaturesadded</code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a  href="#changelayer">changelayer</a></code></td>
                                <td class="name"><code>changelayer</code></td>
                            </tr>
                        
                            <tr class="deep-level-0">
                                <td class="name"><code><a  href="#featuresremoved">featuresremoved</a></code></td>
                                <td class="name"><code>featuresremoved</code></td>
                            </tr>
                        
                    </tbody>
                </table>
            </div>
            <h4 style="margin-top: 20px;margin-bottom: 20px;">事件详情</h4>
            <div class="members">
            
                <div class="member">
                    


    
    <h4 class="name" id="event:beforefeaturesadded">
        <a class="href-link" href="#event:beforefeaturesadded">#</a>
        
        <span class="code-name" id="beforefeaturesadded" style="font-size:30px">
            
                beforefeaturesadded
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>向专题图图层中添加数据之前触发。</p>
    </div>
    













    <h5 class="subsection-title">属性:</h5>

    
<div class="table-container">
    <table class="props table">
        <thead>
        <tr>
            
            <th>Name</th>
            

            <th>Type</th>

            

            

            <th class="last">Description</th>
        </tr>
        </thead>

        <tbody>
        
            
<tr class="deep-level-0">
    
        <td class="name"><code>features</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             L.features
    
</span>



    
    </td>

    

    

    <td class="description last"><p>待添加的要素。</p></td>
</tr>

        
        </tbody>
    </table>
</div>



<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="event:beforefeaturesadded" link="zondy.themelayer.GraphThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.GraphThemeLayer.html#event:beforefeaturesadded">zondy.themelayer.GraphThemeLayer#event:beforefeaturesadded</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>
























                </div>
            
                <div class="member">
                    


    
    <h4 class="name" id="event:changelayer">
        <a class="href-link" href="#event:changelayer">#</a>
        
        <span class="code-name" id="changelayer" style="font-size:30px">
            
                changelayer
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>图层属性改变之后触发。</p>
    </div>
    













    <h5 class="subsection-title">属性:</h5>

    
<div class="table-container">
    <table class="props table">
        <thead>
        <tr>
            
            <th>Name</th>
            

            <th>Type</th>

            

            

            <th class="last">Description</th>
        </tr>
        </thead>

        <tbody>
        
            
<tr class="deep-level-0">
    
        <td class="name"><code>layer</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             Object
    
</span>



    
    </td>

    

    

    <td class="description last"><p>图层。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>property</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             string
    
</span>



    
    </td>

    

    

    <td class="description last"><p>图层属性。</p></td>
</tr>

        
        </tbody>
    </table>
</div>



<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="event:changelayer" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#event:changelayer">zondy.themelayer.ThemeLayer#event:changelayer</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>
























                </div>
            
                <div class="member">
                    


    
    <h4 class="name" id="event:featuresremoved">
        <a class="href-link" href="#event:featuresremoved">#</a>
        
        <span class="code-name" id="featuresremoved" style="font-size:30px">
            
                featuresremoved
            
        </span>
    </h4>
    

    
    <div class="description">
        <p>删除的要素成功之后触发。</p>
    </div>
    













    <h5 class="subsection-title">属性:</h5>

    
<div class="table-container">
    <table class="props table">
        <thead>
        <tr>
            
            <th>Name</th>
            

            <th>Type</th>

            

            

            <th class="last">Description</th>
        </tr>
        </thead>

        <tbody>
        
            
<tr class="deep-level-0">
    
        <td class="name"><code>features</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
         Array.&lt;zondy.Feature.Vector>
    
</span>



    
    </td>

    

    

    <td class="description last"><p>事件对象。</p></td>
</tr>

        
            
<tr class="deep-level-0">
    
        <td class="name"><code>succeed</code></td>
    

    <td class="type">
    
        
<span class="param-type">
    
             boolean
    
</span>



    
    </td>

    

    

    <td class="description last"><p>要输是否删除成功,true 为删除成功,false 为删除失败。</p></td>
</tr>

        
        </tbody>
    </table>
</div>



<dl class="details">

    

    

    
    <dt class="inherited-from">Inherited From:</dt>
    <dd class="inherited-from"><ul class="dummy"><li>
        <a goto="event:featuresremoved" link="zondy.themelayer.ThemeLayer.html" onclick="getTypeHTML(event)" href="zondy.themelayer.ThemeLayer.html#event:featuresremoved">zondy.themelayer.ThemeLayer#event:featuresremoved</a>
    </li></ul></dd>
    

    

    

    

    

    

    

    

    

    
    

    

    

    
</dl>
























                </div>
            
            </div>
        </div>
    
</article>

</section>