0
votes

I am learning mapbox using the flutter plugin, but i got struck when i try to use this plugin. I don't know where i can get mapbox search api_key. I tried searching in the application website, but there isn't enough information. Where i can get the api_key.

MapBoxPlaceSearchWidget(
      popOnSelect: true,
      apiKey:
          "API KEY",
      limit: 10,
      onSelected: (place) {},
      context: context,
)

Thanks in advance

1
Google is your friend, search for mapbox api key and you'll find results like this: docs.mapbox.com/help/how-mapbox-works/access-tokens - Triby

1 Answers

1
votes

You require a Mapbox account and API access token.
You can use https://account.mapbox.com/access-tokens/
After create account , you can create access token

enter image description here

enter image description here