Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mapbox-flutter-patterns

Skill by mapbox

Provides official integration patterns for the Mapbox Maps SDK for Flutter. It covers setup, map initialization, camera control, annotations, user location and GeoJSON loading for Flutter developers building iOS and Android apps.

  • Score 73
  • 88 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mapbox-flutter-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mapbox/mapbox-agent-skills /tmp/mapbox-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/mapbox-agent-skills/skills/mapbox-flutter-patterns ~/.claude/skills/mapbox-flutter-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mapbox-flutter-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant official integration patterns for the Mapbox Maps SDK for Flutter (mapbox_maps_flutter) on iOS and Android with Dart. It covers adding the dependency, setting the iOS deployment target to 14.0 and Android minSdk to 21, passing the access token with --dart-define, and initializing a MapWidget. It also covers camera control, point annotations with tap handling, the user location puck, and loading GeoJSON from app assets.

The source says the patterns are based on official Mapbox documentation and points to reference files for circle, polyline and polygon annotations and deeper platform setup. It notes that web and desktop are not supported. It is aimed at Flutter developers who want to add Mapbox maps to a mobile app and need help with setup or with iOS build failures after installation.

Written from the project's SKILL.md and checked against it.

What it can do

  • Installation and platform setupCovers the pubspec dependency, iOS 14.0 deployment target, and Android location permissions.
  • Access token configurationPasses the token with --dart-define and sets it with MapboxOptions.setAccessToken before runApp.
  • Map initializationShows a MapWidget with camera and style options and how to capture the MapboxMap controller.
  • Camera controlShows an instant setCamera jump and an animated flyTo with duration, bearing and pitch.
  • Point annotationsCreates a point annotation manager and adds markers with a custom image from assets.
  • Tap handlingUses manager.tapEvents with a Cancelable that is cancelled in dispose.
  • User locationEnables the location puck with bearing through location.updateSettings.
  • GeoJSON loadingLoads GeoJSON features from assets as annotations, or suggests a style layer for large sets.
  • TroubleshootingCovers iOS deployment target errors, a missing access token, tap handlers and hot reload issues.

What you need

  • Flutter SDK 3.22.3 or later with Dart 3.4.4 or later
  • iOS deployment target 14.0 or higher
  • Android minSdk 21 or higher
  • Free Mapbox account
  • Mapbox access token

Try asking

  • Set up mapbox_maps_flutter in my Flutter app with the token passed via dart-define
  • Add tappable point annotations with a custom marker image to my Mapbox map
  • Show the user location puck and fly the camera to a new location

Good to know

  • Web and desktop are not supported. The SDK targets iOS and Android only.
  • Hot reload does not re-read Android manifests or iOS Info.plist, so a full restart is needed after permission changes.
  • The source recommends a style layer instead of annotations for thousands of features.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/mapbox-flutter-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mapbox-flutter-patterns

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

mapbox-flutter-patterns: common questions

Does this work on web or desktop Flutter?

No. The source says the Flutter SDK targets iOS and Android only.

Why does my iOS build fail after adding Mapbox?

The source says the Flutter SDK requires iOS 14.0, and the Flutter default deployment target is lower. Set the Runner target's minimum deployment to 14.0, and update the Podfile platform line if one exists.

Why does my map show a blank grid?

The source says this happens when MapboxOptions.setAccessToken is not called before a MapWidget is created.

How do I install mapbox-flutter-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mapbox-flutter-patterns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mapbox-flutter-patterns safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mapbox-flutter-patterns?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

mapbox-flutter-patterns Install

Add to stack

Loading.