Hi Tim,

Hmmm. that's hard to debug.

what methods and attributes do get when you issue
console.dir( gebaeude )

is the array
gebaeude.features
filled?






Tim Balschmiter schrieb:
> Hello List, 
> i´ve got a mapobject with some layers.
>  
> gebaeude = new OpenLayers.Layer.Vector("gebaeude",{styleMap: 
> gebaeudeStyle});
> map.addLayer(gebaeude);
>
> the layers were filled with a geoext.data.store:
>
> gebaeudeStore = new GeoExt.data.FeatureStore({
>                layer: gebaeude,
>                autoDestroy:true,
>                proxy: new GeoExt.data.ProtocolProxy({
>                protocol: new OpenLayers.Protocol.WFS({
>                          url:  "http://localhost/geoserver/wfs";,
>                          featureType: "rfhgebaeude",
>                          featureNS: "http://www.rostock.de/";,
>                          srsName: "EPSG:2398",
>                          version: "1.1.0",
>                          extractAttributes: true,
>                          filter: new OpenLayers.Filter.Logical({
>                                   type:OpenLayers.Filter.Logical.AND,
>                                   filters:[]
>                                   })                               
>                          })
>                })})
>
> 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.
> what can i do to get the maxextent of this kind of layer?
>
> thanks for helping me
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users@openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to