[OpenLayers-Dev] settimeout and OpenLayers.Function.bind
crschmidt at metacarta.com
Tue Feb 26 17:22:16 EST 2008
On Tue, Feb 26, 2008 at 05:15:21PM -0500, Dejung Gewissler wrote:
> Ideally I would like the delayedCall method to be called 3 seconds after
> the doBuffer is called. However the error that I get is:
> func has no properties
> (no name)()
> return func.apply(object, newArgs);
> Am I missing something here?
What calls 'doBuffer'? Is the 'this' at that time a MyControl object?
Seems like for some reason this.delayedCall is null at the time the
Function.bind() is used...
More information about the Dev