Files
Popsu-coloque/web/themes/custom/colloque2024/template/fields/geolocation-latlng-formatter.html.twig
T
2024-03-07 13:13:44 +01:00

23 lines
540 B
Twig

{#
/**
* @file
* Default microdata theme implementation for a geolocation with latitude, longitude.
*
* Available variables:
* - lat: The latitude value.
* - lng: The longitude value.
*
* @see template_preprocess()
*
* @ingroup themeable
*/
#}
<span typeof="Place">
<span property="geo" typeof="GeoCoordinates">
<meta property="latitude" content="{{ lat }}">
<meta property="longitude" content="{{ lng }}">
</span>
<div id="mapid"></div>
{# <span class="geolocation-latlng">{{ lat }}, {{ lng }}</span> #}
</span>