804 lines
16 KiB
HTML
804 lines
16 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>接口文档 Class: AssembleObject</title>
|
|
|
|
<!--[if lt IE 9]>
|
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
|
|
|
|
<link type="text/css" rel="stylesheet" href="styles/site.Cerulean.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="navbar navbar-default navbar-fixed-top navbar-inverse">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand" href="index.html">接口文档</a>
|
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
</div>
|
|
<div class="navbar-collapse collapse" id="topNavigation">
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li class="dropdown">
|
|
<a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
|
|
<ul class="dropdown-menu ">
|
|
<li><a href="Draw.html">Draw</a></li><li><a href="DrawAssemble.html">DrawAssemble</a></li><li><a href="DrawElliptic.html">DrawElliptic</a></li><li><a href="DrawPoint.html">DrawPoint</a></li><li><a href="DrawPolygon.html">DrawPolygon</a></li><li><a href="DrawPolyline.html">DrawPolyline</a></li><li><a href="DrawRect.html">DrawRect</a></li><li><a href="DrawSector.html">DrawSector</a></li><li><a href="module.exports.html">module.exports</a></li><li><a href="Measure.html">Measure</a></li><li><a href="MeasureAzimuth.html">MeasureAzimuth</a></li><li><a href="MeasureCircle.html">MeasureCircle</a></li><li><a href="MeasureDistance.html">MeasureDistance</a></li><li><a href="MeasureHeight.html">MeasureHeight</a></li><li><a href="MeasureLocation.html">MeasureLocation</a></li><li><a href="MeasureProjectionDistance.html">MeasureProjectionDistance</a></li><li><a href="MeasureSlopeDistance.html">MeasureSlopeDistance</a></li><li><a href="MeasureTdArea.html">MeasureTdArea</a></li><li><a href="MeasureTriangle.html">MeasureTriangle</a></li><li><a href="MeasureTyArea.html">MeasureTyArea</a></li><li><a href="%25E7%25AD%2589%25E9%25AB%2598%25E7%25BA%25BF%25E5%2588%2586%25E6%259E%2590.html">等高线分析</a></li><li><a href="%25E5%25A1%25AB%25E6%258C%2596%25E6%2596%25B9%25E5%2588%2586%25E6%259E%2590.html">填挖方分析</a></li><li><a href="Flat.html">Flat</a></li><li><a href="%25E5%2589%2596%25E9%259D%25A2%25E5%2588%2586%25E6%259E%2590.html">剖面分析</a></li><li><a href="%25E5%2589%2596%25E5%2588%2587.html">剖切</a></li><li><a href="%25E5%259D%25A1%25E5%25BA%25A6%25E5%259D%25A1%25E5%2590%2591%25E5%2588%2586%25E6%259E%2590.html">坡度坡向分析</a></li><li><a href="Submerge.html">Submerge</a></li><li><a href="TerrainExcavation.html">TerrainExcavation</a></li><li><a href="ViewShedStage.html">ViewShedStage</a></li><li><a href="AssembleObject.html">AssembleObject</a></li><li><a href="AttackArrowObject.html">AttackArrowObject</a></li><li><a href="GdImagery.html">GdImagery</a></li><li><a href="Model.html">Model</a></li><li><a href="Model2.html">Model2</a></li><li><a href="BIM.html">BIM</a></li><li><a href="BaseTileset.html">BaseTileset</a></li><li><a href="Tileset.html">Tileset</a></li><li><a href="BillboardObject.html">BillboardObject</a></li><li><a href="CircleDiffuse.html">CircleDiffuse</a></li><li><a href="CircleObject.html">CircleObject</a></li><li><a href="Explosion.html">Explosion</a></li><li><a href="GeoJson.html">GeoJson</a></li><li><a href="Graffiti.html">Graffiti</a></li><li><a href="GroundImage.html">GroundImage</a></li><li><a href="GroundSvg_loadEvent.html">GroundSvg#loadEvent</a></li><li><a href="module.exports_module.exports.html">module.exports#module.exports</a></li><li><a href="Flame.html">Flame</a></li><li><a href="Fountain.html">Fountain</a></li><li><a href="Smoke.html">Smoke</a></li><li><a href="Spout.html">Spout</a></li><li><a href="PincerArrowObject.html">PincerArrowObject</a></li><li><a href="PolygonObject.html">PolygonObject</a></li><li><a href="PolyhedronObject.html">PolyhedronObject</a></li><li><a href="PolylineObject.html">PolylineObject</a></li><li><a href="RadarScan.html">RadarScan</a></li><li><a href="RadarScanStereoscopic.html">RadarScanStereoscopic</a></li><li><a href="Corridor.html">Corridor</a></li><li><a href="RoutePlanning.html">RoutePlanning</a></li><li><a href="GroundText.html">GroundText</a></li><li><a href="StandText.html">StandText</a></li><li><a href="TrajectoryMotion.html">TrajectoryMotion</a></li><li><a href="TrajectoryMotionObject.html">TrajectoryMotionObject</a></li><li><a href="WallStereoscopic.html">WallStereoscopic</a></li><li><a href="WaterSurface.html">WaterSurface</a></li><li><a href="Tools.html">Tools</a></li><li><a href="CoordTransform.GCJ02ToBD09.html">CoordTransform.GCJ02ToBD09</a></li><li><a href="CoordTransform.GCJ02ToWGS84.html">CoordTransform.GCJ02ToWGS84</a></li><li><a href="YJEarth.html">YJEarth</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="dropdown">
|
|
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
<ul class="dropdown-menu ">
|
|
<li><a href="global.html#leftClickHandler">leftClickHandler</a></li><li><a href="global.html#setRepeat">setRepeat</a></li><li><a href="global.html#cease">cease</a></li><li><a href="global.html#keyboardMapRoamingInit">keyboardMapRoamingInit</a></li><li><a href="global.html#getFlagFromKeyboard">getFlagFromKeyboard</a></li><li><a href="global.html#keyDown">keyDown</a></li><li><a href="global.html#keyUp">keyUp</a></li><li><a href="global.html#keyboardMapRoamingRender">keyboardMapRoamingRender</a></li><li><a href="global.html#Clear">Clear</a></li><li><a href="global.html#show">show</a></li><li><a href="global.html#delPosition">delPosition</a></li><li><a href="global.html#addPoint">addPoint</a></li><li><a href="global.html#rotationEditing">rotationEditing</a></li><li><a href="global.html#start%257D)">start
|
|
})</a></li><li><a href="global.html#end%257D)">end
|
|
})</a></li><li><a href="global.html#on">on</a></li><li><a href="global.html#BD_FACTOR">BD_FACTOR</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="col-sm-3 col-md-3">
|
|
<form class="navbar-form" role="search">
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
|
|
<div class="input-group-btn">
|
|
<button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="container" id="toc-content">
|
|
<div class="row">
|
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div id="main">
|
|
|
|
|
|
<h1 class="page-title">Class: AssembleObject</h1>
|
|
<section>
|
|
|
|
<header>
|
|
|
|
<h2>
|
|
AssembleObject
|
|
</h2>
|
|
|
|
|
|
</header>
|
|
|
|
|
|
<article>
|
|
<div class="container-overview">
|
|
|
|
|
|
<hr>
|
|
<dt>
|
|
<h4 class="name" id="AssembleObject"><span class="type-signature"></span>new AssembleObject<span class="signature">(sdk, options, _Dialog)</span><span class="type-signature"></span></h4>
|
|
|
|
|
|
</dt>
|
|
<dd>
|
|
|
|
|
|
<div class="description">
|
|
集结地
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Parameters:</h5>
|
|
|
|
|
|
<table class="params table table-striped">
|
|
<thead>
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="name"><code>sdk</code></td>
|
|
|
|
|
|
<td class="type">
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="description last"></td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="name"><code>options</code></td>
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
<span class="param-type">object</span>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="description last">属性
|
|
<h6 class="method-params-label method-subparams-label">Properties</h6>
|
|
|
|
|
|
<table class="params table table-striped">
|
|
<thead>
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
<th>Default</th>
|
|
|
|
|
|
<th class="last">Description</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="name"><code>show</code></td>
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
<span class="param-type">boolean</span>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
<td class="default">
|
|
|
|
true
|
|
|
|
</td>
|
|
|
|
|
|
<td class="description last">显示/隐藏</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<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">名称</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="name"><code>color</code></td>
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
<span class="param-type">string</span>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
<td class="default">
|
|
|
|
"#36c4ff"
|
|
|
|
</td>
|
|
|
|
|
|
<td class="description last">颜色</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="name"><code>positions</code></td>
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
<span class="param-type">Array.<object></span>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
<td class="default">
|
|
|
|
</td>
|
|
|
|
|
|
<td class="description last">坐标数组 [{lon,lat},...]</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="name"><code>_Dialog</code></td>
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
<span class="param-type">object</span>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="description last">弹框事件
|
|
<h6 class="method-params-label method-subparams-label">Properties</h6>
|
|
|
|
|
|
<table class="params table table-striped">
|
|
<thead>
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
|
|
<th>Type</th>
|
|
|
|
|
|
|
|
|
|
|
|
<th class="last">Description</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
|
|
<tr>
|
|
|
|
<td class="name"><code>confirmCallBack</code></td>
|
|
|
|
|
|
<td class="type">
|
|
|
|
|
|
<span class="param-type">function</span>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<td class="description last">弹框确认时的回调</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="subsection-title">Methods</h3>
|
|
|
|
<dl>
|
|
|
|
<hr>
|
|
<dt>
|
|
<h4 class="name" id="flyTo"><span class="type-signature"><async> </span>flyTo<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
|
|
|
</dt>
|
|
<dd>
|
|
|
|
|
|
<div class="description">
|
|
飞到
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<hr>
|
|
<dt>
|
|
<h4 class="name" id="openRichTextEditor"><span class="type-signature"></span>openRichTextEditor<span class="signature">()</span><span class="type-signature"></span></h4>
|
|
|
|
|
|
</dt>
|
|
<dd>
|
|
|
|
|
|
<div class="description">
|
|
打开富文本框
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dl class="details">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
<div class="col-md-3">
|
|
<div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md"></div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="modal fade" id="searchResults">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title">Search results</h4>
|
|
</div>
|
|
<div class="modal-body"></div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
</div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div>
|
|
|
|
|
|
<footer>
|
|
|
|
|
|
<span class="jsdoc-message">
|
|
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
|
|
|
|
on 2024-11-28T14:51:01+08:00
|
|
|
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
</span>
|
|
</footer>
|
|
|
|
<script src="scripts/docstrap.lib.js"></script>
|
|
<script src="scripts/toc.js"></script>
|
|
|
|
<script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
|
|
|
|
|
|
<script>
|
|
$( function () {
|
|
$( "[id*='$']" ).each( function () {
|
|
var $this = $( this );
|
|
|
|
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
|
|
} );
|
|
|
|
$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
|
|
var $this = $( this );
|
|
|
|
var example = $this.find( "code" );
|
|
exampleText = example.html();
|
|
var lang = /{@lang (.*?)}/.exec( exampleText );
|
|
if ( lang && lang[1] ) {
|
|
exampleText = exampleText.replace( lang[0], "" );
|
|
example.html( exampleText );
|
|
lang = lang[1];
|
|
} else {
|
|
var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
|
|
lang = langClassMatch ? langClassMatch[1] : "javascript";
|
|
}
|
|
|
|
if ( lang ) {
|
|
|
|
$this
|
|
.addClass( "sunlight-highlight-" + lang )
|
|
.addClass( "linenums" )
|
|
.html( example.html() );
|
|
|
|
}
|
|
} );
|
|
|
|
Sunlight.highlightAll( {
|
|
lineNumbers : true,
|
|
showMenu : true,
|
|
enableDoclinks : true
|
|
} );
|
|
|
|
$.catchAnchorLinks( {
|
|
navbarOffset: 10
|
|
} );
|
|
$( "#toc" ).toc( {
|
|
anchorName : function ( i, heading, prefix ) {
|
|
return $( heading ).attr( "id" ) || ( prefix + i );
|
|
},
|
|
selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
|
|
showAndHide : false,
|
|
smoothScrolling: true
|
|
} );
|
|
|
|
$( "#main span[id^='toc']" ).addClass( "toc-shim" );
|
|
$( '.dropdown-toggle' ).dropdown();
|
|
|
|
$( "table" ).each( function () {
|
|
var $this = $( this );
|
|
$this.addClass('table');
|
|
} );
|
|
|
|
} );
|
|
</script>
|
|
|
|
|
|
|
|
<!--Navigation and Symbol Display-->
|
|
|
|
<script>
|
|
$( function () {
|
|
$( '#main' ).localScroll( {
|
|
offset : { top : 60 } //offset by the height of your header (give or take a few px, see what works for you)
|
|
} );
|
|
$( "dt.name" ).each( function () {
|
|
var $this = $( this ).find("h4");
|
|
var icon = $( "<i/>" ).addClass( "icon-plus-sign" ).addClass( "pull-right" ).addClass( "icon-white" );
|
|
var dt = $(this);
|
|
var children = dt.next( "dd" );
|
|
|
|
dt.prepend( icon ).css( {cursor : "pointer"} );
|
|
dt.addClass( "member-collapsed" ).addClass( "member" );
|
|
|
|
|
|
children.hide();
|
|
|
|
dt.children().on( "click", function () {
|
|
children = dt.next( "dd" );
|
|
children.slideToggle( "fast", function () {
|
|
|
|
if ( children.is( ":visible" ) ) {
|
|
icon.addClass( "icon-minus-sign" ).removeClass( "icon-plus-sign" ).removeClass( "icon-white" );
|
|
dt.addClass( "member-open" ).animate( "member-collapsed" );
|
|
} else {
|
|
icon.addClass( "icon-plus-sign" ).removeClass( "icon-minus-sign" ).addClass( "icon-white" );
|
|
dt.addClass( "member-collapsed" ).removeClass( "member-open" );
|
|
}
|
|
} );
|
|
} );
|
|
|
|
} );
|
|
} );
|
|
</script>
|
|
|
|
|
|
<!--Google Analytics-->
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
SearcherDisplay.init();
|
|
});
|
|
</script>
|
|
|
|
|
|
</body>
|
|
</html> |