-
-
Notifications
You must be signed in to change notification settings - Fork 906
Use puckBearingEnabled prop in Android #3742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXNativeUserLocation.kt
Outdated
Show resolved
Hide resolved
6e60469
to
4c480c7
Compare
set(value) { | ||
field = value | ||
_apply() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is necessary for hot reloading to work on this property.
4c480c7
to
52ff3f4
Compare
@@ -124,29 +139,45 @@ class RNMBXNativeUserLocation(context: Context) : AbstractMapFeature(context), O | |||
|
|||
private fun _apply(mapView: MapView) { | |||
val location2 = mapView.location2; | |||
// Log a warning if both puckBearingEnabled and androidRenderMode are provided |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: those comments are not needed, the code is easy to understand
// Log a warning if both puckBearingEnabled and androidRenderMode are provided |
@RmStorm can you look into the CI failures, seems to be related to the changes |
@RmStorm Any update here? I’d love to use it in production. |
I'm unlikely to complete this PR since I'm no longer doing app development, someone else should pick up the torch here! |
Description
Fixes #3391
Checklist
CONTRIBUTING.md
yarn generate
in the root folder/example
app.yarn generate
throws with a completely unrelated error that I do not have time to debug.