Isometric map wrapping

Hey, I’m using an isometric tile map, and I want to be able to wrap it. For instance, if the viewpoint is 3 tiles away from the rightmost edge of the map, and 6 tiles are drawn horizontally, then it would show the last three tiles X of the map and then the first three tiles X.

I’ve been able to do this on a square map, but not an isometric one. Any help is appreciated.

Please clarify… what’s all this X stuff? Do you mean, if you have tiles 123456, going from left to right across your screen, and then you move three tiles to the right it would be 456123? I’m just getting started in the world of isometric game programming. (Mainly because I read the thread at http://www.java-gaming.org/forums/index.php?topic=8246.0 and I got hooked.) But in the row below that you’d have to draw one tile twice, becuse half of it is hanging off either side of the screen.

Traverse the visible tiles, and when the you traverse past the ‘edge’ of the map (use an if-statement or something) translate the relevant tiles in the other end of the map to the positions that would otherwise be beyond the map.

This might be obvious, but I think it’s hard to come up with something more specific without being closer to the implementation.