---
name: "@amap"
slug: "amap"
description: "Beautiful map components with amap. 100% Free, Zero config, one command setup."
category: "Maps"
tags: ["maps"]
framework: "react"
license: "MIT"
author: "hustcc"
website: "https://map.ling.pub"
github: "https://github.com/hustcc/amapcn"
registry: "https://map.ling.pub/r/registry.json"
pro: false
pro_url: null
github_stars: 37
component_count: 1
generated_at: "2026-09-21T01:50:16.753Z"
---

# @amap

Beautiful map components with amap. 100% Free, Zero config, one command setup.

## Links

- Website: https://map.ling.pub
- GitHub: https://github.com/hustcc/amapcn
- Registry JSON: https://map.ling.pub/r/registry.json
- Directory page: https://sh4dcn.vercel.app/registry/amap
- This file: https://sh4dcn.vercel.app/md/amap.md

## Install

```sh
# add the whole registry (shadcn CLI)
npx shadcn@latest add https://map.ling.pub/r/registry.json
pnpm dlx shadcn@latest add https://map.ling.pub/r/registry.json
bunx shadcn@latest add https://map.ling.pub/r/registry.json
# clone the source repo
git clone https://github.com/hustcc/amapcn.git
# fetch the raw registry index
curl -s https://map.ling.pub/r/registry.json
```

## Components (1)

| name | type | description | install |
| --- | --- | --- | --- |
| amap | registry:ui | An AMap (高德地图)-powered map component with markers, popups, tooltips, routes, and controls. | `npx shadcn@latest add https://map.ling.pub/r/amap.json` |

## For AI agents

```text
You are adding components from @amap to a shadcn-compatible project.
1. Read this file (https://sh4dcn.vercel.app/md/amap.md) for the component list.
2. Fetch the machine-readable index: https://map.ling.pub/r/registry.json
3. Install a single component with its install command from the table above.
4. Full structured record: https://sh4dcn.vercel.app/json (library slug: amap).
```
