Remove unused statements

pull/9/head
Raphael Cerveaux 2018-09-03 15:43:31 +02:00 committed by GitHub
parent 953f7eb8ca
commit eda6ab9ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 10 deletions

View File

@ -5,8 +5,6 @@
* @constructor
*/
export default function Position() {
this.latitude = 0;
this.longitude = 0;
/**
* Transform Latitude to DDM
@ -19,13 +17,6 @@ export default function Position() {
let iDecimal = Math.abs(parseInt(lat));
let iMinutes = Math.abs(parseInt((lat - parseInt(lat)) * 60));
/*
return {
decimal: iDecimal,
minutes: iMinutes,
direction: sDirection
};
*/
return {
decimal: iDecimal,
minutes: iMinutes,