Remove unused statements
parent
953f7eb8ca
commit
eda6ab9ace
|
@ -5,8 +5,6 @@
|
||||||
* @constructor
|
* @constructor
|
||||||
*/
|
*/
|
||||||
export default function Position() {
|
export default function Position() {
|
||||||
this.latitude = 0;
|
|
||||||
this.longitude = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Transform Latitude to DDM
|
* Transform Latitude to DDM
|
||||||
|
@ -19,13 +17,6 @@ export default function Position() {
|
||||||
let iDecimal = Math.abs(parseInt(lat));
|
let iDecimal = Math.abs(parseInt(lat));
|
||||||
let iMinutes = Math.abs(parseInt((lat - parseInt(lat)) * 60));
|
let iMinutes = Math.abs(parseInt((lat - parseInt(lat)) * 60));
|
||||||
|
|
||||||
/*
|
|
||||||
return {
|
|
||||||
decimal: iDecimal,
|
|
||||||
minutes: iMinutes,
|
|
||||||
direction: sDirection
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
return {
|
return {
|
||||||
decimal: iDecimal,
|
decimal: iDecimal,
|
||||||
minutes: iMinutes,
|
minutes: iMinutes,
|
||||||
|
|
Loading…
Reference in New Issue