-
Notifications
You must be signed in to change notification settings - Fork 540
Closed
Description
mapController.removeSource throws an error; quick fix seems to be to just not return anything?
══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
The following TypeErrorImpl was thrown while handling a gesture:
Expected a value of type 'Future<void>', but got one of type 'JavaScriptObject'
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49 throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 84:3 castError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 452:10 cast
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/classes.dart 635:14 as_C
packages/mapbox_gl_web/src/mapbox_map_controller.dart 371:5 removeSource
packages/mapbox_gl/src/controller.dart 923:30 removeSource
Metadata
Metadata
Assignees
Labels
No labels