question about cc.TMXTiledMap.getProperty(propertyName)

I try to use TMXTiledMap.getProperty(propertyName) to get some property in TMX map.But it doesn’t work.When i jump into the source code, i find these codes.
TMXTiledMap:
this._properties = mapInfo.getProperties();
cc.TMXMapInfo:
@ // The parent element is the map
var propertyArr = map.querySelectorAll(“map > properties > property”);
if (propertyArr) {
for (i = 0; i < propertyArr.length; i++) {
var aProperty = {};
aProperty[propertyArr[i].getAttribute(‘name’)] = propertyArr[i].getAttribute(‘value’);
this.setProperties(aProperty);
}
}
setProperties:function (Var) {
this._properties.push(Var);
},
@
So all property values are saved as an object array. If i want to get the property.i need foreach the array.
I don’t know whether this is a problem or my misunderstanding, could anyone give me some suggestion?
Thanks!

I’m having the same problem… I’ll create an issue in the tracker now.