The game engine will glitch out after 480x480, you might get away with 512x512, but theres no way you could do 1024x1024
Even if you could, a map of that size populated with doodads would be incredibly laggy and would take most people 5+ mins just to load