Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Direction seems to be inverted #92

@jwels

Description

@jwels

Hey, thanks for this great plugin. So I noticed that the direction displayed on the map seems to be inverted. When searching for an issue I found a closed one talking about the exact same problem here. I tried the fix that @javi11 proposed in that issue locally and it looks like its working fine. Does this issue only exist for me due to configuration or should the previous fix be reintegrated? Thanks!

Current implementation of angle:
angle: _direction / 180 * math.pi,

Implementation working for me by @javi11:
angle: (((_direction * -1) ?? 0) * (math.pi / 180) * -1) + 160,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions