Download & Extend

theme layer does not translate them latitude and longitude coordinates

Project:Location
Version:6.x-3.1-rc1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Issue tags:Location theming

Issue Summary

Currently I use these functions

<?php
function phptemplate_location_latitude_dms($latitude) {
  list(
$degrees, $minutes, $seconds, $negative) = location_dd_to_dms($latitude);
  return
t("!deg° !min' !sec\" ". ((!$negative) ? 'N' : 'S'), array('!deg' => $degrees, '!min' => $minutes, '!sec' => $seconds));
}

function
phptemplate_location_longitude_dms($longitude) {
  list(
$degrees, $minutes, $seconds, $negative) = location_dd_to_dms($longitude);
  return
t("!deg° !min' !sec\" ". ((!$negative) ? 'E' : 'W'), array('!deg' => $degrees, '!min' => $minutes, '!sec' => $seconds));
}
?>

Comments

#1

Status:active» postponed (maintainer needs more info)

I'm confused... what is the bug? Please check the new version and please provide some more information about the current problem and what fix is expected

#2