setLayerType