Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

MGLSphericalPosition.radial has misleading type #9234

Closed

Description

@1ec5

MGLSphericalPosition.radial has the type CLLocationDistance, which is documented to be measured in meters. However, mbgl actually interprets radial to be measured in some sort of non-physical unit. It isn’t meters, but I’m not really sure what it is. We should change the type from CLLocationDistance to CGFloat to remove the misleading semantics.

/ref #9043 (comment)
/cc @lbud @fabian-guerra

Activity

  1. added
    iOS
    macOS
    on Jun 9, 2017
  2. added this to the ios-v3.6.0 milestone on Jun 9, 2017
  3. fabian-guerra commented on Jun 13, 2017

    @fabian-guerra
    Contributor

    Fixed in #9247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugiOSmacOSruntime styling

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions