enable to work with point layer.