mapbox-android-patterns

Integrate Mapbox Maps SDK v11 in Android with Kotlin and Jetpack Compose.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Ylopo/Shana-Gates --skill mapbox-android-patterns-ylopo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mapbox-android-patterns
Source: https://github.com/Ylopo/Shana-Gates/tree/main/.agents/skills/mapbox-android-patterns
Command: npx skills add https://github.com/Ylopo/Shana-Gates --skill mapbox-android-patterns-ylopo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers integrate the Mapbox Maps SDK on Android, enabling the creation of maps with markers, user location tracking, and custom data layers.

Core Features & Use Cases

  • Map Initialization: Supports both Jetpack Compose and View system for initializing maps.
  • Point Annotations: Add markers and annotations to the map.
  • User Location: Display and track user location with the map camera.
  • Custom Data: Incorporate GeoJSON for custom data layers.
  • Styles: Offers various built-in styles and allows custom style URLs.
  • Use Case: A developer can use this Skill to add a map to an Android app, with user location tracking and markers for different locations.

Quick Start

Use the mapbox-android-patterns skill to initialize a map with user location tracking and add a marker at the current location.

Frequently Asked Questions about mapbox-android-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Mapbox Maps SDK v11 into an Android app using Jetpack Compose?

To integrate Mapbox Maps SDK v11 with Jetpack Compose, you use the mapbox-android-patterns Skill to initialize maps directly within your composable functions. It supports map creation, markers, and user location tracking in a Compose-friendly workflow.

Can I add custom GeoJSON data layers to a Mapbox map on Android?

Yes, you can add custom GeoJSON data layers to your Mapbox map. The Skill provides patterns for incorporating GeoJSON data, enabling you to render custom shapes and boundaries directly on the Android map interface.

What is the best way to display and track user location with Mapbox on Android?

Displaying and tracking user location with Mapbox is handled by utilizing the SDK's built-in location tracking components. The Skill demonstrates how to enable location tracking and automatically move the map camera to follow the user's current position.

Does the Mapbox Android SDK support both View system and Jetpack Compose for map initialization?

Yes, the Mapbox Android SDK supports both the traditional View system and Jetpack Compose for map initialization. The Skill provides integration patterns for both UI toolkits, allowing you to implement maps regardless of your app's current architecture.

How do I add point annotations and markers to a Mapbox map in Kotlin?

Adding point annotations and markers to a Mapbox map in Kotlin involves using the SDK's annotation manager. The Skill outlines the process to place markers at specific coordinates, allowing you to highlight distinct locations on your custom map.

Can I apply custom map styles using the Mapbox Maps SDK on Android?

Applying custom map styles with the Mapbox Maps SDK on Android is fully supported. The Skill enables you to use various built-in map styles or apply your own custom style URLs to match your app's branding and design requirements.