zlsa / atc

https://openscope.co/
342 stars 107 forks source link

EHAM doesn't work #754

Closed DennisPlant closed 7 years ago

DennisPlant commented 7 years ago

it just keeps loading? anyone have the same prolem?

georgeenciu commented 7 years ago

Same problem here

willfrd commented 7 years ago

Same

n8rzz commented 7 years ago

@erikquinn this fails in v3.1.0 due to a _comment key within the stars definition.

In v3.2.0 that has been addressed, however, this still fails from within the PositionModel.

PositionModel.calculatePosition = (coordinates, referencePostion, magneticNorth) => {
    if (!coordinates || !referencePostion || !magneticNorth) {
        throw new TypeError('Invalid parameter. PositionModel.getPosition() requires coordinates, referencePostion ' +
            'and magneticNorth as parameters');
    }

    // ...

magneticNorth is being evaluated as falsey (magneticNorth = 0) thus, it throws.

n8rzz commented 7 years ago

@DennisPlant @georgeenciu @willfrd The fix is in PR. When you have a minute, could you please take a look at the review app and make sure everything is in working order? https://atc-dev-pr-187.herokuapp.com/

willfrd commented 7 years ago

Working, @n8rzz thanks for the fix! :)

n8rzz commented 7 years ago

:shipit:

Glad to hear it! This fix will be included in the upcoming v3.2.0 release

erikquinn commented 7 years ago

Resolved by #755. Closing.