[Is it Possible] Endless map non-spherical

Please mind the crude drawing, not at my workbench.


Is it possible to have a map (Black Square) that when you are in visible range of the edge, it shows you the furthest edge so example, when you reach the edge of A you see the edge of C connected to your tile and when you cross the line you seamlessly teleport to to side C and never really leave the same tile giving the Spherical Globe effect of a world all on a flat surface.