Skip to content

Conversation

@danesfeder
Copy link
Contributor

Closes #366

This work was added by @LukasPaczos in the LocationLayerPlugin a while ago and with his work on Monday to port over the LLP camera, it's unlocked. Users can now interact with the MapboxMap in NavigationView without the camera being dismissed right away.

Maintaining tracking while adjusting zoom:

ezgif com-video-to-gif

Dismissal still fires with more aggressive interaction:

ezgif com-video-to-gif 1

@danesfeder danesfeder self-assigned this Oct 3, 2018
@danesfeder danesfeder added ✓ ready for review feature New feature request. backwards incompatible Requires a SEMVER major version change. labels Oct 3, 2018
Copy link
Contributor

@Guardiola31337 Guardiola31337 left a comment

Choose a reason for hiding this comment

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

This is an awesome addition!

Other than 👇 minor comment, this look good to me 🚀 Thanks @danesfeder 🙇


import com.mapbox.mapboxsdk.plugins.locationlayer.OnCameraTrackingChangedListener;

public class NavigationOnCameraTrackingChangedListener implements OnCameraTrackingChangedListener {
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add javadoc for this new class.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👀 the constructor is not public so wasn't sure - added regardless

Copy link
Contributor

Choose a reason for hiding this comment

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

@danesfeder
Ohh didn't 👀 In that case, I guess the public modifier is not needed, right?

Copy link

@LukasPaczos LukasPaczos left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for running with that @danesfeder!

@danesfeder danesfeder force-pushed the dan-tracking-listener branch from 72bbbe4 to ad26642 Compare October 3, 2018 17:49
@danesfeder danesfeder merged commit c7ae8e9 into master Oct 3, 2018
@danesfeder danesfeder deleted the dan-tracking-listener branch October 3, 2018 21:10
@danesfeder danesfeder mentioned this pull request Oct 5, 2018
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backwards incompatible Requires a SEMVER major version change. feature New feature request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants