686 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			686 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| 
 | |
| <html lang="en">
 | |
| <head>
 | |
| 	<meta charset="utf-8">
 | |
| 	<meta name="viewport" content="width=device-width">
 | |
| 	<title>接口文档 Class: EllipseObject</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="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="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="%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="ViewShedStage.html">ViewShedStage</a></li><li><a href="AttackArrowObject.html">AttackArrowObject</a></li><li><a href="GdImagery.html">GdImagery</a></li><li><a href="BaseModel.html">BaseModel</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="Corridor.html">Corridor</a></li><li><a href="EllipseObject.html">EllipseObject</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="PolygonObject.html">PolygonObject</a></li><li><a href="ItineraryMove.html">ItineraryMove</a></li><li><a href="MouseCoordinate.html">MouseCoordinate</a></li><li><a href="Flame.html">Flame</a></li><li><a href="Smoke.html">Smoke</a></li><li><a href="PincerArrowObject.html">PincerArrowObject</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="TrajectoryMotion.html">TrajectoryMotion</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#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#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: EllipseObject</h1>
 | |
| <section>
 | |
| 
 | |
| <header>
 | |
|     
 | |
|         <h2>
 | |
|         EllipseObject
 | |
|         </h2>
 | |
|         
 | |
|     
 | |
| </header>
 | |
| 
 | |
| 
 | |
| <article>
 | |
|     <div class="container-overview">
 | |
|     
 | |
|         
 | |
| <hr>
 | |
| <dt>
 | |
|     <h4 class="name" id="EllipseObject"><span class="type-signature"></span>new EllipseObject<span class="signature">(options)</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>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 class="last">Description</th>
 | |
|     </tr>
 | |
|     </thead>
 | |
| 
 | |
|     <tbody>
 | |
|     
 | |
| 
 | |
|         <tr>
 | |
|             
 | |
|                 <td class="name"><code>id</code></td>
 | |
|             
 | |
| 
 | |
|             <td class="type">
 | |
|             
 | |
|                 
 | |
| <span class="param-type">string</span>
 | |
| 
 | |
| 
 | |
| 
 | |
|             
 | |
|             </td>
 | |
| 
 | |
|             
 | |
| 
 | |
|             
 | |
| 
 | |
|             <td class="description last">标注id</td>
 | |
|         </tr>
 | |
| 
 | |
|     
 | |
| 
 | |
|         <tr>
 | |
|             
 | |
|                 <td class="name"><code>center</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>lng</code></td>
 | |
|             
 | |
| 
 | |
|             <td class="type">
 | |
|             
 | |
|                 
 | |
| <span class="param-type">object</span>
 | |
| 
 | |
| 
 | |
| 
 | |
|             
 | |
|             </td>
 | |
| 
 | |
|             
 | |
| 
 | |
|             
 | |
| 
 | |
|             <td class="description last">经度</td>
 | |
|         </tr>
 | |
| 
 | |
|     
 | |
| 
 | |
|         <tr>
 | |
|             
 | |
|                 <td class="name"><code>lat</code></td>
 | |
|             
 | |
| 
 | |
|             <td class="type">
 | |
|             
 | |
|                 
 | |
| <span class="param-type">object</span>
 | |
| 
 | |
| 
 | |
| 
 | |
|             
 | |
|             </td>
 | |
| 
 | |
|             
 | |
| 
 | |
|             
 | |
| 
 | |
|             <td class="description last">维度</td>
 | |
|         </tr>
 | |
| 
 | |
|     
 | |
|     </tbody>
 | |
| </table>
 | |
| 
 | |
|             </td>
 | |
|         </tr>
 | |
| 
 | |
|     
 | |
| 
 | |
|         <tr>
 | |
|             
 | |
|                 <td class="name"><code>semiMinorAxis</code></td>
 | |
|             
 | |
| 
 | |
|             <td class="type">
 | |
|             
 | |
|                 
 | |
| <span class="param-type">number</span>
 | |
| 
 | |
| 
 | |
| 
 | |
|             
 | |
|             </td>
 | |
| 
 | |
|             
 | |
| 
 | |
|             
 | |
| 
 | |
|             <td class="description last">半短轴长度</td>
 | |
|         </tr>
 | |
| 
 | |
|     
 | |
| 
 | |
|         <tr>
 | |
|             
 | |
|                 <td class="name"><code>semiMajorAxis</code></td>
 | |
|             
 | |
| 
 | |
|             <td class="type">
 | |
|             
 | |
|                 
 | |
| <span class="param-type">number</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="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-04-22T17:16:06+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> |