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

Error on creating Smybol (IOS) - Unhandled Exception: MissingPluginException #158

Closed
Taankly opened this issue Dec 21, 2019 · 4 comments
Closed

Comments

@Taankly
Copy link

Taankly commented Dec 21, 2019

Hey,

i just want to add a symbol to my map. Like this:

void onMapCreated(MapboxMapController controller) {
mapController = controller;
mapController.addListener(_onMapChanged);
mapController.addSymbol(
SymbolOptions(
geometry: LatLng(48.377079, 10.893418),
iconImage: "airport-15",
),
);
_extractMapInfo();
setState(() {});
}

But i don't see any symbol and just get this error:

[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method symbol#add on channel plugins.flutter.io/mapbox_maps_0)
#0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)

#1 MapboxMapController.addSymbol (package:mapbox_gl/src/controller.dart:207:44)
#2 _Mapbox3TabState.onMapCreated (package:OutNAbout/map_tab_mapbox_3.dart:117:19)
#3 _MapboxMapState.onPlatformViewCreated (package:mapbox_gl/src/mapbox_map.dart:178:14)

#4 _UiKitViewState._createNewUiKitView (package:flutter/src/widgets/platform_view.dart:633:14)

#5 _UiKitViewState._initializeOnce (package:flutter/src/widgets/platform_view.dart:571:5)
#6 _UiKitViewState.didChangeDependencies (package:flutter/src/widgets/platform_view.dart:581:5)
#7 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4376:12)
#8 ComponentElement<…>

I use flutter_mapbox version 0.0.4.
I really don't know what to do with this error message. Maybe someone can help me? Thanks!

@tobrun
Copy link
Collaborator

tobrun commented Dec 21, 2019

Because iOS plugin doenst' support adding symbols atm
That is being added with 0.0.5, which I'm looking to release today.

@tobrun tobrun closed this as completed Dec 21, 2019
@Taankly
Copy link
Author

Taankly commented Dec 21, 2019

ah okei thanks! I just saw it will be supported and thought it alreasy been included un 0.0.4. Thanks for response. Looking forward to 0.0.5

@tobrun
Copy link
Collaborator

tobrun commented Dec 23, 2019

had some issues with publishing last weekend, will try doing that sometime this week

@Taankly
Copy link
Author

Taankly commented Jan 10, 2020

Any Update on v0.0.5?

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

2 participants