Is it possible to dynamically create objects or modify them on run-time ?for example,on button click,another button created or change number of lines of a road? When I write this code for a button Action,in run-time
road123.setBackwardLanesCount(3);
I get error below:
root: road123: Markup element is already initiated and cannot be modified.Please use constructor without arguments,perform setup and finally call initialize() .function