Merge 897ad37ac6 into 5998e9e1ee
This commit is contained in:
commit
552f62304f
|
|
@ -228,6 +228,11 @@
|
||||||
<?php echo round($station->latestConfirmedLatitude, 5); ?>, <?php echo round($station->latestConfirmedLongitude, 5); ?>
|
<?php echo round($station->latestConfirmedLatitude, 5); ?>, <?php echo round($station->latestConfirmedLongitude, 5); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="overview-content-summary-hr-indent">Gridsquare:</div>
|
||||||
|
<div id="overview-content-latest-gridsquare" class="overview-content-summary-cell-position" title="Maidenhead gridsquare (calculated from position)">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="overview-content-summary-hr-indent">Receive Time:</div>
|
<div class="overview-content-summary-hr-indent">Receive Time:</div>
|
||||||
|
|
@ -535,6 +540,8 @@
|
||||||
$('#latest-timestamp-age').html(moment(new Date(1000 * $('#latest-timestamp-age').html())).locale('en').fromNow());
|
$('#latest-timestamp-age').html(moment(new Date(1000 * $('#latest-timestamp-age').html())).locale('en').fromNow());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('#overview-content-latest-gridsquare').html(trackdirect.models.Map.prototype._getMaidenheadLocatorFromGpsDecimal(<?php echo $station->latestConfirmedLatitude ?>, <?php echo $station->latestConfirmedLongitude ?>));
|
||||||
|
|
||||||
if (window.trackdirect) {
|
if (window.trackdirect) {
|
||||||
<?php if ($station->latestConfirmedLatitude != null && $station->latestConfirmedLongitude != null) : ?>
|
<?php if ($station->latestConfirmedLatitude != null && $station->latestConfirmedLongitude != null) : ?>
|
||||||
window.trackdirect.addListener("map-created", function() {
|
window.trackdirect.addListener("map-created", function() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue