MapHeight

Version: - string  

Summary

Returns the height of the map.

Settings

The value is based on the Map size field in the paragraph module settings.

(Page - Paragraph - Module - Map settings - Map size - Height)

Examples

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)--> Let's output this tag here: <strong><!--@MapHeight--></strong> <!--@EndIf(@MapHeight)-->