I found that rotation of tiles didn't work except in 180 degree case (both horizontal and vertical flipping). Investigating this issue, I found there was no handling for the diagonal flip bit.
In order to provide for other cases, we can propagate the three flip flags via the Tile object until the section of code where the UV-mapping is applied. Then, reordering of UVs via the procedure set out in the tiled documentation results in the correct rotation.
I found that rotation of tiles didn't work except in 180 degree case (both horizontal and vertical flipping). Investigating this issue, I found there was no handling for the diagonal flip bit.
In order to provide for other cases, we can propagate the three flip flags via the Tile object until the section of code where the UV-mapping is applied. Then, reordering of UVs via the procedure set out in the tiled documentation results in the correct rotation.