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

Distance formatter fixes #3331 #7592

Closed
wants to merge 1 commit into from

Conversation

frederoni
Copy link
Contributor

Fixes #3331

This PR adds a formatter that is meant to be used for geographic distances. (i.e. #7432)

@frederoni frederoni added iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS MapKit parity For feature parity with MapKit on iOS or macOS labels Jan 4, 2017
@frederoni frederoni added this to the ios-v3.5.0 milestone Jan 4, 2017
@frederoni frederoni requested a review from 1ec5 January 4, 2017 15:21
@mention-bot
Copy link

@frederoni, thanks for your PR! By analyzing this pull request, we identified @1ec5, @boundsj and @incanus to be potential reviewers.

Copy link
Contributor

@1ec5 1ec5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Don’t forget to add this new class to the jazzy tables of contents and mention it in the changelogs.

This PR is targeted at the release-ios-v3.4.0 branch, but its milestone is set to iOS SDK v3.5.0, which is being developed on master. Do you want this PR to go into v3.4.1 instead?

/**
`MGLDistanceFormatter` implements a formatter object meant to be used for
geographic distances. The user’s current locale will be used by default
but it can be overriden by changing the locale property of the numberFormatter.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: surround locale and numberFormatter in backticks.

@frederoni
Copy link
Contributor Author

Not planning to merge until #7432 is mergeable which will be a nice real test case. I'll retarget this branch and aim for 3.5.0.

@frederoni
Copy link
Contributor Author

Closing in favor of #7631

@frederoni frederoni closed this Jan 8, 2017
@jfirebaugh jfirebaugh deleted the fred-formatter-3331 branch May 11, 2017 19:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS MapKit parity For feature parity with MapKit on iOS or macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants