Paul den Dulk
Paul den Dulk
This is related to the custom renderer idea that came up in other issues. The setup could be similar to the Widgets. There a user can add a widget class...
There is no real easy way to do that right now. We could try to think of something better.
@leo-costa This should be improved. I am trying to get a better picture of the user's perspective. The LayerCollection also has Insert and Move methods but these are not sufficient....
We also need to find a proper solution to reference a layer. We could pass a layer instance like above. It would do reference compare instead of a value compare....
We could also add an Order field managed by the user, but this is not always easy. If you want to insert something you need to update the Order fields...
It would also be interesting to know how other libraries solve this.
@leo-costa So what would happen if you want to insert a layer at position 3? Will there be two layers with Priority 3? Or will the library update the other...
@leo-costa Does mapply have a documentation section on ordering?
I see. I had not read the sample properly. Perhaps this is easy for the user. I am bit worried that the implicit order within a Priority group could become...
> I think that by definition if an item within a priority group needs to be displayed in a certain order, then that item needs to have higher priority then...