-
Notifications
You must be signed in to change notification settings - Fork 110
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
243-fix-crash-when-no-location-permission #244
243-fix-crash-when-no-location-permission #244
Conversation
@@ -28,7 +28,7 @@ class MaplibreMap extends StatefulWidget { | |||
this.trackCameraPosition = false, | |||
this.myLocationEnabled = false, | |||
this.myLocationTrackingMode = MyLocationTrackingMode.None, | |||
this.myLocationRenderMode = MyLocationRenderMode.COMPASS, | |||
this.myLocationRenderMode = MyLocationRenderMode.NORMAL, |
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.
I think this is a good approach, but we should note this in the release notes, since it's a breaking change.
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.
PR for changelog docs: #247
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.
Thanks for writing the changelog for me :)
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.
Should I adjust the documentation to highlight that you only need location permission if you use specific properties?
@@ -55,7 +55,13 @@ class MaplibreMap extends StatefulWidget { | |||
], | |||
this.useDelayedDisposal, | |||
this.useHybridCompositionOverride, | |||
}) : assert(annotationOrder.length <= 4), | |||
}) : assert( |
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.
Good idea!
@m0nac0 |
I can check it out but i dont have any rights so can't do a lot. m0nac0 is sometimes inactive but he will come back, i recommend to create a fork with the modification you need for temporary purposes |
@m0nac0 Can you check so we can merge this sometime? |
…243-fix-crash-when-no-location-permission # Conflicts: # example/ios/Podfile.lock # example/lib/main.dart # example/lib/page.dart
Sorry you had to wait with this PR... LGTM, could you update the base branch? Then it should be merged automatically. |
depends on #244 --------- Co-authored-by: Julian Bissekkou <[email protected]>
This fixes maplibre#243. --------- Co-authored-by: Julian Bissekkou <[email protected]>
depends on maplibre#244 --------- Co-authored-by: Julian Bissekkou <[email protected]>
This fixes #243.