an C++11 library for reading TMX files
libtmx is a C++11 library for reading TMX files. TMX (Tile Map XML) is a XML dialect used in Tiled, a tile map editor. libtmx is not meant to modify TMX files but to read TMX files. Its main use case is for games that use TMX maps. The library is not a rendering library, so it does not depend on any graphical toolkit.
First, you have to parse a map file.
And then, give the visitor to the map.
For more information, see:
This library is open source and is distributed under the ISC license.