[OpenLayers-Users] IE strategies

Andreas Hocevar ahocevar at opengeo.org
Fri Jan 9 09:32:51 EST 2009


Yves Moisan wrote:
>> You are probably referring to
>> http://n2.nabble.com/bbox-strategy-and-zooming-td1836240.html#a20489423
> 
> Yep.
>> New features will only be fetched if you zoom out, not if you zoom in. I
>> had forgotten about this thread in my previous reply, sorry for the
>> confusion.
> 
> I realized that indeed.
> 
>> You can make the BBOX strategy aggressive by instantiating your BBOX
>> strategy like this:
>>
>> new OpenLayers.Strategy.BBOX(invalidBounds: function(){return true;});
> 
> This gives a syntax error.  I replaced ":" with "=" and it works

My bad. It should read
new OpenLayers.Strategy.BBOX({invalidBounds: function(){return true;}})

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list