Collision of a certain layer of tiled map

How can I add a physical collision to a particular tiled map layer (.tmx file)?

Check the images of my topic that was closed:

https://discuss.cocos2d-x.org/t/collision-of-a-certain-layer-of-the-map-editor-tiled-map-tmx/49878

Please help me. Thank you.