rn_supermap
Version:
rn_supermap 一款基于React-Native框架的移动应用开发工具。基于该开发工具,用户可以使用JavaScript开发语言,开发出在Android和IOS操作系统下运行的原生移动GIS应用,入门门槛低,一次开发,处处运行。
2,452 lines (572 loc) • 26.6 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: ServiceQueryParameter</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: ServiceQueryParameter</h1>
<section>
<header>
<h2>ServiceQueryParameter</h2>
</header>
<article>
<div class="container-overview">
<h4 class="name" id="ServiceQueryParameter"><span class="type-signature"></span>new ServiceQueryParameter<span class="signature">()</span><span class="type-signature"></span></h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>QueryOptionType.ATTRIBUTE</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">查询结果中只有属性。</td>
</tr>
<tr>
<td class="name"><code>QueryOptionType.ATTRIBUTEANDGEOMETRY</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">查询结果中包含属性和几何对象。</td>
</tr>
<tr>
<td class="name"><code>QueryOptionType.GEOMETR</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">查询结果中只有几何对象。</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line12">line 12</a>
</li></ul></dd>
</dl>
</div>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id=".createObj"><span class="type-signature">(static) </span>createObj<span class="signature">()</span><span class="type-signature"> → {Promise.<<a href="ServiceQueryParameter.html">ServiceQueryParameter</a>>}</span></h4>
<div class="description">
创建一个ServiceQueryParameter参数
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line25">line 25</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<<a href="ServiceQueryParameter.html">ServiceQueryParameter</a>></span>
</dd>
</dl>
<h4 class="name" id=".getExpectRecordCount"><span class="type-signature">(static) </span>getExpectRecordCount<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
<div class="description">
获取期望返回的查询记录个数。
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line213">line 213</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise</span>
</dd>
</dl>
<h4 class="name" id=".getQueryBounds"><span class="type-signature">(static) </span>getQueryBounds<span class="signature">()</span><span class="type-signature"> → {Promise.<<a href="Rectangle2D.html">Rectangle2D</a>>}</span></h4>
<div class="description">
获取查询范围。
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line55">line 55</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<<a href="Rectangle2D.html">Rectangle2D</a>></span>
</dd>
</dl>
<h4 class="name" id=".getQueryDistance"><span class="type-signature">(static) </span>getQueryDistance<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
<div class="description">
返回查询的距离。
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line85">line 85</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise</span>
</dd>
</dl>
<h4 class="name" id=".getQueryGeometry"><span class="type-signature">(static) </span>getQueryGeometry<span class="signature">()</span><span class="type-signature"> → {Promise.<<a href="Geometry.html">Geometry</a>>}</span></h4>
<div class="description">
返回查询的几何对象。
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line99">line 99</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<<a href="Geometry.html">Geometry</a>></span>
</dd>
</dl>
<h4 class="name" id=".getQueryLayerName"><span class="type-signature">(static) </span>getQueryLayerName<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
<div class="description">
获取查询的图层名称。
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line129">line 129</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise</span>
</dd>
</dl>
<h4 class="name" id=".getQueryMapName"><span class="type-signature">(static) </span>getQueryMapName<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
<div class="description">
获取服务查询的地图的名称。
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line157">line 157</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise</span>
</dd>
</dl>
<h4 class="name" id=".getQueryOption"><span class="type-signature">(static) </span>getQueryOption<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
<div class="description">
返回查询结果内容类型。
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line185">line 185</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise</span>
</dd>
</dl>
<h4 class="name" id=".getQueryServiceName"><span class="type-signature">(static) </span>getQueryServiceName<span class="signature">()</span><span class="type-signature"> → {Promise}</span></h4>
<div class="description">
获取当前查询的服务的实例的服务名称。
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line241">line 241</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise</span>
</dd>
</dl>
<h4 class="name" id=".setExpectRecordCount"><span class="type-signature">(static) </span>setExpectRecordCount<span class="signature">(count)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
设置期望返回的查询记录个数。
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>count</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">设置期望返回的查询记录个数。</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line228">line 228</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id=".setQueryBounds"><span class="type-signature">(static) </span>setQueryBounds<span class="signature">(rectangle2D)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
设置查询范围。
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>rectangle2D</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">查询范围。</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line42">line 42</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id=".setQueryDistance"><span class="type-signature">(static) </span>setQueryDistance<span class="signature">(distance)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
设置查询的距离。
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>distance</code></td>
<td class="type">
<span class="param-type">number</span>
</td>
<td class="description last">查询距离</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line72">line 72</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id=".setQueryGeometry"><span class="type-signature">(static) </span>setQueryGeometry<span class="signature">(geometry)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
设置查询的几何对象。
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>geometry</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">要设置的几何对象。</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line116">line 116</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id=".setQueryLayerName"><span class="type-signature">(static) </span>setQueryLayerName<span class="signature">(queryLayerName)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
设置当前查询的图层的名称。
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>queryLayerName</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">设置当前查询的图层的名称。</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line144">line 144</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id=".setQueryMapName"><span class="type-signature">(static) </span>setQueryMapName<span class="signature">(mapName)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
设置查询地图的地图名称。
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>mapName</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">设置查询地图的地图名称。</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line172">line 172</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id=".setQueryOption"><span class="type-signature">(static) </span>setQueryOption<span class="signature">(queryOptionType)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
设置查询结果内容类型。
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>queryOptionType</code></td>
<td class="type">
<span class="param-type">ServiceQueryParameter.QueryOptionType</span>
</td>
<td class="description last">查询结果内容类型</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line200">line 200</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id=".setQueryServiceName"><span class="type-signature">(static) </span>setQueryServiceName<span class="signature">(name)</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
获取当前查询的服务的实例的服务名称。
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>name</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">当前查询的服务的实例的服务名称。</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line256">line 256</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
<h4 class="name" id=".toJson"><span class="type-signature">(static) </span>toJson<span class="signature">()</span><span class="type-signature"> → {Promise.<void>}</span></h4>
<div class="description">
转成Json格式对象
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="ServiceQueryParameter.js.html">ServiceQueryParameter.js</a>, <a href="ServiceQueryParameter.js.html#line269">line 269</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Promise.<void></span>
</dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BufferAnalyst.html">BufferAnalyst</a></li><li><a href="BufferAnalystParameter.html">BufferAnalystParameter</a></li><li><a href="DataDownloadService.html">DataDownloadService</a></li><li><a href="Dataset.html">Dataset</a></li><li><a href="DatasetVector.html">DatasetVector</a></li><li><a href="DatasetVectorInfo.html">DatasetVectorInfo</a></li><li><a href="Datasource.html">Datasource</a></li><li><a href="DatasourceConnectionInfo.html">DatasourceConnectionInfo</a></li><li><a href="DataUploadService.html">DataUploadService</a></li><li><a href="Feature.html">Feature</a></li><li><a href="FeatureSet.html">FeatureSet</a></li><li><a href="GeoLine.html">GeoLine</a></li><li><a href="Geometry.html">Geometry</a></li><li><a href="GeoPoint.html">GeoPoint</a></li><li><a href="GeoRegion.html">GeoRegion</a></li><li><a href="GeoStyle.html">GeoStyle</a></li><li><a href="Layer.html">Layer</a></li><li><a href="LayerSetting.html">LayerSetting</a></li><li><a href="LayerSettingVector.html">LayerSettingVector</a></li><li><a href="LocationManager.html">LocationManager</a></li><li><a href="Map.html">Map</a></li><li><a href="MapControl.html">MapControl</a></li><li><a href="MapView.html">MapView</a></li><li><a href="Navigation2.html">Navigation2</a></li><li><a href="OverlayAnalyst.html">OverlayAnalyst</a></li><li><a href="OverlayAnalystParameter.html">OverlayAnalystParameter</a></li><li><a href="Point.html">Point</a></li><li><a href="Point2D.html">Point2D</a></li><li><a href="QueryParameter.html">QueryParameter</a></li><li><a href="QueryService.html">QueryService</a></li><li><a href="Rectangle2D.html">Rectangle2D</a></li><li><a href="Scene.html">Scene</a></li><li><a href="Selection.html">Selection</a></li><li><a href="ServiceBase.html">ServiceBase</a></li><li><a href="ServiceQueryParameter.html">ServiceQueryParameter</a></li><li><a href="Size2D.html">Size2D</a></li><li><a href="Theme.html">Theme</a></li><li><a href="Track.html">Track</a></li><li><a href="TrackingLayer.html">TrackingLayer</a></li><li><a href="TraditionalNavi.html">TraditionalNavi</a></li><li><a href="Workspace.html">Workspace</a></li><li><a href="WorkspaceConnectionInfo.html">WorkspaceConnectionInfo</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Tue Aug 01 2017 16:16:50 GMT+0800 (CST)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>