question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

User Tracking Mode

See original GitHub issue

Is it possible to “follow” the user location, auto rotating the map? For example, if I am walking towards the south, I would like the map “following me”, auto-rotating from N to S.

Something like this setting (from the React Mapbox plugin):

userTrackingMode  ->Whether the map is zoomed to and follows the user's location. One of:
Mapbox.userTrackingMode.none, 
Mapbox.userTrackingMode.follow, 
Mapbox.userTrackingMode.followWithCourse, 
Mapbox.userTrackingMode.followWithHeading

I have tried checking the plugin code to see how difficult is to implement this. It does not seem a big deal but, unfortunately, as I never coded natively for iOS or Android, I have no idea what to do there 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
d3mac123commented, Jul 2, 2018

You’re, honestly, an amazing professional. Thank you very much for making Nativescript easier.

Alex On Jul 2, 2018, 11:11 AM -0400, Eddy Verbruggen notifications@github.com, wrote:

Closed #144https://github.com/EddyVerbruggen/nativescript-mapbox/issues/144.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/EddyVerbruggen/nativescript-mapbox/issues/144#event-1711882927, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAN_HFXrzFEfNB6B8ZRBkqYOHokeG_f0ks5uCjgdgaJpZM4OaEQh.

0reactions
EddyVerbruggencommented, Jul 2, 2018

I’m about to release 4.1.0 which will get a new trackUser function to enable this feature. Docs and demo have been updated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

userTrackingMode | Apple Developer Documentation
userTrackingMode. The mode to use for tracking the user's location. iOS 5.0+ iPadOS 5.0+ macOS 11.0+ Mac Catalyst 13.1+ tvOS 9.2+ ...
Read more >
Switch between user tracking modes | Maps SDK v6 | iOS
Toggle between user tracking modes using a custom UIButton.
Read more >
Tracking mode with MapKit - ios
I would to follow the user location on the map (automatically moves the map if user location changes) If the user tap (or...
Read more >
Tracking mode
Settings of data transmission and operating modes of devices are set in the “Tracking mode”
Read more >
Tracking modes in User Experience Analytics
Basic tracking mode enables you to obtain usage metrics, even if users have not opted in for advanced tracking. This mode tracks and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found