[OpenLayers-Users] IE strategies

Christopher Schmidt crschmidt at metacarta.com
Fri Jan 9 09:04:36 EST 2009


On Fri, Jan 09, 2009 at 09:01:07AM -0500, 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
> syntaxically but that's it.  I understand you want me to force the
> invalidBounds function to return true by overloading it, but it doesn't
> seem to work.  Looking in BBOX.js, there is this :

.BBOX({invalidBounds: function() { return true; } });

Is probably what he meant to type.


Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list