Skip to content

Position.heading is mis-named #1187

Open
@cbatson

Description

@cbatson

🐛 Bug Report

The property heading of Position is mis-named. It is actually the course, which can be seen clearly on this line of LocationMapper.m for iOS.

This is rather unfortunate, as heading and course are distinct concepts, and having it mis-named is confusing:

In navigation, the course of a watercraft or aircraft is the cardinal direction in which the craft is to be steered. The course is to be distinguished from the heading, which is the direction where the watercraft's bow or the aircraft's nose is pointed.

In the context of a device, "heading" refers to the direction the device is pointing and is typically provided via a magnetometer. However, "course" refers to the direction the device is traveling and is typically provided via GPS.

Expected behavior

A course should be called "course."

Reproduction steps

None necessary.

Configuration

Version: 1.x

Platform:

  • 📱 iOS
  • 🤖 Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work list.good first issueGood for newcomers who would like to start contributing to the project.type: documentationUpdate to the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions