# Android Dynamic 2D Map

My problem is, I want to create a 2D tiled map. Yes, I know it's been asked a lot. I've seen answers that propose the use of tiled however it only allows (or so it seems to me) to generate static maps that do not change once generated. And I need a large empty uniform space of empty tiles, upon which players may place various buildings (some spanning more than one tile and logically being the same one).

How to approach this in Android? Do I make some kind of TableLayout, use arbitrarly large amount of rows and imageviews (with my emptyTile), than somehow work event-based changing of image ids from there? I'd think that only a portion of that map should be visible at a time, but I don't see how scrolling around could be the part of that structure.

To relate to your question specifically: no, the map does not have to be static. Tiled just provides you with an easy map creation method. The file that Tiled provides can be accessed through libgdx (see the documentation here). Once loaded, that file can be treated like any other TiledMap object. Again, you really don't want to do this through the default Android libraries.