]> dev.renevier.net Git - syp.git/blob - openlayers/doc/devdocs/files/OpenLayers/Renderer/Elements-js.html
fixes notices
[syp.git] / openlayers / doc / devdocs / files / OpenLayers / Renderer / Elements-js.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
2
3 <html><head><title>OpenLayers.ElementsIndexer - OpenLayers</title><link rel="stylesheet" type="text/css" href="../../../styles/main.css"><script language=JavaScript src="../../../javascript/main.js"></script><script language=JavaScript src="../../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
4 if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
5
6 <!--  Generated by Natural Docs, version 1.4 -->
7 <!--  http://www.naturaldocs.org  -->
8
9 <!-- saved from url=(0026)http://www.naturaldocs.org -->
10
11
12
13
14 <div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="OpenLayers.ElementsIndexer"></a>OpenLayers.<wbr>ElementsIndexer</h1><div class=CBody><p>This class takes care of figuring out which order elements should be placed in the DOM based on given indexing methods.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#OpenLayers.ElementsIndexer" >OpenLayers.<wbr>ElementsIndexer</a></td><td class=SDescription>This class takes care of figuring out which order elements should be placed in the DOM based on given indexing methods.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.maxZIndex" >maxZIndex</a></td><td class=SDescription>{Integer} This is the largest-most z-index value for a node contained within the indexer.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.order" >order</a></td><td class=SDescription>{Array&lt;String&gt;} This is an array of node id&rsquo;s stored in the order that they should show up on screen. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.indices" >indices</a></td><td class=SDescription>{Object} This is a hash that maps node ids to their z-index value stored in the indexer. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.compare" >compare</a></td><td class=SDescription>{Function} This is the function used to determine placement of of a new node within the indexer. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.initialize" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">initialize</a></td><td class=SDescription>Create a new indexer with</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.insert" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">insert</a></td><td class=SDescription>Insert a new node into the indexer. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.remove" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">remove</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.clear" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">clear</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.exists" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">exists</a></td><td class=SDescription>node- {DOMElement} The node to test for existence.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.getZIndex" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">getZIndex</a></td><td class=SDescription>Get the z-index value for the current node from the node data itself.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.determineZIndex" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">determineZIndex</a></td><td class=SDescription>Determine the z-index for the current node if there isn&rsquo;t one, and set the maximum value if we&rsquo;ve found a new maximum.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.getNextElement" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">getNextElement</a></td><td class=SDescription>Get the next element in the order stack.</td></tr><tr class="SClass"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods" >OpenLayers.<wbr>ElementsIndexer.<wbr>IndexingMethods</a></td><td class=SDescription>These are the compare methods for figuring out where a new node should be placed within the indexer. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">Z_ORDER</a></td><td class=SDescription>This compare method is used by other comparison methods. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_DRAWING_ORDER" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">Z_ORDER_DRAWING_ORDER</a></td><td class=SDescription>This method orders nodes by their z-index, but does so in a way that, if there are other nodes with the same z-index, the newest drawn will be the front most within that z-index. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_Y_ORDER" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">Z_ORDER_Y_ORDER</a></td><td class=SDescription>This one should really be called Z_ORDER_Y_ORDER_DRAWING_ORDER, as it best describes which ordering methods have precedence (though, the name would be too long). </td></tr><tr class="SClass"><td class=SEntry><a href="#OpenLayers.Renderer.Elements" >OpenLayers.<wbr>Renderer.<wbr>Elements</a></td><td class=SDescription>This is another virtual class in that it should never be instantiated by itself as a Renderer. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.rendererRoot" >rendererRoot</a></td><td class=SDescription>{DOMElement}</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.root" >root</a></td><td class=SDescription>{DOMElement}</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.vectorRoot" >vectorRoot</a></td><td class=SDescription>{DOMElement}</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.textRoot" >textRoot</a></td><td class=SDescription>{DOMElement}</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.xmlns" >xmlns</a></td><td class=SDescription>{String}</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Indexer" >Indexer</a></td><td class=SDescription>{&lt;OpenLayers.ElementIndexer&gt;} An instance of OpenLayers.ElementsIndexer created upon initialization if the zIndexing or yOrdering options passed to this renderer&rsquo;s constructor are set to true.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.BACKGROUND_ID_SUFFIX" >BACKGROUND_ID_SUFFIX</a></td><td class=SDescription>{String}</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.BACKGROUND_ID_SUFFIX" >BACKGROUND_ID_SUFFIX</a></td><td class=SDescription>{String}</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.minimumSymbolizer" >minimumSymbolizer</a></td><td class=SDescription>{Object}</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Constructor" >Constructor</a></td><td class=SDescription></td></tr><tr class="SConstructor SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.OpenLayers.Renderer.Elements" >OpenLayers.<wbr>Renderer.<wbr>Elements</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.destroy" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">destroy</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.clear" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">clear</a></td><td class=SDescription>Remove all the elements from the root</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.getNodeType" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">getNodeType</a></td><td class=SDescription>This function is in charge of asking the specific renderer which type of node to create for the given geometry and style. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawGeometry" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">drawGeometry</a></td><td class=SDescription>Draw the geometry, creating new nodes, setting paths, setting style, setting featureId on the node. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.redrawNode" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">redrawNode</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.redrawBackgroundNode" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">redrawBackgroundNode</a></td><td class=SDescription>Redraws the node using special &lsquo;background&rsquo; style properties. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawGeometryNode" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">drawGeometryNode</a></td><td class=SDescription>Given a node, draw a geometry on the specified layer. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.postDraw" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">postDraw</a></td><td class=SDescription>Things that have do be done after the geometry node is appended to its parent node. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawPoint" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">drawPoint</a></td><td class=SDescription>Virtual function for drawing Point Geometry. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawLineString" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">drawLineString</a></td><td class=SDescription>Virtual function for drawing LineString Geometry. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawLinearRing" id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')">drawLinearRing</a></td><td class=SDescription>Virtual function for drawing LinearRing Geometry. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawPolygon" id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')">drawPolygon</a></td><td class=SDescription>Virtual function for drawing Polygon Geometry. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawRectangle" id=link24 onMouseOver="ShowTip(event, 'tt24', 'link24')" onMouseOut="HideTip('tt24')">drawRectangle</a></td><td class=SDescription>Virtual function for drawing Rectangle Geometry. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawCircle" id=link25 onMouseOver="ShowTip(event, 'tt25', 'link25')" onMouseOut="HideTip('tt25')">drawCircle</a></td><td class=SDescription>Virtual function for drawing Circle Geometry. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawSurface" id=link26 onMouseOver="ShowTip(event, 'tt26', 'link26')" onMouseOut="HideTip('tt26')">drawSurface</a></td><td class=SDescription>Virtual function for drawing Surface Geometry. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.removeText" id=link27 onMouseOver="ShowTip(event, 'tt27', 'link27')" onMouseOut="HideTip('tt27')">removeText</a></td><td class=SDescription>Removes a label</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.getFeatureIdFromEvent" id=link28 onMouseOver="ShowTip(event, 'tt28', 'link28')" onMouseOut="HideTip('tt28')">getFeatureIdFromEvent</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.eraseGeometry" id=link29 onMouseOver="ShowTip(event, 'tt29', 'link29')" onMouseOut="HideTip('tt29')">eraseGeometry</a></td><td class=SDescription>Erase a geometry from the renderer. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.nodeFactory" id=link30 onMouseOver="ShowTip(event, 'tt30', 'link30')" onMouseOut="HideTip('tt30')">nodeFactory</a></td><td class=SDescription>Create new node of the specified type, with the (optional) specified id.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.nodeTypeCompare" id=link31 onMouseOver="ShowTip(event, 'tt31', 'link31')" onMouseOut="HideTip('tt31')">nodeTypeCompare</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.createNode" id=link32 onMouseOver="ShowTip(event, 'tt32', 'link32')" onMouseOut="HideTip('tt32')">createNode</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.moveRoot" id=link33 onMouseOver="ShowTip(event, 'tt33', 'link33')" onMouseOut="HideTip('tt33')">moveRoot</a></td><td class=SDescription>moves this renderer&rsquo;s root to a different renderer.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.getRenderLayerId" id=link34 onMouseOver="ShowTip(event, 'tt34', 'link34')" onMouseOut="HideTip('tt34')">getRenderLayerId</a></td><td class=SDescription>Gets the layer that this renderer&rsquo;s output appears on. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.isComplexSymbol" id=link35 onMouseOver="ShowTip(event, 'tt35', 'link35')" onMouseOut="HideTip('tt35')">isComplexSymbol</a></td><td class=SDescription>Determines if a symbol cannot be rendered using drawCircle</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.OpenLayers.Renderer.symbol" >OpenLayers.<wbr>Renderer.<wbr>symbol</a></td><td class=SDescription>Coordinate arrays for well known (named) symbols.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
15
16 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.Properties"></a>Properties</h3></div></div>
17
18 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.maxZIndex"></a>maxZIndex</h3><div class=CBody><p>{Integer} This is the largest-most z-index value for a node contained within the indexer.</p></div></div></div>
19
20 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.order"></a>order</h3><div class=CBody><p>{Array&lt;String&gt;} This is an array of node id&rsquo;s stored in the order that they should show up on screen.&nbsp; Id&rsquo;s higher up in the array (higher array index) represent nodes with higher z-indeces.</p></div></div></div>
21
22 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.indices"></a>indices</h3><div class=CBody><p>{Object} This is a hash that maps node ids to their z-index value stored in the indexer.&nbsp; This is done to make finding a nodes z-index value O(1).</p></div></div></div>
23
24 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.compare"></a>compare</h3><div class=CBody><p>{Function} This is the function used to determine placement of of a new node within the indexer.&nbsp; If null, this defaults to to the Z_ORDER_DRAWING_ORDER comparison method.</p></div></div></div>
25
26 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.Functions"></a>Functions</h3></div></div>
27
28 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.initialize"></a>initialize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>initialize: function(</td><td class=PParameter nowrap>yOrdering</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create a new indexer with</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>yOrdering</td><td class=CDLDescription>{Boolean} Whether to use y-ordering.</td></tr></table></div></div></div>
29
30 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.insert"></a>insert</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>insert: function(</td><td class=PParameter nowrap>newNode</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Insert a new node into the indexer.&nbsp; In order to find the correct positioning for the node to be inserted, this method uses a binary search.&nbsp; This makes inserting O(log(n)).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>newNode</td><td class=CDLDescription>{DOMElement} The new node to be inserted.</td></tr></table><p>Returns {DOMElement} the node before which we should insert our newNode, or null if newNode can just be appended.</p></div></div></div>
31
32 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.remove"></a>remove</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>remove: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement} The node to be removed.</td></tr></table></div></div></div>
33
34 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.clear"></a>clear</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>clear: function()</td></tr></table></blockquote></div></div></div>
35
36 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.exists"></a>exists</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>exists: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Parameters</h4><p>node- {DOMElement} The node to test for existence.</p><h4 class=CHeading>Returns</h4><p>{Boolean} Whether or not the node exists in the indexer?</p></div></div></div>
37
38 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.getZIndex"></a>getZIndex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getZIndex: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Get the z-index value for the current node from the node data itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement} The node whose z-index to get.</td></tr></table><h4 class=CHeading>Returns</h4><p>{Integer} The z-index value for the specified node (from the node data itself).</p></div></div></div>
39
40 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.determineZIndex"></a>determineZIndex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>determineZIndex: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determine the z-index for the current node if there isn&rsquo;t one, and set the maximum value if we&rsquo;ve found a new maximum.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr></table></div></div></div>
41
42 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.getNextElement"></a>getNextElement</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getNextElement: function(</td><td class=PParameter nowrap>index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Get the next element in the order stack.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>index</td><td class=CDLDescription>{Integer} The index of the current node in this.order.</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} the node following the index passed in, or null.</p></div></div></div>
43
44 <div class="CClass"><div class=CTopic><h2 class=CTitle><a name="OpenLayers.ElementsIndexer.IndexingMethods"></a>OpenLayers.<wbr>ElementsIndexer.<wbr>IndexingMethods</h2><div class=CBody><p>These are the compare methods for figuring out where a new node should be placed within the indexer.&nbsp; These methods are very similar to general sorting methods in that they return -1, 0, and 1 to specify the direction in which new nodes fall in the ordering.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER" id=link36 onMouseOver="ShowTip(event, 'tt9', 'link36')" onMouseOut="HideTip('tt9')">Z_ORDER</a></td><td class=SDescription>This compare method is used by other comparison methods. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_DRAWING_ORDER" id=link37 onMouseOver="ShowTip(event, 'tt10', 'link37')" onMouseOut="HideTip('tt10')">Z_ORDER_DRAWING_ORDER</a></td><td class=SDescription>This method orders nodes by their z-index, but does so in a way that, if there are other nodes with the same z-index, the newest drawn will be the front most within that z-index. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_Y_ORDER" id=link38 onMouseOver="ShowTip(event, 'tt11', 'link38')" onMouseOut="HideTip('tt11')">Z_ORDER_Y_ORDER</a></td><td class=SDescription>This one should really be called Z_ORDER_Y_ORDER_DRAWING_ORDER, as it best describes which ordering methods have precedence (though, the name would be too long). </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
45
46 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.IndexingMethods.Functions"></a>Functions</h3></div></div>
47
48 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER"></a>Z_ORDER</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Z_ORDER: function(</td><td class=PParameter nowrap>indexer,</td></tr><tr><td></td><td class=PParameter nowrap>newNode,</td></tr><tr><td></td><td class=PParameter nowrap>nextNode</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>This compare method is used by other comparison methods.&nbsp; It can be used individually for ordering, but is not recommended, because it doesn&rsquo;t subscribe to drawing order.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>indexer</td><td class=CDLDescription>{<a href="#OpenLayers.ElementsIndexer" class=LClass id=link39 onMouseOver="ShowTip(event, 'tt36', 'link39')" onMouseOut="HideTip('tt36')">OpenLayers.ElementsIndexer</a>}</td></tr><tr><td class=CDLEntry>newNode</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>nextNode</td><td class=CDLDescription>{DOMElement}</td></tr></table><h4 class=CHeading>Returns</h4><p>{Integer}</p></div></div></div>
49
50 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_DRAWING_ORDER"></a>Z_ORDER_DRAWING_ORDER</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Z_ORDER_DRAWING_ORDER: function(</td><td class=PParameter nowrap>indexer,</td></tr><tr><td></td><td class=PParameter nowrap>newNode,</td></tr><tr><td></td><td class=PParameter nowrap>nextNode</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>This method orders nodes by their z-index, but does so in a way that, if there are other nodes with the same z-index, the newest drawn will be the front most within that z-index.&nbsp; This is the default indexing method.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>indexer</td><td class=CDLDescription>{<a href="#OpenLayers.ElementsIndexer" class=LClass id=link40 onMouseOver="ShowTip(event, 'tt36', 'link40')" onMouseOut="HideTip('tt36')">OpenLayers.ElementsIndexer</a>}</td></tr><tr><td class=CDLEntry>newNode</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>nextNode</td><td class=CDLDescription>{DOMElement}</td></tr></table><h4 class=CHeading>Returns</h4><p>{Integer}</p></div></div></div>
51
52 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.ElementsIndexer.IndexingMethods.Z_ORDER_Y_ORDER"></a>Z_ORDER_Y_ORDER</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Z_ORDER_Y_ORDER: function(</td><td class=PParameter nowrap>indexer,</td></tr><tr><td></td><td class=PParameter nowrap>newNode,</td></tr><tr><td></td><td class=PParameter nowrap>nextNode</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>This one should really be called Z_ORDER_Y_ORDER_DRAWING_ORDER, as it best describes which ordering methods have precedence (though, the name would be too long).&nbsp; This method orders nodes by their z-index, but does so in a way that, if there are other nodes with the same z-index, the nodes with the lower y position will be &ldquo;closer&rdquo; than those with a higher y position.&nbsp; If two nodes have the exact same y position, however, then this method will revert to using drawing order to decide placement.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>indexer</td><td class=CDLDescription>{<a href="#OpenLayers.ElementsIndexer" class=LClass id=link41 onMouseOver="ShowTip(event, 'tt36', 'link41')" onMouseOut="HideTip('tt36')">OpenLayers.ElementsIndexer</a>}</td></tr><tr><td class=CDLEntry>newNode</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>nextNode</td><td class=CDLDescription>{DOMElement}</td></tr></table><h4 class=CHeading>Returns</h4><p>{Integer}</p></div></div></div>
53
54 <div class="CClass"><div class=CTopic><h2 class=CTitle><a name="OpenLayers.Renderer.Elements"></a>OpenLayers.<wbr>Renderer.<wbr>Elements</h2><div class=CBody><p>This is another virtual class in that it should never be instantiated by itself as a Renderer.&nbsp; It exists because there is <b>tons</b> of shared functionality between different vector libraries which use nodes/elements as a base for rendering vectors.</p><p>The highlevel bits of code that are implemented here are the adding and removing of geometries, which is essentially the same for any element-based renderer.&nbsp; The details of creating each node and drawing the paths are of course different, but the machinery is the same.</p><h4 class=CHeading>Inherits</h4><ul><li><a href="../Renderer-js.html#OpenLayers.Renderer" class=LClass id=link66 onMouseOver="ShowTip(event, 'tt37', 'link66')" onMouseOut="HideTip('tt37')">OpenLayers.Renderer</a></li></ul><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.rendererRoot" >rendererRoot</a></td><td class=SDescription>{DOMElement}</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.root" >root</a></td><td class=SDescription>{DOMElement}</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.vectorRoot" >vectorRoot</a></td><td class=SDescription>{DOMElement}</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.textRoot" >textRoot</a></td><td class=SDescription>{DOMElement}</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.xmlns" >xmlns</a></td><td class=SDescription>{String}</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Indexer" >Indexer</a></td><td class=SDescription>{&lt;OpenLayers.ElementIndexer&gt;} An instance of OpenLayers.ElementsIndexer created upon initialization if the zIndexing or yOrdering options passed to this renderer&rsquo;s constructor are set to true.</td></tr><tr class="SGroup"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.BACKGROUND_ID_SUFFIX" >BACKGROUND_ID_SUFFIX</a></td><td class=SDescription>{String}</td></tr><tr class="SConstant SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.BACKGROUND_ID_SUFFIX" >BACKGROUND_ID_SUFFIX</a></td><td class=SDescription>{String}</td></tr><tr class="SGroup"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.minimumSymbolizer" >minimumSymbolizer</a></td><td class=SDescription>{Object}</td></tr><tr class="SGroup"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Constructor" >Constructor</a></td><td class=SDescription></td></tr><tr class="SConstructor SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.OpenLayers.Renderer.Elements" >OpenLayers.<wbr>Renderer.<wbr>Elements</a></td><td class=SDescription></td></tr><tr class="SGroup"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.destroy" id=link42 onMouseOver="ShowTip(event, 'tt12', 'link42')" onMouseOut="HideTip('tt12')">destroy</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.clear" id=link43 onMouseOver="ShowTip(event, 'tt13', 'link43')" onMouseOut="HideTip('tt13')">clear</a></td><td class=SDescription>Remove all the elements from the root</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.getNodeType" id=link44 onMouseOver="ShowTip(event, 'tt14', 'link44')" onMouseOut="HideTip('tt14')">getNodeType</a></td><td class=SDescription>This function is in charge of asking the specific renderer which type of node to create for the given geometry and style. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawGeometry" id=link45 onMouseOver="ShowTip(event, 'tt15', 'link45')" onMouseOut="HideTip('tt15')">drawGeometry</a></td><td class=SDescription>Draw the geometry, creating new nodes, setting paths, setting style, setting featureId on the node. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.redrawNode" id=link46 onMouseOver="ShowTip(event, 'tt16', 'link46')" onMouseOut="HideTip('tt16')">redrawNode</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.redrawBackgroundNode" id=link47 onMouseOver="ShowTip(event, 'tt17', 'link47')" onMouseOut="HideTip('tt17')">redrawBackgroundNode</a></td><td class=SDescription>Redraws the node using special &lsquo;background&rsquo; style properties. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawGeometryNode" id=link48 onMouseOver="ShowTip(event, 'tt18', 'link48')" onMouseOut="HideTip('tt18')">drawGeometryNode</a></td><td class=SDescription>Given a node, draw a geometry on the specified layer. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.postDraw" id=link49 onMouseOver="ShowTip(event, 'tt19', 'link49')" onMouseOut="HideTip('tt19')">postDraw</a></td><td class=SDescription>Things that have do be done after the geometry node is appended to its parent node. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawPoint" id=link50 onMouseOver="ShowTip(event, 'tt20', 'link50')" onMouseOut="HideTip('tt20')">drawPoint</a></td><td class=SDescription>Virtual function for drawing Point Geometry. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawLineString" id=link51 onMouseOver="ShowTip(event, 'tt21', 'link51')" onMouseOut="HideTip('tt21')">drawLineString</a></td><td class=SDescription>Virtual function for drawing LineString Geometry. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawLinearRing" id=link52 onMouseOver="ShowTip(event, 'tt22', 'link52')" onMouseOut="HideTip('tt22')">drawLinearRing</a></td><td class=SDescription>Virtual function for drawing LinearRing Geometry. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawPolygon" id=link53 onMouseOver="ShowTip(event, 'tt23', 'link53')" onMouseOut="HideTip('tt23')">drawPolygon</a></td><td class=SDescription>Virtual function for drawing Polygon Geometry. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawRectangle" id=link54 onMouseOver="ShowTip(event, 'tt24', 'link54')" onMouseOut="HideTip('tt24')">drawRectangle</a></td><td class=SDescription>Virtual function for drawing Rectangle Geometry. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawCircle" id=link55 onMouseOver="ShowTip(event, 'tt25', 'link55')" onMouseOut="HideTip('tt25')">drawCircle</a></td><td class=SDescription>Virtual function for drawing Circle Geometry. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.drawSurface" id=link56 onMouseOver="ShowTip(event, 'tt26', 'link56')" onMouseOut="HideTip('tt26')">drawSurface</a></td><td class=SDescription>Virtual function for drawing Surface Geometry. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.removeText" id=link57 onMouseOver="ShowTip(event, 'tt27', 'link57')" onMouseOut="HideTip('tt27')">removeText</a></td><td class=SDescription>Removes a label</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.getFeatureIdFromEvent" id=link58 onMouseOver="ShowTip(event, 'tt28', 'link58')" onMouseOut="HideTip('tt28')">getFeatureIdFromEvent</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.eraseGeometry" id=link59 onMouseOver="ShowTip(event, 'tt29', 'link59')" onMouseOut="HideTip('tt29')">eraseGeometry</a></td><td class=SDescription>Erase a geometry from the renderer. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.nodeFactory" id=link60 onMouseOver="ShowTip(event, 'tt30', 'link60')" onMouseOut="HideTip('tt30')">nodeFactory</a></td><td class=SDescription>Create new node of the specified type, with the (optional) specified id.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.nodeTypeCompare" id=link61 onMouseOver="ShowTip(event, 'tt31', 'link61')" onMouseOut="HideTip('tt31')">nodeTypeCompare</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.createNode" id=link62 onMouseOver="ShowTip(event, 'tt32', 'link62')" onMouseOut="HideTip('tt32')">createNode</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.moveRoot" id=link63 onMouseOver="ShowTip(event, 'tt33', 'link63')" onMouseOut="HideTip('tt33')">moveRoot</a></td><td class=SDescription>moves this renderer&rsquo;s root to a different renderer.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.getRenderLayerId" id=link64 onMouseOver="ShowTip(event, 'tt34', 'link64')" onMouseOut="HideTip('tt34')">getRenderLayerId</a></td><td class=SDescription>Gets the layer that this renderer&rsquo;s output appears on. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.isComplexSymbol" id=link65 onMouseOver="ShowTip(event, 'tt35', 'link65')" onMouseOut="HideTip('tt35')">isComplexSymbol</a></td><td class=SDescription>Determines if a symbol cannot be rendered using drawCircle</td></tr><tr class="SGroup"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#OpenLayers.Renderer.Elements.OpenLayers.Renderer.symbol" >OpenLayers.<wbr>Renderer.<wbr>symbol</a></td><td class=SDescription>Coordinate arrays for well known (named) symbols.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
55
56 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.Properties"></a>Properties</h3></div></div>
57
58 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.rendererRoot"></a>rendererRoot</h3><div class=CBody><p>{DOMElement}</p></div></div></div>
59
60 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.root"></a>root</h3><div class=CBody><p>{DOMElement}</p></div></div></div>
61
62 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.vectorRoot"></a>vectorRoot</h3><div class=CBody><p>{DOMElement}</p></div></div></div>
63
64 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.textRoot"></a>textRoot</h3><div class=CBody><p>{DOMElement}</p></div></div></div>
65
66 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.xmlns"></a>xmlns</h3><div class=CBody><p>{String}</p></div></div></div>
67
68 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.Indexer"></a>Indexer</h3><div class=CBody><p>{&lt;OpenLayers.ElementIndexer&gt;} An instance of OpenLayers.ElementsIndexer created upon initialization if the zIndexing or yOrdering options passed to this renderer&rsquo;s constructor are set to true.</p></div></div></div>
69
70 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.Constants"></a>Constants</h3></div></div>
71
72 <div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.BACKGROUND_ID_SUFFIX"></a>BACKGROUND_ID_SUFFIX</h3><div class=CBody><p>{String}</p></div></div></div>
73
74 <div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.BACKGROUND_ID_SUFFIX"></a>BACKGROUND_ID_SUFFIX</h3><div class=CBody><p>{String}</p></div></div></div>
75
76 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.Properties"></a>Properties</h3></div></div>
77
78 <div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.minimumSymbolizer"></a>minimumSymbolizer</h3><div class=CBody><p>{Object}</p></div></div></div>
79
80 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.Constructor"></a>Constructor</h3></div></div>
81
82 <div class="CConstructor"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.OpenLayers.Renderer.Elements"></a>OpenLayers.<wbr>Renderer.<wbr>Elements</h3><div class=CBody><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>containerID</td><td class=CDLDescription>{String}</td></tr><tr><td class=CDLEntry>options</td><td class=CDLDescription>{Object} options for this renderer.&nbsp; Supported options are:</td></tr></table><ul><li>yOrdering - {Boolean} Whether to use y-ordering</li><li>zIndexing - {Boolean} Whether to use z-indexing.&nbsp; Will be ignored if yOrdering is set to true.</li></ul></div></div></div>
83
84 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.Functions"></a>Functions</h3></div></div>
85
86 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>destroy: function()</td></tr></table></blockquote></div></div></div>
87
88 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.clear"></a>clear</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>clear: function()</td></tr></table></blockquote><p>Remove all the elements from the root</p></div></div></div>
89
90 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.getNodeType"></a>getNodeType</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getNodeType: function(</td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>This function is in charge of asking the specific renderer which type of node to create for the given geometry and style.&nbsp; All geometries in an Elements-based renderer consist of one node and some attributes.&nbsp; We have the nodeFactory() function which creates a node for us, but it takes a &lsquo;type&rsquo; as input, and that is precisely what this function tells us.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link67 onMouseOver="ShowTip(event, 'tt38', 'link67')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>{Object}</td></tr></table><h4 class=CHeading>Returns</h4><p>{String} The corresponding node type for the specified geometry</p></div></div></div>
91
92 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawGeometry"></a>drawGeometry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawGeometry: function(</td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>featureId</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Draw the geometry, creating new nodes, setting paths, setting style, setting featureId on the node.&nbsp;  This method should only be called by the renderer itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link68 onMouseOver="ShowTip(event, 'tt38', 'link68')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>{Object}</td></tr><tr><td class=CDLEntry>featureId</td><td class=CDLDescription>{String}</td></tr></table><h4 class=CHeading>Returns</h4><p>{Boolean} true if the geometry has been drawn completely; null if incomplete; false otherwise</p></div></div></div>
93
94 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.redrawNode"></a>redrawNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>redrawNode: function(</td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>featureId</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>id</td><td class=CDLDescription>{String}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link69 onMouseOver="ShowTip(event, 'tt38', 'link69')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>{Object}</td></tr><tr><td class=CDLEntry>featureId</td><td class=CDLDescription>{String}</td></tr></table><h4 class=CHeading>Returns</h4><p>{Boolean} true if the complete geometry could be drawn, null if parts of the geometry could not be drawn, false otherwise</p></div></div></div>
95
96 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.redrawBackgroundNode"></a>redrawBackgroundNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>redrawBackgroundNode: function(</td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>featureId</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Redraws the node using special &lsquo;background&rsquo; style properties.&nbsp; Basically just calls redrawNode(), but instead of directly using the &lsquo;externalGraphic&rsquo;, &lsquo;graphicXOffset&rsquo;, &lsquo;graphicYOffset&rsquo;, and &lsquo;graphicZIndex&rsquo; properties directly from the specified &lsquo;style&rsquo; parameter, we create a new style object and set those properties from the corresponding &lsquo;background&rsquo;-prefixed properties from specified &lsquo;style&rsquo; parameter.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>id</td><td class=CDLDescription>{String}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link70 onMouseOver="ShowTip(event, 'tt38', 'link70')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>{Object}</td></tr><tr><td class=CDLEntry>featureId</td><td class=CDLDescription>{String}</td></tr></table><h4 class=CHeading>Returns</h4><p>{Boolean} true if the complete geometry could be drawn, null if parts of the geometry could not be drawn, false otherwise</p></div></div></div>
97
98 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawGeometryNode"></a>drawGeometryNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawGeometryNode: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Given a node, draw a geometry on the specified layer. node and geometry are required arguments, style is optional.&nbsp; This method is only called by the render itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link71 onMouseOver="ShowTip(event, 'tt38', 'link71')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>{Object}</td></tr></table><h4 class=CHeading>Returns</h4><p>{Object} a hash with properties &ldquo;node&rdquo; (the drawn node) and &ldquo;complete&rdquo; (null if parts of the geometry could not be drawn, false if nothing could be drawn)</p></div></div></div>
99
100 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.postDraw"></a>postDraw</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>postDraw: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Things that have do be done after the geometry node is appended to its parent node.&nbsp; To be overridden by subclasses.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr></table></div></div></div>
101
102 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawPoint"></a>drawPoint</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawPoint: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Virtual function for drawing Point Geometry.&nbsp; Should be implemented by subclasses.&nbsp; This method is only called by the renderer itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link72 onMouseOver="ShowTip(event, 'tt38', 'link72')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} or false if the renderer could not draw the point</p></div></div></div>
103
104 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawLineString"></a>drawLineString</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawLineString: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Virtual function for drawing LineString Geometry.&nbsp; Should be implemented by subclasses.&nbsp; This method is only called by the renderer itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link73 onMouseOver="ShowTip(event, 'tt38', 'link73')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} or null if the renderer could not draw all components of the linestring, or false if nothing could be drawn</p></div></div></div>
105
106 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawLinearRing"></a>drawLinearRing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawLinearRing: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Virtual function for drawing LinearRing Geometry.&nbsp; Should be implemented by subclasses.&nbsp; This method is only called by the renderer itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link74 onMouseOver="ShowTip(event, 'tt38', 'link74')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} or null if the renderer could not draw all components of the linear ring, or false if nothing could be drawn</p></div></div></div>
107
108 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawPolygon"></a>drawPolygon</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawPolygon: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Virtual function for drawing Polygon Geometry.&nbsp; Should be implemented by subclasses.&nbsp; This method is only called by the renderer itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link75 onMouseOver="ShowTip(event, 'tt38', 'link75')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} or null if the renderer could not draw all components of the polygon, or false if nothing could be drawn</p></div></div></div>
109
110 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawRectangle"></a>drawRectangle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawRectangle: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Virtual function for drawing Rectangle Geometry.&nbsp; Should be implemented by subclasses.&nbsp; This method is only called by the renderer itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link76 onMouseOver="ShowTip(event, 'tt38', 'link76')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} or false if the renderer could not draw the rectangle</p></div></div></div>
111
112 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawCircle"></a>drawCircle</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawCircle: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Virtual function for drawing Circle Geometry.&nbsp; Should be implemented by subclasses.&nbsp; This method is only called by the renderer itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link77 onMouseOver="ShowTip(event, 'tt38', 'link77')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} or false if the renderer could not draw the circle</p></div></div></div>
113
114 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.drawSurface"></a>drawSurface</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawSurface: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Virtual function for drawing Surface Geometry.&nbsp; Should be implemented by subclasses.&nbsp; This method is only called by the renderer itself.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link78 onMouseOver="ShowTip(event, 'tt38', 'link78')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} or false if the renderer could not draw the surface</p></div></div></div>
115
116 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.removeText"></a>removeText</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeText: function(</td><td class=PParameter nowrap>featureId</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes a label</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>featureId</td><td class=CDLDescription>{String}</td></tr></table></div></div></div>
117
118 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.getFeatureIdFromEvent"></a>getFeatureIdFromEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getFeatureIdFromEvent: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>evt</td><td class=CDLDescription>{Object} An <a href="../Events-js.html#OpenLayers.Event" class=LClass id=link79 onMouseOver="ShowTip(event, 'tt39', 'link79')" onMouseOut="HideTip('tt39')">OpenLayers.Event</a> object</td></tr></table><h4 class=CHeading>Returns</h4><p>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link80 onMouseOver="ShowTip(event, 'tt38', 'link80')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>} A geometry from an event that happened on a layer.</p></div></div></div>
119
120 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.eraseGeometry"></a>eraseGeometry</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>eraseGeometry: function(</td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Erase a geometry from the renderer.&nbsp; In the case of a multi-geometry, we cycle through and recurse on ourselves.&nbsp; Otherwise, we look for a node with the geometry.id, destroy its geometry, and remove it from the DOM.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>geometry</td><td class=CDLDescription>{<a href="../Geometry-js.html#OpenLayers.Geometry" class=LClass id=link81 onMouseOver="ShowTip(event, 'tt38', 'link81')" onMouseOut="HideTip('tt38')">OpenLayers.Geometry</a>}</td></tr></table></div></div></div>
121
122 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.nodeFactory"></a>nodeFactory</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>nodeFactory: function(</td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>type</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create new node of the specified type, with the (optional) specified id.</p><p>If node already exists with same ID and a different type, we remove it and then call ourselves again to recreate it.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>id</td><td class=CDLDescription>{String}</td></tr><tr><td class=CDLEntry>type</td><td class=CDLDescription>{String} type Kind of node to draw.</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} A new node of the given type and id.</p></div></div></div>
123
124 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.nodeTypeCompare"></a>nodeTypeCompare</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>nodeTypeCompare: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>type</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>node</td><td class=CDLDescription>{DOMElement}</td></tr><tr><td class=CDLEntry>type</td><td class=CDLDescription>{String} Kind of node</td></tr></table><h4 class=CHeading>Returns</h4><p>{Boolean} Whether or not the specified node is of the specified type This function must be overridden by subclasses.</p></div></div></div>
125
126 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.createNode"></a>createNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>createNode: function(</td><td class=PParameter nowrap>type,</td></tr><tr><td></td><td class=PParameter nowrap>id</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>type</td><td class=CDLDescription>{String} Kind of node to draw.</td></tr><tr><td class=CDLEntry>id</td><td class=CDLDescription>{String} Id for node.</td></tr></table><h4 class=CHeading>Returns</h4><p>{DOMElement} A new node of the given type and id.&nbsp; This function must be overridden by subclasses.</p></div></div></div>
127
128 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.moveRoot"></a>moveRoot</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>moveRoot: function(</td><td class=PParameter nowrap>renderer</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>moves this renderer&rsquo;s root to a different renderer.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>renderer</td><td class=CDLDescription>{<a href="../Renderer-js.html#OpenLayers.Renderer" class=LClass id=link82 onMouseOver="ShowTip(event, 'tt37', 'link82')" onMouseOut="HideTip('tt37')">OpenLayers.Renderer</a>} target renderer for the moved root</td></tr></table></div></div></div>
129
130 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.getRenderLayerId"></a>getRenderLayerId</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>getRenderLayerId: function()</td></tr></table></blockquote><p>Gets the layer that this renderer&rsquo;s output appears on.&nbsp; If moveRoot was used, this will be different from the id of the layer containing the features rendered by this renderer.</p><h4 class=CHeading>Returns</h4><p>{String} the id of the output layer.</p></div></div></div>
131
132 <div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.isComplexSymbol"></a>isComplexSymbol</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isComplexSymbol: function(</td><td class=PParameter nowrap>graphicName</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Determines if a symbol cannot be rendered using drawCircle</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>graphicName</td><td class=CDLDescription>{String}</td></tr></table><p>Returns {Boolean} true if the symbol is complex, false if not</p></div></div></div>
133
134 <div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.Constants"></a>Constants</h3></div></div>
135
136 <div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="OpenLayers.Renderer.Elements.OpenLayers.Renderer.symbol"></a>OpenLayers.<wbr>Renderer.<wbr>symbol</h3><div class=CBody><p>Coordinate arrays for well known (named) symbols.</p></div></div></div>
137
138 </div><!--Content-->
139
140
141 <div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
142
143
144 <div id=Menu><div class=MTitle>OpenLayers<div class=MSubTitle>JavaScript Mapping Library</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent29')">OpenLayers</a><div class=MGroupContent id=MGroupContent29><div class=MEntry><div class=MFile><a href="../../OpenLayers-js.html">OpenLayers</a></div></div><div class=MEntry><div class=MFile><a href="../Ajax-js.html">Ajax</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">BaseTypes</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../BaseTypes-js.html">Base Types</a></div></div><div class=MEntry><div class=MFile><a href="../BaseTypes/Bounds-js.html">Bounds</a></div></div><div class=MEntry><div class=MFile><a href="../BaseTypes/Class-js.html">Class</a></div></div><div class=MEntry><div class=MFile><a href="../BaseTypes/Element-js.html">Element</a></div></div><div class=MEntry><div class=MFile><a href="../BaseTypes/LonLat-js.html">LonLat</a></div></div><div class=MEntry><div class=MFile><a href="../BaseTypes/Pixel-js.html">Pixel</a></div></div><div class=MEntry><div class=MFile><a href="../BaseTypes/Size-js.html">Size</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Console-js.html">Console</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Control</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../Control-js.html">Control</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Control</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../Control/ArgParser-js.html">ArgParser</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Attribution-js.html">Attribution</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Button-js.html">Button</a></div></div><div class=MEntry><div class=MFile><a href="../Control/DragFeature-js.html">DragFeature</a></div></div><div class=MEntry><div class=MFile><a href="../Control/DragPan-js.html">DragPan</a></div></div><div class=MEntry><div class=MFile><a href="../Control/DrawFeature-js.html">DrawFeature</a></div></div><div class=MEntry><div class=MFile><a href="../Control/EditingToolbar-js.html">EditingToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../Control/GetFeature-js.html">GetFeature</a></div></div><div class=MEntry><div class=MFile><a href="../Control/KeyboardDefaults-js.html">KeyboardDefaults</a></div></div><div class=MEntry><div class=MFile><a href="../Control/LayerSwitcher-js.html">LayerSwitcher</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Measure-js.html">Measure</a></div></div><div class=MEntry><div class=MFile><a href="../Control/ModifyFeature-js.html">ModifyFeature</a></div></div><div class=MEntry><div class=MFile><a href="../Control/MouseDefaults-js.html">MouseDefaults</a></div></div><div class=MEntry><div class=MFile><a href="../Control/MousePosition-js.html">MousePosition</a></div></div><div class=MEntry><div class=MFile><a href="../Control/MouseToolbar-js.html">MouseToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Navigation-js.html">Navigation</a></div></div><div class=MEntry><div class=MFile><a href="../Control/NavigationHistory-js.html">NavigationHistory</a></div></div><div class=MEntry><div class=MFile><a href="../Control/NavToolbar-js.html">NavToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../Control/OverviewMap-js.html">OverviewMap</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Pan-js.html">Pan</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Panel-js.html">Panel</a></div></div><div class=MEntry><div class=MFile><a href="../Control/PanPanel-js.html">PanPanel</a></div></div><div class=MEntry><div class=MFile><a href="../Control/PanZoom-js.html">PanZoom</a></div></div><div class=MEntry><div class=MFile><a href="../Control/PanZoomBar-js.html">PanZoomBar</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Permalink-js.html">Permalink</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Scale-js.html">Scale</a></div></div><div class=MEntry><div class=MFile><a href="../Control/ScaleLine-js.html">ScaleLine</a></div></div><div class=MEntry><div class=MFile><a href="../Control/SelectFeature-js.html">SelectFeature</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Snapping-js.html">Snapping</a></div></div><div class=MEntry><div class=MFile><a href="../Control/Split-js.html">Split</a></div></div><div class=MEntry><div class=MFile><a href="../Control/WMSGetFeatureInfo-js.html">WMSGetFeatureInfo</a></div></div><div class=MEntry><div class=MFile><a href="../Control/ZoomBox-js.html">ZoomBox</a></div></div><div class=MEntry><div class=MFile><a href="../Control/ZoomIn-js.html">ZoomIn</a></div></div><div class=MEntry><div class=MFile><a href="../Control/ZoomOut-js.html">ZoomOut</a></div></div><div class=MEntry><div class=MFile><a href="../Control/ZoomPanel-js.html">ZoomPanel</a></div></div><div class=MEntry><div class=MFile><a href="../Control/ZoomToMaxExtent-js.html">ZoomToMaxExtent</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Events-js.html">Events</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Feature</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../Feature-js.html">Feature</a></div></div><div class=MEntry><div class=MFile><a href="../Feature/Vector-js.html">Vector</a></div></div><div class=MEntry><div class=MFile><a href="../Feature/WFS-js.html">WFS</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Filter</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../Filter-js.html">Filter</a></div></div><div class=MEntry><div class=MFile><a href="../Filter/Comparison-js.html">Comparison</a></div></div><div class=MEntry><div class=MFile><a href="../Filter/FeatureId-js.html">FeatureId</a></div></div><div class=MEntry><div class=MFile><a href="../Filter/Logical-js.html">Logical</a></div></div><div class=MEntry><div class=MFile><a href="../Filter/Spatial-js.html">Spatial</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent14')">Format</a><div class=MGroupContent id=MGroupContent14><div class=MEntry><div class=MFile><a href="../Format-js.html">Format</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Filter</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="../Format/Filter-js.html">Filter</a></div></div><div class=MEntry><div class=MFile><a href="../Format/Filter/v1-js.html">v1</a></div></div><div class=MEntry><div class=MFile><a href="../Format/Filter/v1_0_0-js.html">v1_0_0</a></div></div><div class=MEntry><div class=MFile><a href="../Format/Filter/v1_1_0-js.html">v1_1_0</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">GML</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MFile><a href="../Format/GML-js.html">GML</a></div></div><div class=MEntry><div class=MFile><a href="../Format/GML/Base-js.html">Base</a></div></div><div class=MEntry><div class=MFile><a href="../Format/GML/v2-js.html">v2</a></div></div><div class=MEntry><div class=MFile><a href="../Format/GML/v3-js.html">v3</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">SLD</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../Format/SLD-js.html">SLD</a></div></div><div class=MEntry><div class=MFile><a href="../Format/SLD/v1-js.html">v1</a></div></div><div class=MEntry><div class=MFile><a href="../Format/SLD/v1_0_0-js.html">v1_0_0</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">WMC</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MFile><a href="../Format/WMC-js.html">WMC</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WMC/v1-js.html">v1</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WMC/v1_0_0-js.html">v1_0_0</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WMC/v1_1_0-js.html">v1_1_0</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent13')">Format</a><div class=MGroupContent id=MGroupContent13><div class=MEntry><div class=MFile><a href="../Format/ArcXML-js.html">ArcXML</a></div></div><div class=MEntry><div class=MFile><a href="../Format/ArcXML/Features-js.html">ArcXML.<wbr>Features</a></div></div><div class=MEntry><div class=MFile><a href="../Format/GeoJSON-js.html">GeoJSON</a></div></div><div class=MEntry><div class=MFile><a href="../Format/GeoRSS-js.html">GeoRSS</a></div></div><div class=MEntry><div class=MFile><a href="../Format/GPX-js.html">GPX</a></div></div><div class=MEntry><div class=MFile><a href="../Format/JSON-js.html">JSON</a></div></div><div class=MEntry><div class=MFile><a href="../Format/KML-js.html">KML</a></div></div><div class=MEntry><div class=MFile><a href="../Format/OSM-js.html">OSM</a></div></div><div class=MEntry><div class=MFile><a href="../Format/Text-js.html">Text</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WFS-js.html">WFS</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WFSCapabilities-js.html">WFSCapabilities</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">WFSCapabilities</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="../Format/WFSCapabilities/v1-js.html">WFSCapabilities.v1</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WFSCapabilities/v1_0_0-js.html">WFSCapabilities/<wbr>v1_0_0</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WFSCapabilities/v1_1_0-js.html">WFSCapabilities/<wbr>v1_1_0</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Format/WFSDescribeFeatureType-js.html">WFSDescribeFeatureType.js</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">WFST</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="../Format/WFST-js.html">WFST</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WFST/v1-js.html">v1</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WFST/v1_0_0-js.html">v1_0_0</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WFST/v1_1_0-js.html">v1_1_0</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Format/WKT-js.html">WKT</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WMSCapabilities-js.html">WMSCapabilities</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">WMSCapabilities</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MFile><a href="../Format/WMSCapabilities/v1_1-js.html">WMSCapabilities.v1_1</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WMSCapabilities/v1_1_0-js.html">WMSCapabilities/<wbr>v1_1_0</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WMSCapabilities/v1_1_1-js.html">WMSCapabilities/<wbr>v1_1_1</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Format/WMSDescribeLayer-js.html">WMSDescribeLayer</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WMSDescribeLayer/v1_1-js.html">WMSDescribeLayer.v1_1</a></div></div><div class=MEntry><div class=MFile><a href="../Format/WMSGetFeatureInfo-js.html">WMSGetFeatureInfo</a></div></div><div class=MEntry><div class=MFile><a href="../Format/XML-js.html">XML</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent15')">Geometry</a><div class=MGroupContent id=MGroupContent15><div class=MEntry><div class=MFile><a href="../Geometry-js.html">Geometry</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/Collection-js.html">Collection</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/Curve-js.html">Curve</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/LinearRing-js.html">LinearRing</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/LineString-js.html">LineString</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/MultiLineString-js.html">MultiLineString</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/MultiPoint-js.html">MultiPoint</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/MultiPolygon-js.html">MultiPolygon</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/Point-js.html">Point</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/Polygon-js.html">Polygon</a></div></div><div class=MEntry><div class=MFile><a href="../Geometry/Rectangle-js.html">Rectangle</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent16')">Handler</a><div class=MGroupContent id=MGroupContent16><div class=MEntry><div class=MFile><a href="../Handler-js.html">Handler</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Box-js.html">Box</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Click-js.html">Click</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Drag-js.html">Drag</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Feature-js.html">Feature</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Hover-js.html">Hover</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Keyboard-js.html">Keyboard</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/MouseWheel-js.html">MouseWheel</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Path-js.html">Path</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Point-js.html">Point</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/Polygon-js.html">Polygon</a></div></div><div class=MEntry><div class=MFile><a href="../Handler/RegularPolygon-js.html">RegularPolygon</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Icon-js.html">Icon</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent17')">Lang</a><div class=MGroupContent id=MGroupContent17><div class=MEntry><div class=MFile><a href="../Lang-js.html">Lang</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/ca-js.html">ca</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/cs-CZ-js.html">cs-CZ</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/da-DK-js.html">da-DK</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/de-js.html">de</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/en-js.html">en</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/en-CA-js.html">en-CA</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/es-js.html">es</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/fr-js.html">fr</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/it-js.html">it</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/nb-js.html">nb</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/nl-js.html">nl</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/pt-BR-js.html">pt-BR</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/sv-SE-js.html">sv-SE</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/zh-CN-js.html">zh-CN</a></div></div><div class=MEntry><div class=MFile><a href="../Lang/zh-TW-js.html">zh-TW</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent19')">Layer</a><div class=MGroupContent id=MGroupContent19><div class=MEntry><div class=MFile><a href="../Layer-js.html">Layer</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent18')">Layer</a><div class=MGroupContent id=MGroupContent18><div class=MEntry><div class=MFile><a href="../Layer/ArcGIS93Rest-js.html">ArcGIS93Rest</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Boxes-js.html">Boxes</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/EventPane-js.html">EventPane</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/FixedZoomLevels-js.html">FixedZoomLevels</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/GeoRSS-js.html">GeoRSS</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/GML-js.html">GML</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Google-js.html">Google</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Grid-js.html">Grid</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/HTTPRequest-js.html">HTTPRequest</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Image-js.html">Image</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/KaMap-js.html">KaMap</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/KaMapCache-js.html">KaMapCache</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/MapGuide-js.html">MapGuide</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/MapServer-js.html">MapServer</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/MapServer/Untiled-js.html">MapServer.<wbr>Untiled</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Markers-js.html">Markers</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/MultiMap-js.html">MultiMap</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/PointTrack-js.html">PointTrack</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/SphericalMercator-js.html">SphericalMercator</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Text-js.html">Text</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/TileCache-js.html">TileCache</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/TMS-js.html">TMS</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Vector-js.html">Vector</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Vector/RootContainer-js.html">Vector.<wbr>RootContainer</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/VirtualEarth-js.html">VirtualEarth</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/WFS-js.html">WFS</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/WMS-js.html">WMS</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/WMS/Untiled-js.html">WMS.<wbr>Untiled</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/WorldWind-js.html">WorldWind</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/Yahoo-js.html">Yahoo</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/ArcIMS-js.html">ArcIMS</a></div></div><div class=MEntry><div class=MFile><a href="../Layer/XYZ-js.html">XYZ</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Map-js.html">Map</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent20')">Marker</a><div class=MGroupContent id=MGroupContent20><div class=MEntry><div class=MFile><a href="../Marker-js.html">Marker</a></div></div><div class=MEntry><div class=MFile><a href="../Marker/Box-js.html">Box</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent21')">Popup</a><div class=MGroupContent id=MGroupContent21><div class=MEntry><div class=MFile><a href="../Popup-js.html">Popup</a></div></div><div class=MEntry><div class=MFile><a href="../Popup/Anchored-js.html">Anchored</a></div></div><div class=MEntry><div class=MFile><a href="../Popup/AnchoredBubble-js.html">AnchoredBubble</a></div></div><div class=MEntry><div class=MFile><a href="../Popup/Framed-js.html">Framed</a></div></div><div class=MEntry><div class=MFile><a href="../Popup/FramedCloud-js.html">FramedCloud</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Projection-js.html">Projection</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent24')">Protocol</a><div class=MGroupContent id=MGroupContent24><div class=MEntry><div class=MFile><a href="../Protocol-js.html">Protocol</a></div></div><div class=MEntry><div class=MFile><a href="../Protocol/HTTP-js.html">HTTP</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent22')">SQL</a><div class=MGroupContent id=MGroupContent22><div class=MEntry><div class=MFile><a href="../Protocol/SQL-js.html">SQL</a></div></div><div class=MEntry><div class=MFile><a href="../Protocol/SQL/Gears-js.html">Gears</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent23')">WFS</a><div class=MGroupContent id=MGroupContent23><div class=MEntry><div class=MFile><a href="../Protocol/WFS-js.html">WFS</a></div></div><div class=MEntry><div class=MFile><a href="../Protocol/WFS/v1-js.html">v1</a></div></div><div class=MEntry><div class=MFile><a href="../Protocol/WFS/v1_0_0-js.html">v1_0_0</a></div></div><div class=MEntry><div class=MFile><a href="../Protocol/WFS/v1_1_0-js.html">v1_1_0</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent25')">Renderer</a><div class=MGroupContent id=MGroupContent25><div class=MEntry><div class=MFile><a href="../Renderer-js.html">Renderer</a></div></div><div class=MEntry><div class=MFile><a href="Canvas-js.html">Canvas</a></div></div><div class=MEntry><div class=MFile id=MSelected>Elements</div></div><div class=MEntry><div class=MFile><a href="SVG-js.html">SVG</a></div></div><div class=MEntry><div class=MFile><a href="VML-js.html">VML</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent26')">Request</a><div class=MGroupContent id=MGroupContent26><div class=MEntry><div class=MFile><a href="../Request-js.html">Request</a></div></div><div class=MEntry><div class=MFile><a href="../Request/XMLHttpRequest-js.html">XMLHttpRequest</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Rule-js.html">Rule</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent27')">Strategy</a><div class=MGroupContent id=MGroupContent27><div class=MEntry><div class=MFile><a href="../Strategy-js.html">Strategy</a></div></div><div class=MEntry><div class=MFile><a href="../Strategy/BBOX-js.html">BBOX</a></div></div><div class=MEntry><div class=MFile><a href="../Strategy/Cluster-js.html">Cluster</a></div></div><div class=MEntry><div class=MFile><a href="../Strategy/Fixed-js.html">Fixed</a></div></div><div class=MEntry><div class=MFile><a href="../Strategy/Paging-js.html">Paging</a></div></div><div class=MEntry><div class=MFile><a href="../Strategy/Save-js.html">Save</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Style-js.html">Style</a></div></div><div class=MEntry><div class=MFile><a href="../StyleMap-js.html">StyleMap</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent28')">Tile</a><div class=MGroupContent id=MGroupContent28><div class=MEntry><div class=MFile><a href="../Tile-js.html">Tile</a></div></div><div class=MEntry><div class=MFile><a href="../Tile/Image-js.html">Image</a></div></div><div class=MEntry><div class=MFile><a href="../Tile/WFS-js.html">WFS</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../Tween-js.html">Tween</a></div></div><div class=MEntry><div class=MFile><a href="../Util-js.html">Util</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent30')">Index</a><div class=MGroupContent id=MGroupContent30><div class=MEntry><div class=MIndex><a href="../../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Properties.html">Properties</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../../index/Constructor.html">Constructor</a></div></div></div></div></div><script type="text/javascript"><!--
145 var searchPanel = new SearchPanel("searchPanel", "HTML", "../../../search");
146 --></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Constants">Constants</option><option value="Constructor">Constructor</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Properties">Properties</option></select></div><script language=JavaScript><!--
147 HideAllBut([25, 29], 31);// --></script></div><!--Menu-->
148
149
150
151 <!--START_ND_TOOLTIPS-->
152 <div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>initialize: function(</td><td class=PParameter nowrap>yOrdering</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create a new indexer with</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>insert: function(</td><td class=PParameter nowrap>newNode</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Insert a new node into the indexer. </div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>remove: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>clear: function()</td></tr></table></blockquote></div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>exists: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>node- {DOMElement} The node to test for existence.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getZIndex: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Get the z-index value for the current node from the node data itself.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>determineZIndex: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Determine the z-index for the current node if there isn&rsquo;t one, and set the maximum value if we&rsquo;ve found a new maximum.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getNextElement: function(</td><td class=PParameter nowrap>index</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Get the next element in the order stack.</div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Z_ORDER: function(</td><td class=PParameter nowrap>indexer,</td></tr><tr><td></td><td class=PParameter nowrap>newNode,</td></tr><tr><td></td><td class=PParameter nowrap>nextNode</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>This compare method is used by other comparison methods. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Z_ORDER_DRAWING_ORDER: function(</td><td class=PParameter nowrap>indexer,</td></tr><tr><td></td><td class=PParameter nowrap>newNode,</td></tr><tr><td></td><td class=PParameter nowrap>nextNode</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>This method orders nodes by their z-index, but does so in a way that, if there are other nodes with the same z-index, the newest drawn will be the front most within that z-index. </div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>Z_ORDER_Y_ORDER: function(</td><td class=PParameter nowrap>indexer,</td></tr><tr><td></td><td class=PParameter nowrap>newNode,</td></tr><tr><td></td><td class=PParameter nowrap>nextNode</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>This one should really be called Z_ORDER_Y_ORDER_DRAWING_ORDER, as it best describes which ordering methods have precedence (though, the name would be too long). </div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>destroy: function()</td></tr></table></blockquote></div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>clear: function()</td></tr></table></blockquote>Remove all the elements from the root</div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getNodeType: function(</td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>This function is in charge of asking the specific renderer which type of node to create for the given geometry and style. </div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawGeometry: function(</td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>featureId</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Draw the geometry, creating new nodes, setting paths, setting style, setting featureId on the node. </div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>redrawNode: function(</td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>featureId</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>redrawBackgroundNode: function(</td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>featureId</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Redraws the node using special &lsquo;background&rsquo; style properties. </div></div><div class=CToolTip id="tt18"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawGeometryNode: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Given a node, draw a geometry on the specified layer. </div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>postDraw: function(</td><td class=PParameter nowrap>node</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Things that have do be done after the geometry node is appended to its parent node. </div></div><div class=CToolTip id="tt20"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawPoint: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Virtual function for drawing Point Geometry. </div></div><div class=CToolTip id="tt21"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawLineString: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Virtual function for drawing LineString Geometry. </div></div><div class=CToolTip id="tt22"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawLinearRing: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Virtual function for drawing LinearRing Geometry. </div></div><div class=CToolTip id="tt23"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawPolygon: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Virtual function for drawing Polygon Geometry. </div></div><div class=CToolTip id="tt24"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawRectangle: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Virtual function for drawing Rectangle Geometry. </div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawCircle: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Virtual function for drawing Circle Geometry. </div></div><div class=CToolTip id="tt26"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>drawSurface: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Virtual function for drawing Surface Geometry. </div></div><div class=CToolTip id="tt27"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeText: function(</td><td class=PParameter nowrap>featureId</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Removes a label</div></div><div class=CToolTip id="tt28"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getFeatureIdFromEvent: function(</td><td class=PParameter nowrap>evt</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt29"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>eraseGeometry: function(</td><td class=PParameter nowrap>geometry</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Erase a geometry from the renderer. </div></div><div class=CToolTip id="tt30"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>nodeFactory: function(</td><td class=PParameter nowrap>id,</td></tr><tr><td></td><td class=PParameter nowrap>type</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create new node of the specified type, with the (optional) specified id.</div></div><div class=CToolTip id="tt31"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>nodeTypeCompare: function(</td><td class=PParameter nowrap>node,</td></tr><tr><td></td><td class=PParameter nowrap>type</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt32"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>createNode: function(</td><td class=PParameter nowrap>type,</td></tr><tr><td></td><td class=PParameter nowrap>id</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt33"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>moveRoot: function(</td><td class=PParameter nowrap>renderer</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>moves this renderer&rsquo;s root to a different renderer.</div></div><div class=CToolTip id="tt34"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>getRenderLayerId: function()</td></tr></table></blockquote>Gets the layer that this renderer&rsquo;s output appears on. </div></div><div class=CToolTip id="tt35"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>isComplexSymbol: function(</td><td class=PParameter nowrap>graphicName</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Determines if a symbol cannot be rendered using drawCircle</div></div><div class=CToolTip id="tt36"><div class=CClass>This class takes care of figuring out which order elements should be placed in the DOM based on given indexing methods.</div></div><div class=CToolTip id="tt37"><div class=CClass>This is the base class for all renderers.</div></div><div class=CToolTip id="tt38"><div class=CClass>A Geometry is a description of a geographic object. </div></div><div class=CToolTip id="tt39"><div class=CClass>Utility functions for event handling.</div></div><!--END_ND_TOOLTIPS-->
153
154
155
156
157 <div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
158
159
160 <script language=JavaScript><!--
161 if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>