¿Triggering an action from any layer?

  • Hello there, I need help triggering an action when clicking over any layer but I don't want to put manually on every layer's ondown event the action because I would like it to run like a plugin which I can save in a different xml and just include it within different tours. Is there any way you can think of to achieve this?, sort of a "ondown" event that works generally over any layer?

    Thanks!

  • Thank you very much for the reply, Hernán, the thing is that I don't want to have to go into each layer and edit it with the appropriate style. I would like it to, somehow, make it work from an independent xml, sort of a plugin. I'm guessing I'll have to build a loop that adds the ondown action I want on every single layer of the vtourskin.xml file.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!