GoogleMapsClientID
Version: - stringSummary
Returns the Google Maps client ID
Settings
The value is based on the Google Maps client ID field in the paragraph module settings.
(Page - Paragraph - Module - Google Maps API settings - Google Maps Client ID)
Examples
Outputting the template tag
@GetString("GoogleMapsClientID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("GoogleMapsClientID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("GoogleMapsClientID");
}
Outputting the template tag
<!--@GoogleMapsClientID-->
Check if string has a value
<!--@If Defined(@GoogleMapsClientID)-->
Let's output this tag here: <strong><!--@GoogleMapsClientID--></strong>
<!--@EndIf(@GoogleMapsClientID)-->