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.LonLat(x, y), 5, false, false);

solved the problem. Sorry about wasting bandwidth and reader
time :-/

-- 
Nils Weinander  |  Systems Designer
Phone +46 (0)8 4100 6456
Mobile +46 (0)709 78 28 37
--
Mogul | f.d. Curalia AB  |  www.mogul.com
Hudiksvallsgatan 4, 113 30 Stockholm, Sweden
--
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to