
Mapbox Store Locator Patterns
mapbox/mapbox-agent-skillsOfficial
Store locator patterns for Mapbox GL JS covering markers, filtering, distance, and synced lists.
- skills.sh installs
- 1.8K
- GitHub stars
- 87
- last updated
- Aug 21, 2026
What it does
- Covers marker display, search and category filtering, distance calculation from the user, and interactive lists synced with the map
- Includes GeoJSON location data structure, a marker strategy by count (HTML markers, symbol layers, clustering), and flyTo and popup behavior
- Uses
@turf/turffor spatial calculations and the built-inmapboxgl.GeolocateControlfor the user's location indicator - Designed for store locators, restaurant finders, and office directories with optional directions integration
Install
$ npx -y skills add mapbox/mapbox-agent-skills --skill mapbox-store-locator-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Store Locator Patterns Skill
Comprehensive patterns for building store locators, restaurant finders, and location-based search applications with Mapbox GL JS. Covers marker display, filtering, distance calculation, interactive lists, and directions integration.
When to Use This Skill
Use this skill when building applications that:
- Display multiple locations on a map (stores, restaurants, offices, etc.)
- Allow users to filter or search locations
- Calculate distances from user location
- Provide interactive lists synced with map markers
- Show location details in popups or side panels
- Integrate directions to selected locations
Dependencies
Required:
- Mapbox GL JS v3.x
- @turf/turf - For spatial calculations (distance, area, etc.)
Installation:
npm install mapbox-gl @turf/turf
Core Architecture
Pattern Overview
A typical store locator consists of:
Details
- Repository
- github.com/mapbox/mapbox-agent-skills
- Categories
- Frontend & UI Code, Browser Automation & Scraping
- First seen
- May 16, 2026
More from mapbox/mapbox-agent-skills
All 18- Mapbox Mcp Devkit Patterns1.6K
- Mapbox Ios Patterns1.5K
- Mapbox Android Patterns1.5K
- Mapbox Google Maps Migration1.5K
- Mapbox Mcp Runtime Patterns1.5K
- Mapbox Maplibre Migration1.4K
- Mapbox Location Grounding1.3K
- Mapbox Web Integration Patterns2.7K
- Mapbox Web Performance Patterns2.6K
- Mapbox Style Patterns2.5K
- Mapbox Geospatial Operations2.3K
- Mapbox Cartography2.2K
- Mapbox Data Visualization Patterns2.2K
- Mapbox Style Quality2.1K
- Mapbox Token Security2K
- Mapbox Search Integration2K
- Mapbox Search Patterns1.9K
Similar to Mapbox Store Locator Patterns
More Frontend & UI Code
mapbox-search-patternsSkillmapbox/mapbox-agent-skills1.9K installsSearch and geocoding guidance that picks the right Mapbox tool and spatial filters for each query.
mapbox-google-maps-migrationSkillmapbox/mapbox-agent-skills1.5K installsMigration guide mapping Google Maps Platform APIs and patterns onto Mapbox GL JS equivalents.
Mcp ServerMCP servermapbox373 starsGeocoding, POI search, routing, and map rendering through Mapbox APIs, requiring a Mapbox access token.
mapboxPluginanthropics/claude-plugins-official47.9K starsMapbox skills and MCP servers for building location-aware applications with AI. Includes geospatial tools, style management, and patterns for web, iOS, Android,
maplibre-mapbox-migrationSkillmaplibre/maplibre-agent-skills513 installsMigrating an existing Mapbox GL JS map to MapLibre: swap packages, drop the access token, and pick a new tile source.
amazon-location-serviceSkillawslabs/agent-plugins948 starsAmazon Location Service integration guide covering maps, geocoding, routing, places, geofencing, and tracking for AWS apps.