We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On iOS I got exception:
type 'Null' is not a subtype of type 'Map<dynamic, dynamic>'
when call controller.requestMyLocationLatLng():
controller.requestMyLocationLatLng()
#0 MethodChannelMaplibreGl.requestMyLocationLatLng (package:maplibre_gl_platform_interface/src/method_channel_maplibre_gl.dart:342:35) <asynchronous suspension>
Future<void> onMapCreated(MaplibreMapController controller) async { try { final granted = await context.read<MapCubit>().requestLocationPermission(); if (granted) { final latLng = await controller.requestMyLocationLatLng(); _logger.trace(latLng); } } catch (e, st) { _logger.error(e, st); } }
On Android request freeze and no log output after it.
The text was updated successfully, but these errors were encountered:
Do you display the user's location on the map?
Sorry, something went wrong.
Seems like we should also modify
flutter-maplibre-gl/maplibre_gl_platform_interface/lib/src/method_channel_maplibre_gl.dart
Line 342 in acb428a
result != null && result is Map<dynamic, dynamic>
No branches or pull requests
On iOS I got exception:
when call
controller.requestMyLocationLatLng()
:On Android request freeze and no log output after it.
The text was updated successfully, but these errors were encountered: