Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

Add Course/Bearing and Speed to the Location Class #400

@mjorrens

Description

@mjorrens

Can you guys add Course/Bearing and Speed as properties to the Location Class?

Android returns Bearing (direction the device is moving) and speed.

iOS returns Course (direction the device is moving) and speed.

Course is the same as Bearing.

Note that compass returns where the device is facing, not the direction in which the device is moving. Looks like you have that one covered.

Thanks!

EDIT: API Proposal

API Proposal

Add:

public class Location
{
        public double? Speed { get; set; }
        public double? Bearing { get; set; }
}

Both Speed and Bearing should be null if they are unavailable for a given set of location data on a platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-issueGood for newcomersproposalProposed feature or enhancement.up-for-grabsImplementation from community can be started.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions