mapbox-store-locator-patterns
Skill by mapbox
Mapbox store locator patterns is a skill for building store locators, restaurant finders and location search apps with Mapbox GL JS. It covers marker display, filtering, distance calculation and interactive lists.
Install mapbox-store-locator-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-store-locator-patterns ~/.claude/skills/mapbox-store-locator-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install mapbox-store-locator-patterns in Claude Code
git clone --depth 1 https://github.com/mapbox/mapbox-agent-skills /tmp/mapbox-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mapbox-agent-skills/skills/mapbox-store-locator-patterns ~/.gemini/antigravity-cli/skills/mapbox-store-locator-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mapbox-store-locator-patterns in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant patterns for building location-based search pages with Mapbox GL JS v3.x. It covers showing many locations on a map, filtering and searching them, and calculating distances from the user's location. It also covers interactive lists that stay in sync with map markers, popups and side panels, and optional directions to a selected location.
The skill uses GeoJSON location data with properties such as id, name, address, phone and category. It recommends HTML markers for fewer than 100 locations, a symbol layer for 100 to 1,000 locations, and clustering above 1,000. Turf.js is suggested for distance calculations. Reference files cover search and filter, geolocation and directions, styling, performance and accessibility, and React variations. The skill is aimed at developers building store locators or restaurant finders.
Written from the project's SKILL.md and checked against it.
What it can do
- Marker displayShows many locations on a map using HTML markers, a symbol layer or clustering, depending on count.
- Interactive location listBuilds a side panel of locations that highlights and scrolls to the selected marker.
- Popups and detailsShows location name, address, phone and website in a popup when a location is selected.
- Distance calculationCalculates distances from the user's location using Turf.js.
- Filtering and searchCovers text search and category filters, described in a reference file.
- Geolocation and directionsUses the built-in GeolocateControl for the user's location and adds route directions to a selected location.
What you need
- Mapbox access token
- Mapbox GL JS v3.x
- npm to install mapbox-gl and @turf/turf
Try asking
- Build a store locator map with a list of stores and click-to-popup details
- Add a category filter and text search to my restaurant finder map
- Calculate the distance from my location to each store and sort the list
Good to know
- HTML markers become slow in the browser beyond about 100 locations.
- Mapbox GL JS v3.x is listed as a required dependency.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/mapbox-store-locator-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mapbox-store-locator-patterns
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
mapbox-store-locator-patterns: common questions
Which marker approach should I use for many locations?
The skill suggests HTML markers for fewer than 100 locations, a symbol layer for 100 to 1,000 locations, and clustering for more than 1,000. Symbol layers draw points on the GPU through WebGL.
What libraries does this skill use?
It uses Mapbox GL JS v3.x for the map and @turf/turf for spatial calculations such as distance.
Does it support React?
A reference file named variations-react.md covers mobile-first, fullscreen, map-only and React implementations.
How do I install mapbox-store-locator-patterns?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mapbox-store-locator-patterns free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mapbox-store-locator-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-store-locator-patterns?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
