mapbox-maps-flutter
mapbox-maps-flutter copied to clipboard
Map box is not integrated!
i am trying to implement mapbox in flutter app. I have followed all the steps but i am unable to load mapbox in my app it gives the following error.
`[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, Using MapView, MapSurface, Snapshotter or other Map components requires providing a valid access token when inflating or creating the map. Provide the token by either:
- Creating a mapbox_access_token string resource.
- Or programmatically calling
MapboxOptions.accessToken = <your_access_token>. The access token parameter is required when using a Mapbox service. Please see https://www.mapbox.com/help/create-api-access-token/ to learn how to create one. More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens., null, com.mapbox.maps.MapboxConfigurationException: Using MapView, MapSurface, Snapshotter or other Map components requires providing a valid access token when inflating or creating the map. Provide the token by either: - Creating a mapbox_access_token string resource.
- Or programmatically calling
MapboxOptions.accessToken = <your_access_token>. The access token parameter is required when using a Mapbox service. Please see https://www.mapbox.com/help/create-api-access-token/ to learn how to create one. More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens.`
Happy New Year @Usamait13! Could you provide how did you set the access token to our Maps service, did you follow the steps here but still it does not work?