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

Refactor user location annotation (squash of #1222) #2010

Merged
merged 2 commits into from Aug 10, 2015

Conversation

friedbunny
Copy link
Contributor

Adds:

  • Accuracy ring
  • Heading indicator

Fixes:

  • Pulse sync
  • Visual appearance (removes slight aliasing)

Closes #1222 (squashed)

/cc @mapbox/mobile

@friedbunny friedbunny added iOS Mapbox Maps SDK for iOS refactor ready labels Aug 6, 2015
@friedbunny friedbunny added this to the v0.6.0 milestone Aug 6, 2015
@mourner mourner added in progress and removed ready labels Aug 6, 2015
@friedbunny
Copy link
Contributor Author

Failing test is on Linux and related to headless image quality:

[  FAILED  ] 1 test, listed below:
[  FAILED  ] Headless/HeadlessTest.render/40, where GetParam() = "raster-contrast"

//
if (_accuracyRingLayer)
{
// FIX: This stops EVERYTHING... and that isn't necessarily necessary, now is it?
Copy link
Contributor

Choose a reason for hiding this comment

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

Bailing here makes the code flow a bit harder to follow now. Can you look into whether it’s really necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved the zoom and heading accuracy is-necessary checks into the larger if statement in df2c1f5, which should be less jarring.

@1ec5
Copy link
Contributor

1ec5 commented Aug 10, 2015

Looks good! Thanks for your persistence on this feature!

Adds:
- Accuracy ring
- Heading indicator

Fixes:
- Pulse sync
- Visual appearance (removes slight aliasing)

Closes #1222 (squashed)
@friedbunny friedbunny merged commit dc11b81 into master Aug 10, 2015
@friedbunny friedbunny deleted the location-annotation branch August 10, 2015 22:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants