Returns the height of the map.
The value is based on the Map size field in the paragraph module settings.
(Page - Paragraph - Module - Map settings - Map size - Height)
Outputting the template tag
@GetString("MapHeight")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("MapHeight"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("MapHeight");
}
Outputting the template tag
<!--@MapHeight-->
Check if string has a value
<!--@If Defined(@MapHeight)-->