Closed xavijam closed 12 years ago
I see Javier caught exactly the same issue I just stumbled on. using interaction.remove(); to push the next interactivity in a layer switcher results in the same TypeError: Object # has no method 'remove'
error.
I see that Javier 7 (how do you guys not get confused over there? - @javisantana) may have solved it. Here's his update to interaction.js. @tmcw or @willwhite - can either of you push this in tomorrow?
@wboykinm hey, i didn't realize @xavijam was posted this bug. I found this some weeks ago, fixed it in out wax version and i forgot to send a pull request.
Can you make a pull request with the fix?
@willwhite sure, give a minute
I'm trying to remove the interaction in Google maps, but it's failing. Here is one of your examples:
http://vizzuality.github.com/cartodb-gmapsv3/wax-bug.html
If you try in the console:
interaction.remove();
Fails and say:
TypeError: Object # has no method 'remove'
PS: With Leaflet is working properly.