New advertisers: 50% off your first month with code FIRSTMONTHSee slots
mapbox avatar

Mapbox Android Patterns

Official Mapbox Maps SDK v11 patterns for Android covering setup, markers, location, and map interaction.

skills.sh installs
1.5K
GitHub stars
87
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers installation, Compose and View-system map initialization, markers, user location, GeoJSON data, styles, camera control, and feature taps
  • Includes setup steps for the access token resource, INTERNET permission, Maven repository, and com.mapbox.maps:android dependency
  • Provides code for point annotations, location puck settings, and reusing annotation managers with batched updates
  • Designed for Android developers adding Mapbox maps to Kotlin apps built with Jetpack Compose or the View system

Install

$ npx -y skills add mapbox/mapbox-agent-skills --skill mapbox-android-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Mapbox Android Integration Patterns

Official patterns for integrating Mapbox Maps SDK v11 on Android with Kotlin, Jetpack Compose, and View system.

Use this skill when:

  • Installing and configuring Mapbox Maps SDK for Android
  • Adding markers and annotations to maps
  • Showing user location and tracking with camera
  • Adding custom data (GeoJSON) to maps
  • Working with map styles, camera, or user interaction
  • Handling feature interactions and taps

Official Resources:


Installation & Setup

Requirements

  • Android SDK 21+
  • Kotlin or Java
  • Android Studio
  • Free Mapbox account

Step 1: Configure Access Token

Create app/res/values/mapbox_access_token.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
    <string name="mapbox_access_token" translatable="false"
        tools:ignore="UnusedResources">YOUR_MAPBOX_ACCESS_TOKEN</string>
</resources>

Details

Repository
github.com/mapbox/mapbox-agent-skills
Categories
Mobile Apps, Frontend & UI Code
First seen
May 16, 2026

More from mapbox/mapbox-agent-skills

All 18

Similar to Mapbox Android Patterns

More Mobile Apps