UNPKG

@mapgis/webclient-common

Version:

mapgis ES6 format for igserver

1,078 lines (324 loc) 13.7 kB
<header id="page-title" class="page-title"> <span class="page-title-main">类名</span> <span class="page-title-sub">ArcGisMultipoint</span> </header> <section> <article> <div class="container-overview"> <div class='vertical-section'> <div class="members"> <div class="member"> <h4 class="name" id="ArcGisMultipoint"> <a class="href-link" href="#ArcGisMultipoint">#</a> <span class="code-name" id="ArcGisMultipoint" style="font-size:30px"> new ArcGisMultipoint<span class="signature">(options)</span> </span> </h4> <div class="description"> <p>ArcGis服务</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>options</code></td> <td class="type"> <span class="param-type"> Object </span> </td> <td class="description last"><p>必选项,构造点对象参数。</p></td> </tr> <tr class="deep-level-1"> <td class="name"><code>points</code></td> <td class="type"> <span class="param-type"> String </span> </td> <td class="description last"><p>可选项。点坐标数组, Example:[[x1,y1],[x2,y2]]。</p></td> </tr> <tr class="deep-level-1"> <td class="name"><code>spatialReference</code></td> <td class="type"> <span class="param-type"> ArcGisSpatialReference </span> </td> <td class="description last"><p>可选项。多边形的空间坐标系,默认4326。</p></td> </tr> </tbody> </table> </div> <dl class="details"> <dt class="tag-author">作者:</dt> <dd class="tag-author"> <ul> <li>基础平台-杨琨</li> </ul> </dd> </dl> </div> </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="#addPoint">addPoint</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>添加点坐标,可以为[x,y]坐标或者ArcGisPoint对象</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#getPoint">getPoint</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>根据index返回ArcGisPoint对象</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#removePoint">removePoint</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>根据index删除一个ArcGisPoint对象</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#setPoint">setPoint</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>根据index,更新一个点对象</p></code></td> </tr> <tr class="deep-level-0"> <td class="name"><code><a href="#toGeometryJSON">toGeometryJSON</a></code></td> <td class="name"> <code> </code> </td> <td class="name"><code><p>将点坐标转换为Json对象</p></code></td> </tr> </tbody> </table> </div> <h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4> <div class="member"> <h4 class="name" id="addPoint"> <a class="href-link" href="#addPoint">#</a> <span class="code-name" id="addPoint" style="font-size:30px"> addPoint<span class="signature">(point)</span> </span> </h4> <div class="description"> <p>添加点坐标,可以为[x,y]坐标或者ArcGisPoint对象</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>point</code></td> <td class="type"> <span class="param-type"> ArcGisPoint </span> </td> <td class="description last"><p>必选项,要查询的多边形序号,可为点坐标数组或者坐标或者ArcGisPoint对象数组。</p></td> </tr> </tbody> </table> </div> <dl class="details"> </dl> </div> <div class="member"> <h4 class="name" id="getPoint"> <a class="href-link" href="#getPoint">#</a> <span class="code-name" id="getPoint" style="font-size:30px"> getPoint<span class="signature">(index)</span> </span> </h4> <div class="description"> <p>根据index返回ArcGisPoint对象</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>index</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"> </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>ArcGisPoint,点对象</p></div> </div> </div> </div> </div> <div class="member"> <h4 class="name" id="removePoint"> <a class="href-link" href="#removePoint">#</a> <span class="code-name" id="removePoint" style="font-size:30px"> removePoint<span class="signature">(index)</span> </span> </h4> <div class="description"> <p>根据index删除一个ArcGisPoint对象</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>index</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"> </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>ArcGisPoint,点对象</p></div> </div> </div> </div> </div> <div class="member"> <h4 class="name" id="setPoint"> <a class="href-link" href="#setPoint">#</a> <span class="code-name" id="setPoint" style="font-size:30px"> setPoint<span class="signature">(index)</span> </span> </h4> <div class="description"> <p>根据index,更新一个点对象</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>index</code></td> <td class="type"> <span class="param-type"> Number </span> </td> <td class="description last"><p>必选项,在pointIndex处,更新这个点。</p></td> </tr> </tbody> </table> </div> <dl class="details"> </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>ArcGisMultipoint,线对象</p></div> </div> </div> </div> </div> <div class="member"> <h4 class="name" id="toGeometryJSON"> <a class="href-link" href="#toGeometryJSON">#</a> <span class="code-name" id="toGeometryJSON" style="font-size:30px"> toGeometryJSON<span class="signature">()</span> </span> </h4> <div class="description"> <p>将点坐标转换为Json对象</p> </div> <dl class="details"> </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>String</p></div> </div> </div> </div> </div> </div> </div> </article> </section>