Closed sabas closed 11 years ago
If you do Osmium.Callbacks.node= nodes() you are calling the nodes function and putting its return value in Osmium.Callbacks.node instead of putting the function in there. Osmium.Callbacks.node=nodes should work.
Thanks!
If I write a callback in a separate file and make there use of a global variable in the main file the callback seems to use the variable as a local function. Example:
nodes.inc.js