Re: [OpenLayers-Users] Problem with WFS layer on map.setCenter()

2009-04-24 Thread Nils Weinander
Nils Weinander wrote: Hi all I have a WFS layer, with a BBOX strategy, created like: ... map.setCenter(new OpenLayers.LonLat(x, y), 5, true, true); I get an error in Bounds.intersectsBounds because the WFS layer's renderer has extent==null. Never mind, map.setCenter(new

[OpenLayers-Users] Problem with WFS layer on map.setCenter()

2009-04-24 Thread Nils Weinander
Hi all I have a WFS layer, with a BBOX strategy, created like: var platsr_wfs = new OpenLayers.Layer.WFS( PlatsR, wfsUrl, { typename: PLATSR:PLATSR_WMS }, { strategies: [ new OpenLayers.Strategy.BBOX() ], protocol: new

[OpenLayers-Users] Problem with WFS layer

2009-03-25 Thread NicolasC
Hi, I'm newbie in GIS and Openlayer. I try to display a shapefile (EPSG:3439), which is the border of persic gulf, on a google map layer. I write a mapfile for Mapserver which works with QGIS but with Openlayers the WFS layer is displayed in North Africa. My code : var map;