geolocation_latlng.tpl.php in Geolocation Field 7
Default microdata theme implementation for a geolocation with latitude, longitude.
Available variables:
- $lat: The latitude value.
- $lng: The longitude value.
1 theme call to geolocation_latlng.tpl.php
- geolocation_field_formatter_view in ./
geolocation.module - Implements hook_field_formatter_view().
File
geolocation_latlng.tpl.phpView source
<?php
/**
* @file
* Default microdata theme implementation for a geolocation with latitude, longitude.
*
* Available variables:
* - $lat: The latitude value.
* - $lng: The longitude value.
*
*/
?>
<span itemscope itemtype="http://schema.org/GeoCoordinates">
<meta itemprop="latitude" content="<?php
print $lat;
?>">
<meta itemprop="longitude" content="<?php
print $lng;
?>">
<span class="geolocation-latlng"><?php
print $lat;
?>, <?php
print $lng;
?></span>
</span>