kopia lustrzana https://github.com/magicbug/Cloudlog
Made gridsquare uppercase when sending it to QRA
rodzic
52ddb1a69a
commit
86ce285665
|
@ -133,7 +133,7 @@ margin: 10px 0;
|
|||
|
||||
<?php
|
||||
if($row->COL_GRIDSQUARE != null) {
|
||||
$stn_loc = $this->qra->qra2latlong($row->COL_GRIDSQUARE);
|
||||
$stn_loc = $this->qra->qra2latlong(strtoupper($row->COL_GRIDSQUARE));
|
||||
$lat = $stn_loc[0];
|
||||
$lng = $stn_loc[1];
|
||||
} else {
|
||||
|
@ -152,7 +152,7 @@ margin: 10px 0;
|
|||
}
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
function initialize() {
|
||||
var myLatlng = new google.maps.LatLng(<?php echo $lat; ?>,<?php echo $lng; ?>);
|
||||
var myOptions = {
|
||||
|
|
Ładowanie…
Reference in New Issue