{ "name": "layer_property", "type": "function", "groups": ["Map Layers"], "description": "Returns a matching layer property or metadata value.", "arguments": [{ "arg": "layer", "description": "a string, representing either a layer name or layer ID" }, { "arg": "property", "description": "a string corresponding to the property to return. Valid options are:
" }], "examples": [{ "expression": "layer_property('streets','title')", "returns": "'Basemap Streets'" }, { "expression": "layer_property('airports','feature_count')", "returns": "120" }, { "expression": "layer_property('landsat','crs')", "returns": "'EPSG:4326'" }], "tags": ["property", "matching", "metadata", "layer name", "layer id", "title", "abstract", "keywords", "data url", "attribution", "attribution url", "layer source", "minimum scale", "min scale", "maximum scale", "max scale", "is editable", "crs", "crs definition", "crs description", "crs ellipsoid", "layer extent", "distance units", "layer type", "storage type", "geometry type", "feature count", "file path"] }