Lat
Version: - stringSummary
Returns the geolocation latitude of the user.
Settings
The value is based on the GeoLocationLat input field for a user.
(User Management > User > User tab > GeoLocation > GeoLocationLat)
Examples
Outputting the template tag
@GetString("Lat")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Lat"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Lat");
}
Outputting the template tag
<!--@Lat-->
Check if string has a value
<!--@If Defined(@Lat)-->
Let's output this tag here: <strong><!--@Lat--></strong>
<!--@EndIf(@Lat)-->