1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
<meta name="generator" content="JsDoc Toolkit" />
8
<title>JsDoc Reference - Layer</title>
10
<style type="text/css">
14
font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
21
background-color: #ccc;
36
border-top: 1px solid #7F8FB1;
44
border: 1px dashed #ccc;
54
background-color: #F3F3F3;
66
list-style-type: none;
69
font-family: arial, sans-serif;
80
.summaryTable { width: 100%; }
88
h2 { font-size: 110%; }
89
caption, div.sectionTitle
91
background-color: #7F8FB1;
95
padding: 2px 6px 2px 6px;
96
border: 1px #7F8FB1 solid;
99
div.sectionTitle { margin-bottom: 8px; }
100
.summaryTable thead { display: none; }
106
border-bottom: 1px #7F8FB1 solid;
107
border-right: 1px #7F8FB1 solid;
110
/*col#summaryAttributes {}*/
111
.summaryTable td.attributes
113
border-left: 1px #7F8FB1 solid;
118
td.attributes, .fixedFont
122
font-family: "Courier New",Courier,monospace;
126
.summaryTable td.nameDescription
133
.summaryTable td.nameDescription, .description
140
.summaryTable { margin-bottom: 8px; }
153
.detailList dt { margin-left: 20px; }
162
.light, td.attributes, .light a:link, .light a:visited
177
<!-- ============================== header ================================= -->
178
<!-- begin static/header.html -->
181
<!-- end static/header.html -->
183
<!-- ============================== classes index ============================ -->
185
<!-- begin publish.classesIndex -->
186
<div align="center"><a href="../index.html">Class Index</a>
187
| <a href="../files.html">File Index</a></div>
190
<ul class="classList">
192
<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
194
<li><a href="../symbols/Calendar.html">Calendar</a></li>
196
<li><a href="../symbols/Date.html">Date</a></li>
198
<li><a href="../symbols/EventLayer.html">EventLayer</a></li>
200
<li><a href="../symbols/EventLayerAccordion.html">EventLayerAccordion</a></li>
202
<li><a href="../symbols/EventMarker.html">EventMarker</a></li>
204
<li><a href="../symbols/EventTimeline.html">EventTimeline</a></li>
206
<li><a href="../symbols/Helioviewer.html">Helioviewer</a></li>
208
<li><a href="../symbols/Helioviewer%23handlers.html">Helioviewer#handlers</a></li>
210
<li><a href="../symbols/IconPicker.html">IconPicker</a></li>
212
<li><a href="../symbols/Layer.html">Layer</a></li>
214
<li><a href="../symbols/LayerManager.html">LayerManager</a></li>
216
<li><a href="../symbols/LoadingIndicator.html">LoadingIndicator</a></li>
218
<li><a href="../symbols/Math.html">Math</a></li>
220
<li><a href="../symbols/MessageConsole.html">MessageConsole</a></li>
222
<li><a href="../symbols/MovieBuilder.html">MovieBuilder</a></li>
224
<li><a href="../symbols/String.html">String</a></li>
226
<li><a href="../symbols/TileLayer.html">TileLayer</a></li>
228
<li><a href="../symbols/TileLayerAccordion.html">TileLayerAccordion</a></li>
230
<li><a href="../symbols/TimeControls.html">TimeControls</a></li>
232
<li><a href="../symbols/UIElement.html">UIElement</a></li>
234
<li><a href="../symbols/UserSettings.html">UserSettings</a></li>
236
<li><a href="../symbols/Viewport.html">Viewport</a></li>
238
<li><a href="../symbols/ViewportHandlers.html">ViewportHandlers</a></li>
240
<li><a href="../symbols/ZoomControl.html">ZoomControl</a></li>
244
<!-- end publish.classesIndex -->
248
<!-- ============================== class title ============================ -->
249
<h1 class="classTitle">
254
<!-- ============================== class summary ========================== -->
255
<p class="description">
261
<br /><i>Defined in: </i> <a href="../symbols/src/lib_helioviewer_Layer.js.html">Layer.js</a>.
265
<!-- ============================== constructor summary ==================== -->
267
<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class Layer.">
268
<caption>Class Summary</caption>
271
<th scope="col">Constructor Attributes</th>
272
<th scope="col">Constructor Name and Description</th>
277
<td class="attributes"> </td>
278
<td class="nameDescription" >
279
<div class="fixedFont">
280
<b><a href="../symbols/Layer.html">Layer</a></b>(viewport)
282
<div class="description">Creates a new Layer</div>
289
<!-- ============================== properties summary ===================== -->
292
<!-- ============================== methods summary ======================== -->
296
<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class Layer.">
297
<caption>Method Summary</caption>
300
<th scope="col">Method Attributes</th>
301
<th scope="col">Method Name and Description</th>
307
<td class="attributes"> </td>
308
<td class="nameDescription">
309
<div class="fixedFont"><b><a href="../symbols/Layer.html#setVisible">setVisible</a></b>(visible)
311
<div class="description">Sets the Layer's visibility</div>
316
<td class="attributes"> </td>
317
<td class="nameDescription">
318
<div class="fixedFont"><b><a href="../symbols/Layer.html#setZIndex">setZIndex</a></b>(val)
320
<div class="description">Adjust the Layer's z-index</div>
325
<td class="attributes"> </td>
326
<td class="nameDescription">
327
<div class="fixedFont"><b><a href="../symbols/Layer.html#toggleVisible">toggleVisible</a></b>()
329
<div class="description">Toggle layer visibility</div>
339
<!-- ============================== events summary ======================== -->
342
<!-- ============================== constructor details ==================== -->
344
<div class="details"><a name="constructor"> </a>
345
<div class="sectionTitle">
349
<div class="fixedFont">
350
<b>Layer</b>(viewport)
353
<div class="description">
362
<dl class="detailList">
363
<dt class="heading">Parameters:</dt>
366
<span class="light fixedFont">{Object}</span> <b>viewport</b>
369
<dd>Viewport to place the layer in
371
<br><div style='font-size:16px'>Options:</div><br>
372
<div style='margin-left:15px'>
373
<b>maxZoomLevel</b> - Maximum zoom level supported by the layer<br>
374
<b>minZoomLevel</b> - Minimum zoom level supported by the layer<br>
375
<b>visible</b> - The default layer visibility<br>
390
<!-- ============================== field details ========================== -->
393
<!-- ============================== method details ========================= -->
395
<div class="sectionTitle">
399
<a name="setVisible"> </a>
400
<div class="fixedFont">
402
<span class="light">{Boolean}</span>
403
<b>setVisible</b>(visible)
406
<div class="description">
407
Sets the Layer's visibility
415
<dl class="detailList">
416
<dt class="heading">Parameters:</dt>
419
<span class="light fixedFont">{Boolean}</span> <b>visible</b>
422
<dd>Hide/Show layer</dd>
430
<dl class="detailList">
431
<dt class="heading">Returns:</dt>
433
<dd><span class="light fixedFont">{Boolean}</span> Returns new setting</dd>
442
<a name="setZIndex"> </a>
443
<div class="fixedFont">
446
<b>setZIndex</b>(val)
449
<div class="description">
450
Adjust the Layer's z-index
458
<dl class="detailList">
459
<dt class="heading">Parameters:</dt>
462
<span class="light fixedFont">{Object}</span> <b>val</b>
465
<dd>Z-index to use</dd>
478
<a name="toggleVisible"> </a>
479
<div class="fixedFont">
482
<b>toggleVisible</b>()
485
<div class="description">
486
Toggle layer visibility
505
<!-- ============================== event details ========================= -->
512
<!-- ============================== footer ================================= -->
513
<div class="fineprint" style="clear:both">
515
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Wed Feb 25 2009 14:47:29 GMT-0500 (EST)