InitScript

Version: - string  

Summary

Returns a script to initialize Google map.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("InitScript")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("InitScript"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("InitScript"); }

Outputting the template tag

<!--@InitScript-->

Check if string has a value

<!--@If Defined(@InitScript)--> Let's output this tag here: <strong><!--@InitScript--></strong> <!--@EndIf(@InitScript)-->