How to get mapsize and tilesize from CCTMXTiledMap class ?

I am testing tiled-map game with cocos2d-x, and I want to know how we get the information from the map-level (from .tmx file created with Tiled, map editor tool) in code.
I read tutorial from http://www.raywenderlich.com/1163/how-to-make-a-tile-based-game-with-cocos2d at the setViewPointCenter() function, and saw that it used
_tileMap.mapSize
to access the entire tilemap’s size

and

_tileMap.tileSize
to access individual tile’s size.

Both are not available in cocos2d-x, but we still can access via other methods I believe. I also tried
_tileMap->propertyNamed("width").toInt()
to try and get the size (width) of entire tilemap, but no success. The same goes for tilemap’s size as I used
_tileMap->propertyNamed("tileWidth").toInit()

Any suggestion on how we get those property from .tmx file in code ?

Thanks !

To give you a better idea of what I’m asking, I attached the image for the method I’m working on to retrieve values from the .tmx file instead of hard-coded one.
The comment lines are what I’ve tried but it’s not successful and error kicks in.

you can get map size and tile size using getMapSize and getTileSize

CCTMXTiledMap *tileMap = CCTMXTiledMap::tiledMapWithTMXFile(“map.tmx”);
CCSize mapSize = tileMap~~>getMapSize;
CCSize tileSize = tileMap~~>getTileSize();

Thanks so much !

Those interfaces are not included in the online API although I expand all of its member http://www.cocos2d-x.org/embedded/cocos2d-x/d7/d2c/classcocos2d_1_1_c_c_t_m_x_tiled_map-members.html.

OK, I forget to add CC_SYNTHESIZE_XXX marcos into doxygen configuration. Fix it. I will upload the new doxygen ASAP.

Greatly appreciated that Walzer ! It’s there now, just check a couple of minutes ago.