Fork me on GitHub

@mathpunk - I don't think there's a way to do this yet. And I bet it wouldn't be too bad. I'd start by reading the source that was already there for that layer. I bet things will mostly make sense, and it will be fairly clear how to bind to either one depending on a variable.