PageRenderTime 87ms CodeModel.GetById 74ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/docs/com/google/maps/extras/arcgislink/SphereMercator.html

http://gmaps-utility-library-flash.googlecode.com/
HTML | 233 lines | 224 code | 0 blank | 9 comment | 0 complexity | 01183d52a2335cf5edc3ad0e2ddb7574 MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<html>
  3<head>
  4<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
  6<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
  7<meta content="SphereMercator,com.google.maps.extras.arcgislink.SphereMercator,forward,getCircumference,reverse" name="keywords">
  8<title>com.google.maps.extras.arcgislink.SphereMercator</title>
  9</head>
 10<body>
 11<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
 12<!--
 13				asdocTitle = 'SphereMercator - API Documentation';
 14				var baseRef = '../../../../../';
 15				window.onload = configPage;
 16			--></script>
 17<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
 18<tr>
 19<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../../index.html?com/google/maps/extras/arcgislink/SphereMercator.html&amp;com/google/maps/extras/arcgislink/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
 20</tr>
 21<tr class="titleTableRow2">
 22<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;SphereMercator</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
 23</tr>
 24<tr class="titleTableRow3">
 25<td colspan="2">&nbsp;</td>
 26</tr>
 27</table>
 28<script type="text/javascript" language="javascript">
 29<!--
 30if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class SphereMercator"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
 31--></script>
 32<div class="MainContent">
 33<table cellspacing="0" cellpadding="0" class="classHeaderTable">
 34<tr>
 35<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.google.maps.extras.arcgislink</a></td>
 36</tr>
 37<tr>
 38<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class SphereMercator</td>
 39</tr>
 40<tr>
 41<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">SphereMercator <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../../images/inherit-arrow.gif"> <a href="SpatialReference.html">SpatialReference</a></td>
 42</tr>
 43</table>
 44<p></p>
 45  A special type of spatial reference system that uses mercator projection and consider earth as sphere.
 46  <p></p>
 47<br>
 48<hr>
 49</div>
 50<a name="propertySummary"></a>
 51<div class="summarySection">
 52<div class="summaryTableTitle">Public Properties</div>
 53<div class="showHideLinks">
 54<div class="hideInheritedProperty" id="hideInheritedProperty">
 55<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
 56</div>
 57<div class="showInheritedProperty" id="showInheritedProperty">
 58<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
 59</div>
 60</div>
 61<table id="summaryTableProperty" class="summaryTable hideInheritedProperty" cellpadding="3" cellspacing="0">
 62<tr>
 63<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
 64</tr>
 65<tr class="hideInheritedProperty">
 66<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="SpatialReference.html#wkid">wkid</a> : int<div class="summaryTableDescription"></div>
 67</td><td class="summaryTableOwnerCol"><a href="SpatialReference.html">SpatialReference</a></td>
 68</tr>
 69</table>
 70</div>
 71<a name="protectedPropertySummary"></a>
 72<div class="summarySection">
 73<div class="summaryTableTitle">Protected Properties</div>
 74<div class="showHideLinks">
 75<div class="hideInheritedProtectedProperty" id="hideInheritedProtectedProperty">
 76<a onclick="javascript:setInheritedVisible(false,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Protected Properties</a>
 77</div>
 78<div class="showInheritedProtectedProperty" id="showInheritedProtectedProperty">
 79<a onclick="javascript:setInheritedVisible(true,'ProtectedProperty');" href="#protectedPropertySummary" class="showHideLink"><img src="../../../../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Protected Properties</a>
 80</div>
 81</div>
 82<table id="summaryTableProtectedProperty" class="summaryTable hideInheritedProtectedProperty" cellpadding="3" cellspacing="0">
 83<tr>
 84<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
 85</tr>
 86<tr class="hideInheritedProtectedProperty">
 87<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../../../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="SpatialReference.html#RAD_DEG">RAD_DEG</a> : Number<div class="summaryTableDescription"></div>
 88</td><td class="summaryTableOwnerCol"><a href="SpatialReference.html">SpatialReference</a></td>
 89</tr>
 90</table>
 91</div>
 92<a name="methodSummary"></a>
 93<div class="summarySection">
 94<div class="summaryTableTitle">Public Methods</div>
 95<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
 96<tr>
 97<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
 98</tr>
 99<tr class="">
