geofield-latlon.html.twig in Geofield 8
Default theme implementation for Geofield LatLon.
Available variables:
- lat: The Latitude value.
- lon: The Longitude value.
1 theme call to geofield-latlon.html.twig
- LatLonFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ LatLonFormatter.php - Builds a renderable array for a field value.
File
templates/geofield-latlon.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for Geofield LatLon.
- *
- * Available variables:
- * - lat: The Latitude value.
- * - lon: The Longitude value.
- *
- * @ingroup themeable
- */
- #}
-
- <span class="latlon latlon-lat">{{ lat }}</span>, <span class="latlon latlon-lon">{{ lon }}</span>