Hello, I’d like to know hot set/read a layer custom property. When clicking, I get the right value from the layer.name, but from the layer.myCustomProperty I’m getting an undefined.
for index in [0...rows] row = new Layer name: “John” myCustomProperty: “sample”
row.on Events.Click, (event, layer) -> print layer.name, layer.myCustomProperty
in your event use @ instead of layer
also for custom properties i think you need to set them after youve created the layer, not on the same line