Hello List, <div>i´ve got a mapobject with some layers.</div><div> </div><div><div>gebaeude = new OpenLayers.Layer.Vector("gebaeude",{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: "<a href="http://localhost/geoserver/wfs">http://localhost/geoserver/wfs</a>",</div>
<div> featureType: "rfhgebaeude",</div><div> featureNS: "<a href="http://www.rostock.de/">http://www.rostock.de/</a>",</div><div> srsName: "EPSG:2398",</div>
<div> version: "1.1.0",</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>