100<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
101<div class="summarySignature">
102<a class="signatureLink" href="#SphereMercator()">SphereMercator</a>(params:Object)</div>
103<div class="summaryTableDescription">
104 Creates a Spatial Reference based on Sphere Mercator Projection.</div>
105</td><td class="summaryTableOwnerCol">SphereMercator</td>
106</tr>
107<tr class="">
108<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
109<div class="summarySignature">
110<a class="signatureLink" href="#forward()">forward</a>(lnglat:Array):Array</div>
111<div class="summaryTableDescription"></div>
112</td><td class="summaryTableOwnerCol">SphereMercator</td>
113</tr>
114<tr class="">
115<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
116<div class="summarySignature">
117<a class="signatureLink" href="#getCircumference()">getCircumference</a>():Number</div>
118<div class="summaryTableDescription"></div>
119</td><td class="summaryTableOwnerCol">SphereMercator</td>
120</tr>
121<tr class="">
122<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
123<div class="summarySignature">
124<a class="signatureLink" href="#reverse()">reverse</a>(coords:Array):Array</div>
125<div class="summaryTableDescription"></div>
126</td><td class="summaryTableOwnerCol">SphereMercator</td>
127</tr>
128</table>
129</div>
130<script type="text/javascript" language="javascript">
131<!--
132showHideInherited();
133--></script>
134<div class="MainContent">
135<a name="constructorDetail"></a>
136<div class="detailSectionHeader">Constructor detail</div>
137<a name="SphereMercator()"></a>
138<table cellspacing="0" cellpadding="0" class="detailHeader">
139<tr>
140<td class="detailHeaderName">SphereMercator</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
141</tr>
142</table>
143<div class="detailBody">
144<code>public function SphereMercator(params:Object)</code><p>
145 Creates a Spatial Reference based on Sphere Mercator Projection. 
146 The <code>params</code> passed in constructor should have the following properties:
147 <code><br/>-wkid: wkid
148 <br/>-semi_major:  ellipsoidal semi-major axis 
149 <br/>-unit: meters per unit
150 <br/>-central_meridian: lamdaF, longitude of the false origin  (with respect to the prime meridian)
151 </code>
152 <br/>e.g. The "Web Mercator" used in  Server:<br/>
153 <code> var web_mercator  = new ArcGISSphereMercator({wkid: 102113,  semi_major:6378137.0,  central_meridian:0, unit: 1 });
154 </code>
155 </p><span class="label">Parameters</span>
156<table border="0" cellspacing="0" cellpadding="0">
157<tr>
158<td width="20px"></td><td><code><span class="label">params</span>:Object</code> &mdash; params 
159 </td>
160</tr>
161</table>
162</div>
163<a name="methodDetail"></a>
164<div class="detailSectionHeader">Method detail</div>
165<a name="forward()"></a>
166<table cellspacing="0" cellpadding="0" class="detailHeader">
167<tr>
168<td class="detailHeaderName">forward</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
169</tr>
170</table>
171<div class="detailBody">
172<code>public override function forward(lnglat:Array):Array</code><span class="label">Parameters</span>
173<table border="0" cellspacing="0" cellpadding="0">
174<tr>
175<td width="20px"></td><td><code><span class="label">lnglat</span>:Array</code></td>
176</tr>
177</table>
178<p></p>
179<span class="label">Returns</span>
180<table border="0" cellspacing="0" cellpadding="0">
181<tr>
182<td width="20"></td><td><code>Array</code></td>
183</tr>
184</table>
185</div>
186<a name="getCircumference()"></a>
187<table cellspacing="0" cellpadding="0" class="detailHeader">
188<tr>
189<td class="detailHeaderName">getCircumference</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
190</tr>
191</table>
192<div class="detailBody">
193<code>public override function getCircumference():Number</code>
194<p></p>
195<span class="label">Returns</span>
196<table border="0" cellspacing="0" cellpadding="0">
197<tr>
198<td width="20"></td><td><code>Number</code></td>
199</tr>
200</table>
201</div>
202<a name="reverse()"></a>
203<table cellspacing="0" cellpadding="0" class="detailHeader">
204<tr>
205<td class="detailHeaderName">reverse</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
206</tr>
207</table>
208<div class="detailBody">
209<code>public override function reverse(coords:Array):Array</code><span class="label">Parameters</span>
210<table border="0" cellspacing="0" cellpadding="0">
211<tr>
212<td width="20px"></td><td><code><span class="label">coords</span>:Array</code></td>
213</tr>
214</table>
215<p></p>
216<span class="label">Returns</span>
217<table border="0" cellspacing="0" cellpadding="0">
218<tr>
219<td width="20"></td><td><code>Array</code></td>
220</tr>
221</table>
222</div>
223<br>
224<br>
225<hr>
226<br>
227<p></p>
228<center class="copyright"> 
229</center>
230</div>
231</body>
232</html>
233<!-- -->