<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CLuis%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C03%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CLuis%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C03%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CLuis%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C03%5Cclip_colorschememapping.xml"><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        text-align:justify;
        mso-pagination:widow-orphan;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-fareast-language:EN-US;}
pre
        {mso-style-noshow:yes;
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-font-family:"Times New Roman";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-noshow:yes;
        mso-style-priority:99;
        mso-style-unhide:no;
        mso-style-locked:yes;
        mso-style-link:"HTML Preformatted";
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:"Courier New";
        mso-ascii-font-family:"Courier New";
        mso-fareast-font-family:"Times New Roman";
        mso-hansi-font-family:"Courier New";
        mso-bidi-font-family:"Courier New";
        mso-fareast-language:ES-TRAD;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        mso-ascii-font-family:Calibri;
        mso-ascii-theme-font:minor-latin;
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-hansi-font-family:Calibri;
        mso-hansi-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";
        mso-bidi-theme-font:minor-bidi;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;
        mso-margin-top-alt:auto;
        mso-margin-bottom-alt:auto;
        text-align:justify;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><pre><span style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">Hi everyone, this is my first message to the list.
I&#39;m working on an application based on this example:
<a href="http://dev.geoext.org/trunk/geoext/examples/feature-grid.html">http://dev.geoext.org/trunk/geoext/examples/feature-grid.html</a><br>
I have a problem using my own application and also debugging the example&#39;s code, I create a vector layer and a FeatureStore with this<br>
<span style="">    </span>// create vector layer<br>
<span style="">    </span>var vecLayer = new OpenLayers.Layer.Vector(&quot;vector&quot;);<br>
<span style="">    </span>map.addLayers([wmsLayer, vecLayer]);</span></pre>

<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; text-align: left;" align="left"><span style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; text-align: left;" align="left"><span style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US"><span style="">    </span>// create feature store, binding it to the
vector layer<br>
<span style="">    </span>store = new
GeoExt.data.FeatureStore({<br>
<span style="">        </span>layer: vecLayer,<br>
<span style="">        </span>fields: [<br>
<span style="">            </span>{name: &#39;name&#39;, type:
&#39;string&#39;},<br>
<span style="">            </span>{name: &#39;elevation&#39;, type:
&#39;float&#39;}<br>
<span style="">        </span>],<br>
<span style="">        </span>proxy: new
GeoExt.data.ProtocolProxy({<br>
<span style="">            </span>protocol: new
OpenLayers.Protocol.HTTP({<br>
<span style="">                </span>url:
&quot;data/summits.json&quot;,<br>
<span style="">                </span>format: new
OpenLayers.Format.GeoJSON()<br>
<span style="">            </span>})<br>
<span style="">        </span>}),<br>
<span style="">        </span>autoLoad: true<br>
<span style="">    </span>});<br>
<br>
It really works fine, but when I want to read the vector layer features i can&#39;t
localize them, things like:<br>
this.store.layer.features[] has no point features as spected on an OpenLayers
vector layer<br>
I&#39;ve tried also to look at <br></span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; text-align: left;" align="left"><span style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">this.mapPanel.map.layers[1].features[] <br>
</span></p><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; text-align: left;" align="left"><span style="font-size: 12pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">but no
success, only &quot;remove&quot; method is listed on firebug watcher.<br>
Is there anyway to access this data?, is just I need to read the point
coordinates to center the map and things like that.<br>
<br>
Thanks a lot for any suggestion.<br>
Lluís.</span></p>

<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>