Thanks for the reply, but that's still not what I want.
My layout is square-ish and my tilemap fills the layout.
The viewport only covers a small part of the layout and is roughly 4:3.
If I display it on a portrait device, I get blank areas at the top and bottom. On a landscape device, I get blank areas to the left and right.
I guess I need to change the viewport size to match the screen size?
If the screen size is not an exact number of tiles, then I'd expect blank areas, but they would always be less than one tile's size.