Vector layer, BBOX strategy and refresh event

1 message Options
Embed this post
Permalink
ralthaus

Vector layer, BBOX strategy and refresh event

Reply Threaded More More options
Print post
Permalink
Hi,

Could you help me to find how to catch the refresh event on a Vector Layer ?
My layer is a Vector one, with a BBOX strategy (autoActivate:true).

Looking at the doc, I thought that a simple

this.layer.events.register(
             "refresh", this, function() {
                 alert('test');
             }
        );

would be sufficient (this.layer is the good one, other events, like featuresadded, for example, are fired fine).
But I never enter my function.
Any idea ?