Function getHeightfieldLayerCons