Hello,

I made good progress implementing ticket #4029 (JOSM sessions) but I am stuck at some point. To be able to reorder the layers correctly, set their visibilities and so on, I need to create those layers and get the resulting layer object.

Since layers are created in the background I sometimes get null pointers instead of the actual layer or when I try to re-order them, they have not been added yet to the main view.

How can I make sure that I get called AFTER the layer is created and added to the main view.

  Thanks,

N.

_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to