Hi,
I am trying to use OpenLayers.Function.bind in this code:
var featureStyleConfig =
MyApp.Style.convertFeatureAttributesToSymbology(layer.features[0]);
var wndSymbologySelector =
MyApp.Ext.SymbologySelector.getInstance(OpenLayers.Function.bind(this.st
yleCallback, this), featureStyleConfig);
wndSymbologySelector.show();
But I get the following error when trying to use the styleCallback
function (actually, it is never called):
func is undefined (in BaseTypes.js (line 414))
return func.apply(object, newArgs);
It seems that the function is null when the callback is being done.
Are there any restrictions on the use of OpenLayers.Function.bind ?
(like classes where it can be used...;-)
The same code is used in two other classes in the same app and it
works...
Any tips or code examples are welcome...
Joe
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users