geo/includes/geo.formatters.inc, line 14
- Versions
- 6
theme_geo_formatter_lon($element)
Code
<?php
function theme_geo_formatter_lon($element) {
if (isset($element['#item']['lon'])) return $element['#item']['lon'];
// TODO polygons, lines, etc won't have lat/lon but they'll have a centroid.
}
?> 