Hello List, <div>i´ve got a mapobject with some layers.</div><div> </div><div><div>gebaeude = new OpenLayers.Layer.Vector(&quot;gebaeude&quot;,{styleMap: gebaeudeStyle});</div><div>map.addLayer(gebaeude);</div><div><br></div>
<div>the layers were filled with a geoext.data.store:</div><div><br></div><div><div>gebaeudeStore = new GeoExt.data.FeatureStore({</div><div>               layer: gebaeude,</div><div>               autoDestroy:true,</div>
<div>               proxy: new GeoExt.data.ProtocolProxy({</div><div>               protocol: new OpenLayers.Protocol.WFS({</div><div>                         url:  &quot;<a href="http://localhost/geoserver/wfs">http://localhost/geoserver/wfs</a>&quot;,</div>
<div>                         featureType: &quot;rfhgebaeude&quot;,</div><div>                         featureNS: &quot;<a href="http://www.rostock.de/">http://www.rostock.de/</a>&quot;,</div><div>                         srsName: &quot;EPSG:2398&quot;,</div>
<div>                         version: &quot;1.1.0&quot;,</div><div>                         extractAttributes: true,</div><div>                         filter: new OpenLayers.Filter.Logical({</div><div>                                  type:OpenLayers.Filter.Logical.AND,</div>
<div>                                  filters:[]</div><div>                                  })                               </div><div>                         })</div><div>               })})</div><div><br></div><div>
now i am searching for a way to get the maxextent. after  loading the page i am using alert(gebaeude.getDataExtent()) in the console of the firebug. but i only get gebaeude.getDataExtent is not a function.</div><div>what can i do to get the maxextent of this kind of layer?</div>
<div><br></div><div>thanks for helping me</div></div></div>