Use correct layer property names
Merge pull request #2890 from elemoine/layerproperty

Use correct layer property names