@if (item; as item) {
@if (parentOfItemType('vnd.farmmaps.itemtype.cropfield')) {

## {{parentItem.name}}

}

# {{item.name}}

@if (item?.data.layers; as layers) {
@if (layers.length>1) {
}

@if (item.isEditable) {
- Edit
} @if (itemTypeService.isLayer(item)) { @if (!getItemLayer(item,itemLayer.layerIndex)) {
- Add as overlay
} @if (getItemLayer(item,itemLayer.layerIndex)) {
- Remove overlay
} }
- Download

}
}