Skip to content
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

Unexpected null value #9

Open
lukas-h opened this issue Sep 6, 2022 · 0 comments
Open

Unexpected null value #9

lukas-h opened this issue Sep 6, 2022 · 0 comments

Comments

@lukas-h
Copy link
Member

lukas-h commented Sep 6, 2022

errors.dart:251 Uncaught (in promise) Error: Unexpected null value.
    at Object.throw_ [as throw] (errors.dart:251:49)
    at Object.nullCheck (operations.dart:528:63)
    at mapbox_widget_layer.dart:175:52
    at _RootZone.runUnary (zone.dart:1685:54)
    at _FutureListener.then.handleValue (future_impl.dart:147:18)
    at handleValueCallback (future_impl.dart:766:44)
    at _Future._propagateToListeners (future_impl.dart:795:13)
    at [_completeWithValue] (future_impl.dart:566:5)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:639:7)
    at Object._microtaskLoop (schedule_microtask.dart:40:11)
    at _startMicrotaskLoop (schedule_microtask.dart:49:5)
    at async_patch.dart:166:15
_mapController.toScreenLocationBatch(coordinates).then((points) {
      var cameraPos = _mapController.cameraPosition!; // <--- !!! HERE !!!
      _markerStates.asMap().forEach((i, value) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant