Fixes returning elements on toArray
Merge remote-tracking branch 'main/master' into feature/multipleLayers
Merge pull request #99 from heiglandreas/feature/FixAPI

Feature/fix api