parentLayerId property

int get parentLayerId

The sublayer's parent id.

The sublayer parent id. Will return -1 if an error occurs or if the sublayer has no parent.