add function for  initializes a TMX Tiled Map with a TMX formatted XML string and a texture buffer