[76] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 3 | |
---|
| 4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 5 | <head> |
---|
| 6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 7 | |
---|
| 8 | <title>GeoExt.data.ScaleStore — GeoExt v1.0</title> |
---|
| 9 | <link rel="stylesheet" href="../../../_static/geoext.css" type="text/css" /> |
---|
| 10 | <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" /> |
---|
| 11 | <script type="text/javascript"> |
---|
| 12 | var DOCUMENTATION_OPTIONS = { |
---|
| 13 | URL_ROOT: '../../../', |
---|
| 14 | VERSION: '1.0', |
---|
| 15 | COLLAPSE_MODINDEX: false, |
---|
| 16 | FILE_SUFFIX: '.html', |
---|
| 17 | HAS_SOURCE: true |
---|
| 18 | }; |
---|
| 19 | </script> |
---|
| 20 | <script type="text/javascript" src="../../../_static/jquery.js"></script> |
---|
| 21 | <script type="text/javascript" src="../../../_static/doctools.js"></script> |
---|
| 22 | <link rel="shortcut icon" href="../../../_static/favicon.ico"/> |
---|
| 23 | <link rel="top" title="GeoExt v1.0" href="../../../index.html" /> |
---|
| 24 | <link rel="up" title="GeoExt.data" href="../data.html" /> |
---|
| 25 | <link rel="next" title="GeoExt.data.WFSCapabilitiesReader" href="WFSCapabilitiesReader.html" /> |
---|
| 26 | <link rel="prev" title="GeoExt.data.ProtocolProxy" href="ProtocolProxy.html" /> |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | </head> |
---|
| 34 | <body> |
---|
| 35 | <div class="header"> |
---|
| 36 | <div class="wrap"> |
---|
| 37 | <h1 id="logo"><a href="../../../index.html">GeoExt</a></h1> |
---|
| 38 | <ul id="top-nav"> |
---|
| 39 | <li class="first"><a href="../../../docs.html">Documentation</a></li> |
---|
| 40 | <li><a href="../../../examples.html">Examples</a></li> |
---|
| 41 | <li><a href="../../../downloads.html">Download</a></li> |
---|
| 42 | <li><a href="http://trac.geoext.org/">Development</a></li> |
---|
| 43 | </ul> |
---|
| 44 | <div id="searchbox"> |
---|
| 45 | <form class="search" action="../../../search.html" method="get"> |
---|
| 46 | <input id="searchbox-query" type="text" name="q" size="25" value="Search …" tabindex="3" onblur="if(this.value=='') this.value='Search …';" onfocus="if(this.value=='Search …') this.value='';" /> |
---|
| 47 | <input id="searchbox-submit" type="image" value="Search" src="../../../_static/img/search_icon_green.png" /> |
---|
| 48 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 49 | <input type="hidden" name="area" value="default" /> |
---|
| 50 | </form> |
---|
| 51 | </div> |
---|
| 52 | </div> |
---|
| 53 | </div> |
---|
| 54 | |
---|
| 55 | <div class="related"> |
---|
| 56 | <h3>Navigation</h3> |
---|
| 57 | <ul> |
---|
| 58 | <li><a href="../../../index.html">GeoExt</a> »</li> |
---|
| 59 | <li><a href="../../index.html" >API Reference</a> »</li> |
---|
| 60 | <li><a href="../data.html" accesskey="U"><tt class="docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal"><span class="pre">GeoExt.data</span></tt></a> »</li> |
---|
| 61 | <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.data.ScaleStore</span></tt></a></li> |
---|
| 62 | </ul> |
---|
| 63 | </div> |
---|
| 64 | |
---|
| 65 | <div class="sphinxsidebar"> |
---|
| 66 | <div class="sphinxsidebarwrapper"> |
---|
| 67 | <h3><a href="../../../index.html">Table Of Contents</a></h3> |
---|
| 68 | <ul> |
---|
| 69 | <li><a class="reference external" href="#"><tt class="docutils literal"><span class="pre">GeoExt.data.ScaleStore</span></tt></a><ul> |
---|
| 70 | <li><a class="reference external" href="#config-options">Config Options</a></li> |
---|
| 71 | <li><a class="reference external" href="#public-methods">Public Methods</a></li> |
---|
| 72 | </ul> |
---|
| 73 | </li> |
---|
| 74 | </ul> |
---|
| 75 | |
---|
| 76 | <h4>Previous topic</h4> |
---|
| 77 | <p class="topless"><a href="ProtocolProxy.html" |
---|
| 78 | title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">GeoExt.data.ProtocolProxy</span></tt></a></p> |
---|
| 79 | <h4>Next topic</h4> |
---|
| 80 | <p class="topless"><a href="WFSCapabilitiesReader.html" |
---|
| 81 | title="next chapter"><tt class="docutils literal"><span class="pre">GeoExt.data.WFSCapabilitiesReader</span></tt></a></p> |
---|
| 82 | </div> |
---|
| 83 | </div> |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | <div class="document"> |
---|
| 87 | <div class="documentwrapper"> |
---|
| 88 | <div class="bodywrapper"> |
---|
| 89 | <div class="body"> |
---|
| 90 | |
---|
| 91 | <div class="section" id="geoext-data-scalestore"> |
---|
| 92 | <h1><a title="GeoExt.data.ScaleStore" class="reference internal" href="#GeoExt.data.ScaleStore"><tt class="xref docutils literal"><span class="pre">GeoExt.data.ScaleStore</span></tt></a><a class="headerlink" href="#geoext-data-scalestore" title="Permalink to this headline">¶</a></h1> |
---|
| 93 | <dl class="meta docutils"> |
---|
| 94 | <dt>Extends</dt> |
---|
| 95 | <dd><ul class="first last simple"> |
---|
| 96 | <li><a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store">Ext.data.Store</a></li> |
---|
| 97 | </ul> |
---|
| 98 | </dd> |
---|
| 99 | </dl> |
---|
| 100 | <dl class="class"> |
---|
| 101 | <dt id="GeoExt.data.ScaleStore"> |
---|
| 102 | <em class="property">class </em><tt class="descclassname">GeoExt.data.</tt><tt class="descname">ScaleStore</tt><a class="headerlink" href="#GeoExt.data.ScaleStore" title="Permalink to this definition">¶</a></dt> |
---|
| 103 | <dd><p>A store that contains a cache of available zoom levels. The store can |
---|
| 104 | optionally be kept synchronized with an <tt class="docutils literal"><span class="pre">OpenLayers.Map</span></tt> or |
---|
| 105 | <a title="GeoExt.MapPanel" class="reference external" href="../widgets/MapPanel.html#GeoExt.MapPanel"><tt class="xref docutils literal"><span class="pre">GeoExt.MapPanel</span></tt></a> object.</p> |
---|
| 106 | <p>Records have the following fields:</p> |
---|
| 107 | <ul class="simple"> |
---|
| 108 | <li>level - <tt class="docutils literal"><span class="pre">Number</span></tt> The zoom level.</li> |
---|
| 109 | <li>scale - <tt class="docutils literal"><span class="pre">Number</span></tt> The scale denominator.</li> |
---|
| 110 | <li>resolution - <tt class="docutils literal"><span class="pre">Number</span></tt> The map units per pixel.</li> |
---|
| 111 | </ul> |
---|
| 112 | </dd></dl> |
---|
| 113 | |
---|
| 114 | <div class="section" id="config-options"> |
---|
| 115 | <h2>Config Options<a class="headerlink" href="#config-options" title="Permalink to this headline">¶</a></h2> |
---|
| 116 | <p>Configuration properties in addition to |
---|
| 117 | those listed for <a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store">Ext.data.Store</a>.</p> |
---|
| 118 | <dl class="describe"> |
---|
| 119 | <dt> |
---|
| 120 | <tt class="descname">map</tt></dt> |
---|
| 121 | <dd><tt class="docutils literal"><span class="pre">OpenLayers.Map</span></tt> or <a title="GeoExt.MapPanel" class="reference external" href="../widgets/MapPanel.html#GeoExt.MapPanel"><tt class="xref docutils literal"><span class="pre">GeoExt.MapPanel</span></tt></a> |
---|
| 122 | Optional map or map panel from which to derive scale values.</dd></dl> |
---|
| 123 | |
---|
| 124 | </div> |
---|
| 125 | <div class="section" id="public-methods"> |
---|
| 126 | <h2>Public Methods<a class="headerlink" href="#public-methods" title="Permalink to this headline">¶</a></h2> |
---|
| 127 | <p>Public methods in addition to those |
---|
| 128 | listed for <a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store">Ext.data.Store</a>.</p> |
---|
| 129 | <dl class="method"> |
---|
| 130 | <dt id="GeoExt.data.ScaleStore.bind"> |
---|
| 131 | <tt class="descclassname">ScaleStore.</tt><tt class="descname">bind</tt><big>(</big><big>)</big><a class="headerlink" href="#GeoExt.data.ScaleStore.bind" title="Permalink to this definition">¶</a></dt> |
---|
| 132 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
| 133 | <col class="field-name" /> |
---|
| 134 | <col class="field-body" /> |
---|
| 135 | <tbody valign="top"> |
---|
| 136 | <tr class="field"><th class="field-name">Parameter:</th><td class="field-body"><em>map</em> – <a title="GeoExt.MapPanel" class="reference external" href="../widgets/MapPanel.html#GeoExt.MapPanel"><tt class="xref docutils literal"><span class="pre">GeoExt.MapPanel</span></tt></a> or <tt class="docutils literal"><span class="pre">OpenLayers.Map</span></tt> Panel or map |
---|
| 137 | to which we should bind.</td> |
---|
| 138 | </tr> |
---|
| 139 | </tbody> |
---|
| 140 | </table> |
---|
| 141 | <p>Bind this store to a map; that is, maintain the zoom list in sync with |
---|
| 142 | the map’s current configuration. If the map does not currently have a |
---|
| 143 | set scale list, then the store will remain empty until the map is |
---|
| 144 | configured with one.</p> |
---|
| 145 | </dd></dl> |
---|
| 146 | |
---|
| 147 | <dl class="method"> |
---|
| 148 | <dt id="GeoExt.data.ScaleStore.unbind"> |
---|
| 149 | <tt class="descclassname">ScaleStore.</tt><tt class="descname">unbind</tt><big>(</big><big>)</big><a class="headerlink" href="#GeoExt.data.ScaleStore.unbind" title="Permalink to this definition">¶</a></dt> |
---|
| 150 | <dd>Un-bind this store from the map to which it is currently bound. The |
---|
| 151 | currently stored zoom levels will remain, but no further changes from |
---|
| 152 | the map will affect it.</dd></dl> |
---|
| 153 | |
---|
| 154 | </div> |
---|
| 155 | </div> |
---|
| 156 | |
---|
| 157 | |
---|
| 158 | </div> |
---|
| 159 | </div> |
---|
| 160 | </div> |
---|
| 161 | <div class="clearer"></div> |
---|
| 162 | </div> |
---|
| 163 | <div class="related"> |
---|
| 164 | <h3>Navigation</h3> |
---|
| 165 | <ul> |
---|
| 166 | <li class="right" style="margin-right: 10px"> |
---|
| 167 | <a href="../../../genindex.html" title="General Index" |
---|
| 168 | accesskey="I">index</a></li> |
---|
| 169 | <li class="right" > |
---|
| 170 | <a href="../../../modindex.html" title="Global Module Index" |
---|
| 171 | accesskey="M">modules</a> |</li> |
---|
| 172 | <li class="right" > |
---|
| 173 | <a href="WFSCapabilitiesReader.html" title="GeoExt.data.WFSCapabilitiesReader" |
---|
| 174 | accesskey="N">next</a> |</li> |
---|
| 175 | <li class="right" > |
---|
| 176 | <a href="ProtocolProxy.html" title="GeoExt.data.ProtocolProxy" |
---|
| 177 | accesskey="P">previous</a> |</li> |
---|
| 178 | <li><a href="../../../index.html">GeoExt</a> »</li> |
---|
| 179 | <li><a href="../../index.html" >API Reference</a> »</li> |
---|
| 180 | <li><a href="../data.html" ><tt class="docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal"><span class="pre">GeoExt.data</span></tt></a> »</li> |
---|
| 181 | <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.data.ScaleStore</span></tt></a></li> |
---|
| 182 | </ul> |
---|
| 183 | </div> |
---|
| 184 | |
---|
| 185 | <div class="footer"> |
---|
| 186 | © Copyright 2009-2010, GeoExt Community. |
---|
| 187 | </div> |
---|
| 188 | </body> |
---|
| 189 | </html> |
---|