Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It turns out that we can keep the inserting order as before and fix this by just supplying the original layer's zIndex. I go with layer.getZIndex() right away as it a) exists on all types of Layers in OL and b) always returns a Number according to the API.
- Loading branch information