AnmolSaini16/mapcn
关于
美观的地图组件。完全免费,无需配置,一条命令即可完成设置。
开发工具可以做什么
- Theme-aware — Automatically adapts to light/dark mode
- Zero config — Works out of the box with sensible defaults
- shadcn/ui compatible — Uses the same patterns and styling conventions
- MapLibre GL powered — Full access to MapLibre's powerful mapping capabilities
实测星标增长
- 24小时
- -1
- 7天
- +1
- 15天
- +14
- 1个月
- +56
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文mapcn
Free & open-source, ready-to-use, customizable map components for React.
Zero config. One command setup. Built on MapLibre GL, styled with Tailwind, works seamlessly with shadcn/ui.
Get Started · Installation · Components
Features
- Theme-aware — Automatically adapts to light/dark mode
- Zero config — Works out of the box with sensible defaults
- shadcn/ui compatible — Uses the same patterns and styling conventions
- MapLibre GL powered — Full access to MapLibre's powerful mapping capabilities
- Composable — Build complex map UIs with simple, declarative components
- Markers & Popups — Rich marker system with popups, tooltips, and labels
- Routes — Draw routes and paths on your maps
- Controls — Zoom, compass, locate, and fullscreen controls
Agent Skill
Teach your coding agent (Claude Code, Cursor, Codex, …) how to use mapcn:
npx skills add AnmolSaini16/mapcn
Then ask for a map, or ask where one would fit in your app. See mapcn.dev/docs/skill.
Sponsors
mapcn is free and open source, supported by sponsors. Become a sponsor.
|
50% off with code MAP50 until December 5, 2026
|
Basemap Terms of Service
mapcn uses CARTO Basemaps powered by OpenStreetMap data for its default styles and examples.
CARTO offers free tiers for commercial and non-commercial usage, subject to monthly tile request limits and attribution requirements.
- Commercial use: Free up to 1 million tile requests per month.
- Non-commercial use: Free up to 5 million tile requests per month.
- Attribution: CARTO and OpenStreetMap attribution must remain visible.
- API keys: CARTO requires API keys for raster basemaps and may extend this requirement to vector basemaps.
For production applications, review CARTO's terms and configure your own basemap provider or API key as needed.
mapcn is built on MapLibre and supports alternative MapLibre-compatible basemap providers.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
MIT License - see the LICENSE file for details.
探索相关项目
加载中…