I can't seem to get the label of a layered image... .label returning undefined..
oMap = oProperty.getMapValue();
if( oMap ){
if( oMap.className() == "DzLayeredTexture" ){
NumOfLayers = oMap.getNumLayers();
for( var i = 0; i < NumOfLayers; i++){
cLayer = oMap.getLayer(i);
LayerLabel = cLayer.label;
debug( String( %1 ).arg( LayerLabel ) );
}
}
}